Instead if using GEs standard solution for trending, we would like to show PI data in a trend on iFix v6 displays.
Is there an API or something that can be used to achieve this?
Kind regards, Karst
That is a challenging request. I am inclined to recommend you go the other way, which is to make the PI ProcessBook primary and attempt to embed an iFix display as an OLE object in that display. There are examples of achieving this with embedded spreadsheets such as this OSIsoft training video: OSIsoft: Manipulating an Excel spreadsheet embeded in ProcessBook.. v1.3 - YouTube .
I have not attempted such a thing with iFix displays, but I dug up this resource about Adding OLE Objects to iFix displays: Adding OLE Objects | iFIX Documentation | GE Digital .
Another option is to replicate the iFix display in a ProcessBook display and add the trends you want. Then don't use the iFix displays as primary resources, but treat them more as backups. But I am biased toward using everything OSIsoft.
Hi Karst ,
This is partial answer , and needs verification.
We can create ad hoc trends with pi vision Temporary (ad hoc) displays with particular data items
Using the documentation create temporary trends , and with the help of ActiveX plugin in ifix your can display the trend , Please note there may be issues with the security.
If you have processbook - i think with the help of PI Active view we can create trends and use them in ifix.
Please share if you have tried any of these methods
So a couple of years ago I was asked by my then employer to help solve a similar kind of requirement. The client was wanting to launch a PI Coresight (prior to being renamed) ad-hoc trend from their DCS screens, passing in a function block address to find the required PI tags and then open a browser window with the aforementioned ad-hoc trend from PI Coresight.
The approach that I took was to provide a PowerShell script that accepted a string parameter for the function block, and then made a PI Web API call to find the matching PI tags and then finally launch the browser window with a parameterised URL for Coresight. I don't the specific mechanics of how the guys set up the DCS screen to call the script, but overall the solution worked well and the client was very happy.
I would suggest a similar approach in this situation, rather than trying to muck around with OLE and ActiveX technology. I will admit that I don't know iFix well enough to suggest embedded alternatives as have been discussed earlier in this thread, but maybe popping up a browser window may do the trick.
If this is an option that might suit, I would be happy to post the basic PowerShell script we used to get there.
Retrieving data ...