Quantcast
Channel: OSIsoft Users Community
Viewing all 1120 articles
Browse latest View live

Set the multi-state for digital tags

$
0
0

Hi everybody, 

 

I am trying to use multi-state for my digital tags, which are 0 and 1. But on the field values i can not specify an interval like from 0 to 0,5   = state 0 and higher than 0,5 = state 1. I can not input a decimal number. So how could i set 2 colors for my 2 states 0 and 1 ?

 

 

Thanks in advance! :)


PI license transfer

$
0
0

Hi all, How can we transfer the PI license from one server to another ?

PI MDB to AF preparation wizard problems

$
0
0

Hi all,

 

Need some urgent help. I'm trying to upgrade my PI server to 2012 but I'm stuck at the PI MDB to AF preparation wizard stage.

 

I've installed SQL Express 2005 (I couldn't do 2008 as the windows installer was at the wrong revision), and installed PI-AF.

 

When I run the PI MDB to AF preparation wizard it asks for the AF server; I have selected my current PI server as it's the only one I have. When it tries to connect I get an error message saying that it can't connect to the SQL database. What am I doing wrong!?!?

 

I would normally try tech support but I thought this might be something simple to fix.

PI Notification Trigger based on Batch event

$
0
0

Hello:

 

I'm trying to figure out how to calculate the average of a tag at the end of each of our production runs.  We use PIBatch to generate our batches.  We collect the process tag (Pressure) throughout the batch.  At the end of the batch, I'd like to e-mail this value (average), via PI Notifications.  Thoughts?

 

Using AF2012, and PI Notifications 2012, and PIBaGen.

 

Thank you!

PI-AF; what manual do I need to look at ?!?

$
0
0

Hi all,

 

I've just upgraded to PI2012 and I want to know more about PI AF, especially event frames and how to set them up. However, I'm not sure what manual I should download from the OSI website. Can anyone point me in the right direction?

 

Thanks

Is it possible to import ABB HMI screens into processbook ?

$
0
0

Hi,

 

We are trying to mimic around 60 ABB HMI screens in Pi Processbook.

Is there a quick way to import the graphics from the ABB system onto Processbook to get a headstart rather than developing everything from scratch ?

Has anyone come across this in the past ?

 

Thanks for your help and comments.

 

Cheers,

 

Ash

Filtering by time of day - Pi Datalink

$
0
0

I would like to filter data depending on time of day, and if possible time of week.  My application is to determine the maximum energy used for say:

Between 1.00 pm and 8.00 pm on weekdays.  I am only interested in a certain time of the year, but quite happy to put start and end dates in the excel spreadsheet, just rather not do it for every day.

Error in PI notifications/PI system explorer

$
0
0

I'm playing about with PI Notifications, but every time I "check in" anything I get the Error "cannot access a disposed object. Object name "ANTreeview". Am I missing an addin or something???

 


Tag carrying two timestamps/date from LIMS

$
0
0

Hi,

 

We have PI system collecting data from a laboratory system management system (lab sample analysis data). Lab sample carries 2 dates/times: sampling time and last update time. We want to be able to capture both dates in PI System because other applications accessing PI would like to have both dates information on lab sample tags.

 

Any suggestion/advice what to do?

 

Thanks a lot

 

regards.

 

Jeff

point creationdate

$
0
0

Is it possible to change point creationdate after point was created?

Interface with LIMS database

$
0
0

I am copying the contents from hey1163's post on another thread since it would be better handled separately from the issue in that thread.

 

Hello Guys,

 

I was wondering if someone could help me urgently, I have a PI system which I would like to be interfaced with LIMS database. Then there is a web page where all the graphical drawings are stored which takes in readings from PI system. I would like to interface the PI system to LIMS and which would be displayed on the web portal.

Please could anyone guide me on step by step basis to achieve this.

 

hey1163

Alternate way to identify Installation ID

$
0
0

Hello Fellow PI Geeks:

 

I am working through a troublesome issue with the PI MDB to Preparation Wizard with the greater objective of upgrading a server to PI Server 2012 SP1 (3.4.390.16 x64). In order to fix it we need to identify the server's Installation ID. I have determined one can look this up easily in PI SMT by going to [Operation]->[Licensing] and then under the <<General>> element you look for <<Installation ID>>. This is all well and good if you have recent versions of the server. A user will customarily see a long number here to match the Server # where a PI System Administrator can generate a corresponding .msf file at techsupport.osisoft.com. In this particular case I am seeing an Installation ID of "PI-ENT-SRV-2K-BA_SQC" so we are unable to connect the dots so to speak. There is no corresponding Server # on techsupport.osisoft.com matching this "old school" installation id.

 

