Listbox
Excel PI Datalink - how to leave no data as blank instead of interpolated value
Thank you in advance.
Difference between AF model templates and AF element templates
Hi
I am new to PI System and I trying to figure out the difference between the model template and the element template. As far as I can see you can build a model of the assets by nesting the elements in a hierachy.
How does the attributes "layers and connections" make the model them apart, or, in other words, how can I benefit from that. I have read the HELP files and som suggested documents, but I still can't really comprehend the usefullness of it? When should I use the Model and when should I use the Element templates?
Any input would be greatly appreciated.
Regards
Lars Christoffersen
Is it possible to scan les than 1 sec or on events only
HI
Is it possible to define a scanclass less than 1 sec? We have OPC-tags, which potentially can send "string" event at a very high frequnecy. How would I be able to get hold of them all?
Lars
YTD Tag Avg
I am trying to use performance equations to get the TagAvg Year to Date
I understand the equation should look like
tagavg('tag','*','1/1/2014')
My question is how do i dynamically calculated the 1/1/2014 so i always get the right year?
Filtered Expression not behaving as expected
Hi guys/gals,
Part of my job is to map our LIMS data to a PI tag after the tag has been created, this should be the extent of my interaction with PI. Recently an engineer sent me an email stating that LIMS was sending over duplicate results so I looked at all the results sent to our PIMS server and didnt see any duplicates. I then checked his excel document and yes data was being duplicated everywhere, see example below.
11-Jan-14 07:52:03 No Data 10-Jan-14 08:34:17 No Data 06-Jan-14 06:00:00 0.552299976 06-Jan-14 06:00:00 0.552299976 06-Jan-14 06:00:00 0.552299976 25-Nov-13 06:00:00 0.561200023 14-Nov-13 11:04:00 0.563600004 14-Nov-13 11:04:00 0.563600004 14-Nov-13 11:04:00 0.563600004 14-Nov-13 11:04:00 0.563600004
Now being the person that I am this bothered me, so here I am.
My question is how can I stop receiving duplicate results? I've tried some basic filter expressions and found some interesting results. I dont understand why using <> isnt filtering duplicates.
PrevVal('PI_Tag', '*' ) <> 'PI_TAG'
11-Jan-14 07:52:03 No Data 10-Jan-14 09:54:44 No Data 06-Jan-14 06:00:00 0.552299976 06-Jan-14 06:00:00 0.552299976 06-Jan-14 06:00:00 0.552299976 25-Nov-13 06:00:00 0.561200023 14-Nov-13 11:04:00 0.563600004 14-Nov-13 11:04:00 0.563600004 14-Nov-13 11:04:00 0.563600004 14-Nov-13 11:04:00 0.563600004
PrevVal('PI_Tag', '*' ) = 'PI_TAG'
11-Jan-14 07:52:03 Filtered
PrevVal('PI_Tag', '*' ) > 'PI_TAG'
11-Jan-14 07:52:03 Filtered 10-Jan-14 09:55:40 Filtered 06-Jan-14 06:00:00 0.552299976 06-Jan-14 06:00:00 0.552299976 06-Jan-14 06:00:00 0.552299976 25-Nov-13 06:00:00 0.561200023 14-Nov-13 11:04:00 Filtered 04-Nov-13 06:00:00 0.563300014 21-Oct-13 06:00:00 Filtered 14-Oct-13 06:00:00 0.556599975
PrevVal('PI_Tag', '*' ) < 'PI_TAG'
11-Jan-14 07:52:03 Filtered 1/6/14 6:00 25-Nov-13 06:00:00 Filtered 1/6/14 6:00 14-Nov-13 11:04:00 0.563600004 1/6/14 6:00 14-Nov-13 11:04:00 0.563600004 12/30/13 6:00 14-Nov-13 11:04:00 0.563600004 12/30/13 6:00 14-Nov-13 11:04:00 0.563600004 12/23/13 6:00 04-Nov-13 06:00:00 Filtered 12/23/13 6:00 28-Oct-13 06:00:00 0.569199979 12/2/13 6:00 21-Oct-13 06:00:00 0.565599978 11/25/13 6:00 14-Oct-13 06:00:00 Filtered 11/18/13 6:00
How to handle WRITE Function in Pi with STRING "Point Type"
Can anybody tell how to handle WRITE functionality using STRING Point Type in OSI Pi?
We are expecting that when there is change in source Tag (STRING Point Type) ; instrument Tag ((STRING Point Type) should get value from source Tag.
Is it mandatory to pass SOURCE TAG while handling write function? OR can we leave source TAG empty. At present using SDK we are trying to write using Point Name (Source TAG Empty). But STRING is not working, intermittently it is causing Interface service to fail.
For additional information write functionality is working fine for integer type (Both Source and Instrument TAG) but same functionality is not working with STRING tag.
Invalid float on totaliser
Hi All,
A couple of my totalisers (well they are 8 hour averages really) are reading "Invalid float" even though the source tag has a good value. How do I fix this? Looked on OSI tech support and can't find anything relating specifically to this. If I stop and start the totaliser subsystem will this fix the issue, and will this affect other totalisers (I have some other 8 hour averages used for gas composition monitoring and I don't want these to reset)?
Thanks,
Col
No more values error
Hi,
Im tryin to figure this thing out.
I have got a tag that has the following values
Date - String
Date - String
Date - String
Date - String
Date - String
Date - String2
Date - String2
Date - String2
Date - String
Date - String
Date - String
Date - String1
Date - String1
Date - String1
I only want to have the chance in string. I try using the Filterexpression PrevVal('tagname', '*') <> 'tagname'
This gives me 'no more values' inside the cells.
Datalink 2013, Calculated Data Time Interval and Filter Expression
I am using datalink 2013. I have calculated data with a filter expression but leaving the time interval blank.
When I apply it, it seems to work fine. However, if I go back and click on it again...it puts the text from the "Filter Expression" box INTO the "Time Interval" box..which is supposed to be blank (I only want a summary for the whole time period). If I then hit apply, it gives me an error that the time interval is not correct (which is true since it is a reference to a cell that has my filter expression in it).
Not sure if this is making sense and I am not on the computer right now that I can do a screen shot.
Anyone seen this before?
Thanks.
Pi Manual Logger 2014
Good morning !!!
investigating the use of PI Manual Logger 2014 and I have the following questions with the web based versions:
1- Can we use the camera on a mobile device to capture image at a specific data point?
2- Can I use a barcode or RFID to open a specific data point within a tour ?
Thanks a bunch,
Sebastien
help for calculating air enthalpy or exhaust gas enthalpy
I need to calculate air enthalpy and gas enthalpy (exhaust gas can be GT exhaust or boiler exit in rankine cycle). I would like to code as performance equation in PI system.
Thanx.
pi datalink expression for avg value..
dear all,
I want to calculate avg value of any tag, if it's value is above 100 for 10 min in specific time interval. how can i do?
Pi Calculation for Bar Graph in VBA
I am trying to set up a bar graph through VBA that uses a Pi Calculation as the Tag. I have already set up the Pi Calculation in the datasets window. It is just a simple percentage calculation based off a tag. I have set up bar graphs in VBA with normal Pi Tags with no problem. I have also set up Value objects with a Pi Calculation with no problem.
When I try to set the bar graph up, I get "The value format is incompatible with the specified tags."
OUTLETTEMP is the name of the Pi Calculation.
Sub OutputBarM() Dim OutputBar As Bar Set OutputBar = ThisDisplay.Symbols.Add(pbSymbolBar) With OutputBar .Name = "OutputBar" .SetTagName ("OUTLETTEMP.Value") .BackgroundColor = -1 .FillColor = 65280 .Orientation = 1 .Height = 539 .Left = -14797 .Lower = 0 .LineColor = 0 .ShowScales = False .Start = 0 .Top = 14000 .Upper = 100 .Width = 101 End With End Sub
PI Calculation Data Set Average
I'm using the PI Calculation Data Set to calculate the average of a tag in intervals of one hour. Is PI calculating the average of all the data changes of the tag in one hour or is it just calculating the the two numbers relating to the tag at the beginning of the hour and at the end of the hour?
How to change a Topic Prefix from Not_Answered to Answered
I think the topic title says it all, but here i go again . How do i, or anyone else for that matter, change the topic prefix. I ask this question because i started a couple of topic now and i want to let everyone know this question is resolved.
PI Datalink Total Volume between max and min
Hi ,
My problem exits in calculated data
In Excel i want the total m³ a tank was decreased.
Between two timestamps .
Problem is that the volume fluctuates.
Someone ideas?
Thanks
erwin
Launch PI ProcessBook Entries Externally
Is anyone familiar with ways to launch/open PI ProcessBook file and open an entry within it from a vbs file and/or hyperlink?
After searching online and googling, I have found some help in launching it from excel but otherwise get errors.
Thanks
how to embed pi processbook svg file in html or asp?
dear all,
I want to embed pi processbook svg file in asp. is my data will refresh in html or asp?please provide code how to embed pi processbook svg file in html or asp? thanks
Compressed data in Processbook - tabular form
I would like to display compressed data in Processbook in tabular form, much like in an Excel spreadsheet. More specifically, display the values for a list of tags over the past 12 hours. I would rather not use an embedded Excel object.