Hi guys,
I want to make queries to the PI System in order to obtain values of some PI points
Is this possible? How?
Thanks in advance
Hi guys,
I want to make queries to the PI System in order to obtain values of some PI points
Is this possible? How?
Thanks in advance
Hello (Missing Content) ,
welcome!
Please refer to PI Server documentation -> Developer tools for a choice of recommended Developer Technologies. Because you raised your question at PI Square you may also be interested in PI for Developers as a sub space inside our user community.
A non-developer solution would be the PI DataLink add-in for Excel, assuming your company has a license for it.
For developer solutions, there are so many choices depending upon your skill set. You could use the PowerShell tools for PI, but it requires an older version of PowerShell. The AF SDK can be used with .NET Framework applications for Windows applications only. For Python, Java, or almost any language of your choice, there is the PI Web API, assuming you have a PI Web API server.
There are also SQL based options but again you need to have the SQL products available to your company.
Hello (Missing Content),
Could you please provide an example of your goal? thanks.
What we want to achieve is to use python to obtain values of specific pi points, to be able to process them, we are aware of the PI Web API but this module is not within our license so we are looking for a way to do it through queries.
Wow, this becomes an uphill battle.
For python, PI Web API is the officially supported PI developer technology.
You could use AF SDK, but that is not officially supported by AVEVA for python. Note that AF SDK uses .NET Framework, so you will be restricted to a Windows machine that resides on the same domain as the PI Servers. As it is not officially supported, Tech Support will not be able to provide help.
There are old PISquare posts regarding python, .NET Framework, and AF SDK. There are quirks with using it because there are significant differences between the general python language and a .NET Framework virtual machine.