Question: Is there an alternate method to look up the numeric installation id for this server? perhaps a piconfig command or something "old school"?

Daily report of value greater than X for X minutes

$
0
0

Hi Guys,

Well this is my first question here...

I need to create a daily report (with DataLink) of one variable, grouped based on low limit, ignoring conditions based on time range.

My report must to be like this table:

 ---------------------------------------------------------
| Start		      | End                 | Status      |
|---------------------|---------------------|-------------|
| 15/02/2013 00:00:00 | 15/02/2013 02:05:48 | value >= 30 |
| 15/02/2013 02:05:48 | 15/02/2013 04:48:14 | value < 30  |
| 15/02/2013 04:48:14 | 15/02/2013 06:30:02 | value >= 30 |
| 15/02/2013 06:30:02 | 15/02/2013 08:05:43 | value < 30  |
| 15/02/2013 08:05:43 | 15/02/2013 12:25:08 | value >= 30 |
| 15/02/2013 12:25:08 | 15/02/2013 14:18:37 | value < 30  |
| 15/02/2013 14:18:37 | 15/02/2013 21:35:15 | value >= 30 |
| 15/02/2013 21:35:15 | 16/02/2013 00:00:00 | value < 30  |
 ---------------------------------------------------------

Remember when i have a values lower than 30 in the interval less than 5 minutes i must ignore and consider all period > 30.

To do this,
I made a auxiliar sheet with the following structure (minute by minute).

 --------------------------------------------------------------------------------------
|1 |COL A               | PITimeFilterVal                                              |
|--|--------------------|--------------------------------------------------------------|
|2 |14/02/2013 59:59:00 |                                                              |
|3 |15/02/2013 00:00:00 | PITimeFilterVal("'TAG' < 30",$A2,$A$3,"hours", 0,"X") = 0    |
|4 |15/02/2013 00:01:00 | PITimeFilterVal("'TAG' < 30",$A3,$A$4,"hours", 0,"X") = 0    |
|5 |15/02/2013 00:02:00 | PITimeFilterVal("'TAG' < 30",$A4,$A$5,"hours", 0,"X") = 0    |
|6 |15/02/2013 00:03:00 | PITimeFilterVal("'TAG' < 30",$A5,$A$6,"hours", 0,"X") = 0.15 |
|7 |15/02/2013 00:04:00 | PITimeFilterVal("'TAG' < 30",$A6,$A$7,"hours", 0,"X") = 1    |
|8 |15/02/2013 00:05:00 | PITimeFilterVal("'TAG' < 30",$A7,$A$8,"hours", 0,"X") = 1    |
|9 |15/02/2013 00:06:00 | PITimeFilterVal("'TAG' < 30",$A8,$A$9,"hours", 0,"X") = 0.13 |
 --------------------------------------------------------------------------------------

So, with VBA I run throught this sheet and build a report like first table.

Anyone has a better idea to do it? Or a natuaral way with PI tools?

Thanks a lot.

Save holidays in PI Server and get percent of days worked in month

$
0
0

Hey folks,

Another doubt.

I need to make a KPI sheet based on working days of the month. (DataLink)

 

I have a defined plan of the year which describes the days where i´m not work, and i have to use only work days in my KPI.

The first idea is use a sheet in excel to store how many days of month have to be descarted. And apply this factor to my KPI using VBA.

 

But i´m trying figure out a way to store this plan of holidays day by day (With a Boolean Tag) in PI server and thus get the number of worked days of current day with Calculaded Tag. [Something like Current-Month-Worked-Days/Current-Month-Days]

It seems a good idea? Anyone have a suggestion?

Thanks!

PI AF (Notifications) and SSIS

$
0
0

Can AF Notificationsor EF be used to execute a dstx file (SSIS package). I need to execute an ftp .bat file when an event occurs and currently this is done by a 3rd party application, and needless to say we need to do this via PI. To give more background: when the plant reaches a warning state on the MVA people must be warned via sms or text message (this is the purpose of the ftp .bat file), and when it reaches critical more people will be texted. Now in South Africa we don't have the luxury of having mobile operators that is being used like in the states so having a delivery channel will not work, so our current solution is to send a transformed ascii file to a ftp address, and it works well.

 

