VBA - Value.GetValue VRStatus Possible Codes
Hello everyone, I am working with a PB that reads a PI value from a value box from but on occasion I get some bad values across the inbound feed. I am using the Value.GetValue (variable, vrstatus),...
View Articlecreate tooltiptext for many objects
Hi everyone, I try to create tooltiptext for the rectangle object. It work for one object but I have a hundred rectangle objects on the display. I dont want to wirte the code below for...
View ArticleDoes TAGAVG return ENG units?
Hi all, i have a value object that uses TAGAVG. But if i use PI Calculation performance, i cant select select "show Units" option. So, is there a way to get de Units from a TAGAVG function?...
View ArticleArchiving Calculation Changes in PI
Hello, This question is best asked using an example. I currently have a tag that has a calculation hardwired into the code. for 1/1/2000 to 5/5/2013 we calculated the tag (I95-000-FR) to equal A *...
View ArticlePerformance Counter for Buffering
Hello, Is there is performance counter that will track when the interface starts buffering so that a notification can be sent regarding the buffering status??
View ArticleCan pi/historian query the XML data type in SQL Server
Newbie alert. I am designing a database to be implemented in MS SQL Server. I have the option of using the XML data type for certain data. I would want data stored in the XML data type to be...
View ArticleActivating processbook
Hi Its more of a VBA question realated to PI, How can I activate a display of already open processbook. Like in my case, from display of one processbook say abc I am invoking to open a display of...
View ArticleSyntax help, change to previous day
Hello, I could use a little help with changing the syntax of this query pull to the previous day. Right now, it shows the current production numbers and I need it to display the previous day's...
View Article[Syntax Help] Delta of a PI value over an hour in PI ProcessBook
Hey ya'll, I've searched around for an answer to this to no avail. I am attempted to display the delta of a PI tag over any given hour in PI ProcessBook and cannot figure out the syntax. I.E. PI...
View Articleregarding count expression in processbook
i wnat to count an event if my parameter goes above said value like 500unit and it will sustain for ten minute then this is recorded as 1 event. how can i use count expression in pi processbook for this?
View ArticleTotalizer Tag, ExcDev and CompDev
I am new to Totalizer tags. I have created a totalizer tag that is totaling flow on a daily basis. This works fine and does exactly what it's supposed to. However, since I have it ramping (which I...
View Articlesubstitute points in performance equation
Hello, The substitue points probleme always borther me when I creat my own PE (For example: SOME of my trigger points was mysterious removed on my perforance equation for the event based schedulling)...
View ArticleTotalizer Tag - Totalize a counter from a PLC
Background: PI - 2012, with AF (not relevant, but maybe if someone thinks I should use AF or Event Frames to solve the problem). PI is connected via OPC interface to an OPC server that is reading...
View ArticleHow to update processbook and values every one second?
hi How to update processbook display and processbook values in every one second? i want to do it through VBA.
View ArticleTurning off the "PI Server autostart after reboot" setting
Is there a way to turn off the autostart after reboot setting that I initially set during installation or is it simply a matter or changing all the PI Subsystems to "Manual"? I am replacing a PI...
View Articlehow to calculate consumption of water from cylindrical tank?
how to calculate consumption of water from cylindrical tank? if tanks level drop from 10 to 8m. in PI processbook, using VBA.
View ArticleProcessbook Display
1. Is there bring to front VBA code for a value object , I have 2 value objects overlapped on each other, with option 1, one value is visible, and with option 2 the other value is visible, but I also...
View ArticlePI Webparts - Graphic Display - To many points in dataset
I have a graphic i am publishing to PI Webparts. I am getting an error of too many points in the dataset, either modify the query or increase the limit. My question is how do i increase the limit? Is...
View ArticlePI OLEDB provider with SQL server on Linux
Hello , Has anyone tried using PI OLEDB provider with PI server 3.4.375.80 on Windows 2003 and SQL server on a LInux platform? We have a SQL server on Linux platform and we need to have a...
View Articlehow to calculate maximum, minimum , average and count of any valueusing VBA...
how to calculate maximum, minimum , average and count of any value using VBA in processbook?
View Article