Changes

OSIPI (Plugin)

1,454 bytes added, 14:55, 3 November 2020
OsiPI plugin first draft
The OSIPI interface module enables support for reading data from [https://www.osisoft.com/pi-system/|OSIsoft PI systems].

== Features ==
* Supports multiple value types
** Int16
** Int32
** Float16
** Float32
** Float64
** Digital
** String

== Prerequesites ==
To be able to successfully set up the system, the Ubik server/development machine needs access to the OSIPI instance. This can be easily checked in the web browser by navigating to the provided URL. [https://techsupport.osisoft.com/Documentation/PI-Web-API/help.html|OSIsoft's PiWebAPI] is a REST API, from which the plugin reads data.

== Configuration in Ubik ==
Live value servers get added to instances of the '''OSIPI_SERVER''' metaclass, whereas the data points are objects of the '''OSIPI_DATAPOINT''' metaclass.

=== Authentication ===
The OSIPI plugin supports two types of authentication:
* Basic
* Current User

In the case of '''Basic authentication''', put the credentials in the respective fields <code>LOGINNAME</code> and <code>PASSWORD</code>.

If you leave the <code>LOGINNAME</code> field empty, the client tries to authenticate against the OSIPI server with <code>[https://docs.microsoft.com/en-us/dotnet/api/system.net.webclient.usedefaultcredentials| WebClient.UseDefaultCredentials]</code>. Should this be the authentication of your choice, be aware that the Ubik Studio/Enterprise Service/Web Service needs to be started as that user that has access to the PI system.
187
edits