I was hoping that AF or EF would be able to trigger a SSIS package, this way I can use the power or PI and the flexibility of an SSIS package.

 

Any thoughts on current or future developments would be appreciated.


Missed totalizer outputs

$
0
0

Hi everybody,

 

I have a DCS integrator tag. This tag accumulates the energy generated by a solar plant. I need to create a tag that calculates the energy generated each hour. For that purpose I've defined a Totalizer tag with this configuration:

Totalizer Point Attributes for: in_tot
Descriptor: IN Totalizer

archiving = 1
calcmode = EVENTWEIGHTED
compdev = 2
compmax = 28800
compmin = 0
compressing = 0
compvalue = 
conversion = 1
datasecurity = piadmin: A(r,w) | piadmins: A(r,w)
descriptor = IN Totalizer
engunits = MWh
eventexpr = 
excdev = 0
excmax = 0
excmin = 0
filterexpr = 'OP_MODE_filtered' = 0 and 'test_mode' = 0
function = TOTAL
movingcount = 1
offset = +0H
offset2 = +0M
options = INFROMTOTALIZER UNDERISZERO ONEATEND 
pctgood = 85
period = +1H /c
period2 = +2M
ptsecurity = piadmin: A(r,w) | piadmins: A(r,w)
ratesamplemode = NATURAL
reportmode = PERIODEND
scan = 1
shutdown = 0
sourcetag = in
span = 999,9
step = 1
tag = in_tot
totalclosemode = CLOCK
typicalvalue = 0
zero = 0
zerobias = 0

It seems to work fine. It processes correctly the source tag resets. But I noticed that it has missed some outputs and I don't know why. I have studied the source tags values at the hours of the missed outputs, and I saw that in these cases the next samples after the hour were "Bad Input". Here an example (09:00 sample missed):

 

Source Tag Values:

