Is it possible to write to the OSISoft PI OPC DA Server from a third party application, like Labview for instance? If so, does it need any extra configuration?
Why not create PI Points on the Data archive which will then be used as your data points to write data to using Labview OPC client ?
1. PI Points can be created via PI SMT, or PI Builder in the PI Data Archive.
2. Labview OPC client can write values >>> via PI OPC DA Server >>> to PI Data Archive points created in step #1.
I’ve never used Labview but if labview can act as an OPC client to an OPC server than you should be able to write data. (This is a definition of the OPC standard and should be supported by any OPC server)
This link is to OSISoft website with a brief about PI OPC Server. Notice that it points out “...both writes and deletes..” so you should be able to write.
PI OPC DA Server - Overview
In terms of configuration, you’ll need to provide labview OPC client write access to the PI OPC server (just like you would for any other OPC server) and to allow data-write permissions to tags. I recommend to advise the OSISoft user guide for more info.
As indicated by Moshe, yes, it should work.
But, give it a try using Matrikon OPCexplorer or a similar tool. If you can write using that tool, you can write using PI!
Thx for your replies guys. Using the OSISoft PI OPC Client tool, I can browse our PI data archive, and I can write values to the new tags I configured. However, it does not seem like I can configure new tags just in the OPC server itself. My hope was that I could create the tags that I want from Labview in the OPC server and then use the PI OPC Interface to collect and write to the data archive. I can't seem to be able to do that though.
The alternative is to buy and install a Matrikon OPC Server, I was just hoping to avoid that.
Can you maybe explain what is the problem you are trying to address in more details ?
What is the data source in your case ? LabVIEW ? PLC ? other ?
You would like to create data points on the OPC Server level (and Not on the data archive level) to avoid creating PI Tags ? So you are not looking to calculate some values in LabVIEW and write them to a PI Point to save the history and later retrieve it for subsequent analysis\trending etc... ?
This was my initial thought when I read your original post description but looks like I missed the "point"
Yes, basically I would like to add data points on the OPC Server level, and then pick up those points with an OPC interface.
So data flow would be Labview application --> OPC DA Server --> OPC Interface --> PI Data archive
This works actually, thanks for the suggestion. We were able to write data via the PI OPC DA Server and directly to the PI Data archive points. There is one drawback though. Buffering does not work when we do this. Or is there any way we can make PI Buffss pick up the data, other than via an OPC interface?
This thread on PI Square might help >>> PI OPC Server using buffering
+ Also >>> PI Server
Genious, that worked. You solved everything for me. Thanks a lot.
I got a follow-up question. It seems when you are writing directly to the PI tag via the OPC Server/PI Buffering, compression is by-passed. Is there any way to enable compression on this?
Retrieving data ...