<TimedValue Time="2013-10-30T07:45:41.8969984Z">859.599975585938</TimedValue>
<TimedValue Time="2013-10-30T07:46:43.2230016Z">859.799987792969</TimedValue>
<TimedValue Time="2013-10-30T07:47:44.3780096Z">860</TimedValue>
<TimedValue Time="2013-10-30T07:48:50.7740032Z">860.099975585938</TimedValue>
<TimedValue Time="2013-10-30T07:49:26.7960064Z">860.200012207031</TimedValue>
<TimedValue Time="2013-10-30T07:49:42.147008Z">860.299987792969</TimedValue>
<TimedValue Time="2013-10-30T07:50:43.5360128Z">860.400024414063</TimedValue>
<TimedValue Time="2013-10-30T07:51:49.8390016Z">860.599975585938</TimedValue>
<TimedValue Time="2013-10-30T07:52:51.1650048Z">860.799987792969</TimedValue>
<TimedValue Time="2013-10-30T07:53:47.3590144Z">860.900024414063</TimedValue>
<TimedValue Time="2013-10-30T07:54:48.9200128Z">861.099975585938</TimedValue>
<TimedValue Time="2013-10-30T07:55:19.5440128Z">861.200012207031</TimedValue>
<TimedValue Time="2013-10-30T07:56:46.4550016Z">861.400024414063</TimedValue>
<TimedValue Time="2013-10-30T07:57:42.5709952Z">861.599975585938</TimedValue>
<TimedValue Time="2013-10-30T07:58:43.8660096Z">861.700012207031</TimedValue>
<TimedValue Time="2013-10-30T07:59:50.3410048Z">861.900024414063</TimedValue>
<TimedValue Time="2013-10-30T08:00:41.8230144Z">862</TimedValue>
<TimedValue Time="2013-10-30T08:01:17.3930112Z">862.099975585938</TimedValue>
<TimedValue Time="2013-10-30T08:01:47.8760064Z">862.200012207031</TimedValue>
<TimedValue Time="2013-10-30T08:02:49.2649984Z">862.400024414063</TimedValue>
<TimedValue Time="2013-10-30T08:03:45.5060096Z">862.5</TimedValue>
<TimedValue Time="2013-10-30T08:04:47.2220032Z">862.700012207031</TimedValue>
<TimedValue Time="2013-10-30T08:05:43.3220096Z">862.799987792969</TimedValue>
<TimedValue Time="2013-10-30T08:06:44.5240064Z">863</TimedValue>
<TimedValue Time="2013-10-30T08:07:15.1170048Z">863.099975585938</TimedValue>
<TimedValue Time="2013-10-30T08:07:50.8420096Z">863.200012207031</TimedValue>
<TimedValue Time="2013-10-30T08:08:42.2150144Z">863.299987792969</TimedValue>
<TimedValue Time="2013-10-30T08:09:48.6899968Z">863.5</TimedValue>
<TimedValue Time="2013-10-30T08:10:50.0630016Z">863.700012207031</TimedValue>
<TimedValue Time="2013-10-30T08:11:41.5140096Z">863.799987792969</TimedValue>
<TimedValue Time="2013-10-30T08:12:48.16Z">864</TimedValue>
<TimedValue Time="2013-10-30T08:13:49.3930112Z">864.099975585938</TimedValue>
<TimedValue Time="2013-10-30T08:14:45.5559936Z">864.299987792969</TimedValue>
<TimedValue Time="2013-10-30T08:15:47.1780096Z">864.5</TimedValue>
<TimedValue Time="2013-10-30T08:16:43.3720064Z">864.599975585938</TimedValue>
<TimedValue Time="2013-10-30T08:17:49.6440064Z">864.799987792969</TimedValue>
<TimedValue Time="2013-10-30T08:18:50.7830016Z">864.900024414063</TimedValue>
<TimedValue Time="2013-10-30T08:19:01.0640128Z">865</TimedValue>
<TimedValue Time="2013-10-30T08:19:47.2109952Z">865.099975585938</TimedValue>
<TimedValue Time="2013-10-30T08:20:43.3270144Z">865.299987792969</TimedValue>
<TimedValue Time="2013-10-30T08:21:49.8480128Z">865.400024414063</TimedValue>
<TimedValue Time="2013-10-30T08:22:46.3689984Z">865.599975585938</TimedValue>
<TimedValue Time="2013-10-30T08:23:42.454016Z">865.700012207031</TimedValue>
<TimedValue Time="2013-10-30T08:24:48.9130112Z">865.900024414063</TimedValue>
<TimedValue Time="2013-10-30T08:25:50.286016Z">866.099975585938</TimedValue>
<TimedValue Time="2013-10-30T08:26:46.5730176Z">866.200012207031</TimedValue>
<TimedValue Time="2013-10-30T08:27:47.9460096Z">866.400024414063</TimedValue>
<TimedValue Time="2013-10-30T08:28:49.0080128Z">866.5</TimedValue>
<TimedValue Time="2013-10-30T08:29:50.5680128Z">866.700012207031</TimedValue>
<TimedValue Time="2013-10-30T08:30:41.8630016Z">866.900024414063</TimedValue>
<TimedValue Time="2013-10-30T08:31:48.1500032Z">867</TimedValue>
<TimedValue Time="2013-10-30T08:32:49.3210112Z">867.200012207031</TimedValue>
<TimedValue Time="2013-10-30T08:33:50.6310144Z">867.299987792969</TimedValue>
<TimedValue Time="2013-10-30T08:34:47.0279936Z">867.5</TimedValue>
<TimedValue Time="2013-10-30T08:35:48.2610048Z">867.599975585938</TimedValue>
<TimedValue Time="2013-10-30T08:36:44.3920128Z">867.700012207031</TimedValue>
<TimedValue Time="2013-10-30T08:37:40.555008Z">867.799987792969</TimedValue>
<TimedValue Time="2013-10-30T08:38:47.3260032Z">868</TimedValue>
<TimedValue Time="2013-10-30T08:39:43.5040128Z">868.099975585938</TimedValue>
<TimedValue Time="2013-10-30T08:40:49.6509952Z">868.200012207031</TimedValue>
<TimedValue Time="2013-10-30T08:41:50.883008Z">868.299987792969</TimedValue>
<TimedValue Time="2013-10-30T08:42:47.2640128Z">868.400024414063</TimedValue>
<TimedValue Time="2013-10-30T08:43:48.6690048Z">868.5</TimedValue>
<TimedValue Time="2013-10-30T08:44:44.7219968Z">868.599975585938</TimedValue>
<TimedValue Time="2013-10-30T08:45:46.5160064Z">868.700012207031</TimedValue>
<TimedValue Time="2013-10-30T08:46:42.7720064Z">868.799987792969</TimedValue>
<TimedValue Time="2013-10-30T08:47:44.1140096Z">868.900024414063</TimedValue>
<TimedValue Time="2013-10-30T08:49:46.7520128Z">869</TimedValue>
<TimedValue Time="2013-10-30T08:50:47.9690112Z">869.099975585938</TimedValue>
<TimedValue Time="2013-10-30T08:52:44.912Z">869.200012207031</TimedValue>
<TimedValue Time="2013-10-30T08:53:46.5190144Z">869.299987792969</TimedValue>
<TimedValue Time="2013-10-30T08:55:43.7890048Z">869.400024414063</TimedValue>
<TimedValue Time="2013-10-30T08:56:50.2329984Z">869.5</TimedValue>
<TimedValue Time="2013-10-30T08:58:48.0180096Z">869.599975585938</TimedValue>
<TimedValue Time="2013-10-30T08:59:49.2820096Z">869.700012207031</TimedValue>
<TimedValue Time="2013-10-30T09:00:09.6410112Z" Status="Bad Input"/>
<TimedValue Time="2013-10-30T09:00:14.7420032Z">869.700012207031</TimedValue>
<TimedValue Time="2013-10-30T09:01:47.4100096Z">869.799987792969</TimedValue>
<TimedValue Time="2013-10-30T09:03:50.2499968Z">869.900024414063</TimedValue>
<TimedValue Time="2013-10-30T09:04:46.8500096Z">870</TimedValue>
<TimedValue Time="2013-10-30T09:06:49.003008Z">870.099975585938</TimedValue>
<TimedValue Time="2013-10-30T09:07:50.3140096Z">870.200012207031</TimedValue>
<TimedValue Time="2013-10-30T09:09:48.1610112Z">870.299987792969</TimedValue>
<TimedValue Time="2013-10-30T09:10:49.5660032Z">870.400024414063</TimedValue>
<TimedValue Time="2013-10-30T09:12:47.398016Z">870.5</TimedValue>
<TimedValue Time="2013-10-30T09:13:48.771008Z">870.599975585938</TimedValue>
<TimedValue Time="2013-10-30T09:15:46.8680064Z">870.700012207031</TimedValue>
<TimedValue Time="2013-10-30T09:17:49.6300032Z">870.799987792969</TimedValue>
<TimedValue Time="2013-10-30T09:18:51.0499968Z">870.900024414063</TimedValue>
<TimedValue Time="2013-10-30T09:20:48.4300032Z">871</TimedValue>
<TimedValue Time="2013-10-30T09:21:49.5219968Z">871.099975585938</TimedValue>
<TimedValue Time="2013-10-30T09:23:47.339008Z">871.200012207031</TimedValue>
<TimedValue Time="2013-10-30T09:24:48.5090048Z">871.299987792969</TimedValue>
<TimedValue Time="2013-10-30T09:26:46.2320128Z">871.400024414063</TimedValue>
<TimedValue Time="2013-10-30T09:28:48.8220032Z">871.5</TimedValue>
<TimedValue Time="2013-10-30T09:29:49.883008Z">871.599975585938</TimedValue>
<TimedValue Time="2013-10-30T09:31:47.6220032Z">871.700012207031</TimedValue>
<TimedValue Time="2013-10-30T09:33:55.4070144Z">871.799987792969</TimedValue>
<TimedValue Time="2013-10-30T09:35:47.779008Z">871.900024414063</TimedValue>
<TimedValue Time="2013-10-30T09:37:50.2760064Z">872</TimedValue>
<TimedValue Time="2013-10-30T09:39:47.8579968Z">872.099975585938</TimedValue>
<TimedValue Time="2013-10-30T09:40:49.091008Z">872.200012207031</TimedValue>
<TimedValue Time="2013-10-30T09:42:46.6419968Z">872.299987792969</TimedValue>
<TimedValue Time="2013-10-30T09:44:49.1860096Z">872.400024414063</TimedValue>
<TimedValue Time="2013-10-30T09:46:47.1110016Z">872.5</TimedValue>
<TimedValue Time="2013-10-30T09:48:39.3740032Z">872.599975585938</TimedValue>
<TimedValue Time="2013-10-30T09:49:55.8490112Z">872.700012207031</TimedValue>
<TimedValue Time="2013-10-30T09:51:48.4390144Z">872.799987792969</TimedValue>
<TimedValue Time="2013-10-30T09:53:46.0989952Z">872.900024414063</TimedValue>
<TimedValue Time="2013-10-30T09:55:53.8070016Z">873</TimedValue>
<TimedValue Time="2013-10-30T09:57:51.6860032Z">873.099975585938</TimedValue>
<TimedValue Time="2013-10-30T09:59:49.019008Z">873.200012207031</TimedValue>
<TimedValue Time="2013-10-30T10:01:46.6950016Z">873.299987792969</TimedValue>
<TimedValue Time="2013-10-30T10:03:54.464Z">873.400024414063</TimedValue>
<TimedValue Time="2013-10-30T10:05:52.3740032Z">873.5</TimedValue>
<TimedValue Time="2013-10-30T10:07:49.7849984Z">873.599975585938</TimedValue>
<TimedValue Time="2013-10-30T10:08:50.9869952Z">873.700012207031</TimedValue>
<TimedValue Time="2013-10-30T10:10:49.1930112Z">873.799987792969</TimedValue>
<TimedValue Time="2013-10-30T10:12:52.2200064Z">873.900024414063</TimedValue>
<TimedValue Time="2013-10-30T10:14:49.8500096Z">874</TimedValue>

Totalizer Values:

<TimedValue Time="2013-10-30T08:00:00Z">9.60003662109375</TimedValue>
<TimedValue Time="2013-10-30T09:00:09.6410112Z" Status="Bad Input"/>
<TimedValue Time="2013-10-30T10:00:00Z">3.5</TimedValue>

Can anybody help me with this problem?

 

Thanks,
J.Burgers

VBA Processbook to get images from TBSymbol

$
0
0
Hi Community,
I would to know if it's possible to get the images from TBSymbol through VBA code.
 
Thanks in andvance  :)

RDBMS PI Interface - Filter output (PI-to-RDB) values

$
0
0

Hi guys,

 

I'm currently reading about the RDBMS PI interface as I'm evaluating it's use for our project.

 

I don't have the interface installed on our PI server so I can play with it, but I would like to know if anyone has seen any cases where the output results from PI (to be inserted in an RDB table) are filtered on the basis of a condition (any condition).

 

To make this clearer, here's an example:

 

If your RDB table "PI_DATA" is structured as per below:

  • Column 1 - TAGNAME | varchar
  • Column 2 - TIMESTAMP | float32
  • Column 3 - VALUE | float32

and your SQL statement in file "PI_OUT.SQL" is: INSERT INTO PI_DATA (TAGNAME, TIMESTAMP, VALUE) VALUES (?,?,?);

 

and you PI output tag "PItoRDB_Tag1" is setup with the following attributes:

  • SourceTag=tag1
  • ExDesc=P1=AT.TAG P2=TS P3=VL
  • IntrumentTag=PI_OUT.SQL

when the SQL statement is ran, it will output all the timestamps and values in the PI archives for tag1.

 

My question is, is there a way we can amend the SQL statement to say filter out any timestamps from a week ago, and only output timestamps from the past week, that will then be inserted in our table PI_DATA?

Eg. INSERT INTO PI_DATA (TAGNAME, TIMESTAMP, VALUE) VALUES (?,?,?) WHERE TIMESTAMP >= TODAY()-7; ?

 

I know the above WHERE clause in the SQL statement is invalid, thus my question :)

 

Thanks a lot guys!

 

Cheers,

Mario

PI Batchview and Event frames

$
0
0

Hi all,

 

Just going through the manuals on event frames and the PI event frames generator, and I was wondering; if I convert my current PI MDB batches to event frames, will Batchview still show me my batches in the 4 window layout (search window/gant chart window/results window/trend window), ?? I have a nasty feeling that batchview will only work with PI MDB and if I convert to event frames then I won't be able to see all my batches in Batchview.

 

I don't want to lose the best visualisation tool I have got fro comparing batches against each other!

 

Many Thanks

 

Caffreys_col

Performance Equation to disregard value

$
0
0

I am trying to create a PE that looks at a digital tag to see if it is on or off. If the digital tag is on, I want to ignore the value I am reading, if the flag is off I want the value to become the snapshot value.

 

So lets say tag A is the yes/no flag and tag B is my raw data.

If A = 0 (no) then A=B

If A = 1 (yes) then nothing is updated for A. I want it to appear as no data was read, or at the very least store the previous value for A which would flat line the data while A=1

 

Make sense? Any help available?

Viewing all 1120 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>