Jump to: navigation, search

Changes


OSIPI (Plugin)

432 bytes added, 10:40, 4 November 2020
== Features ==
* Supports multiple value types
** Int16** Int32** Float16** Float32** Float64** Digital** String
== Prerequesites ==
Live value servers get added to instances of the '''OSIPI_SERVER''' metaclass, whereas the data points are objects of the '''OSIPI_DATAPOINT''' metaclass. <br/>
With that difference in mind, follow this guide: [[HowTo:Implementing_Live_Values]].
 
Not all data types of OSIPI are available to be configured in Ubik. The following table shows the matches:
{| class="wikitable"
|'''OSIPI Data Type'''
|'''Ubik Data Type'''
|-
|<code>Digital</code>
|<code>Integer</code> (0 or 1)
|-
|<code>String</code>
|<code>String</code>
|-
|<code>Int16</code>
|<code>Integer</code>
|-
|<code>Int32</code>
|<code>Integer</code>
|-
|<code>Float16</code>
|<code>Float</code>
|-
|<code>Float32</code>
|<code>Float</code>
|-
|<code>Float64</code>
|<code>Float</code>
|}
=== Authentication ===
* Current User
In the case of '''Basic authentication''', put the credentials in the respective fields <code>LOGINNAME</code> and <code>PASSWORD</code>. Be aware that domain backslashes might need to be doubled, thanks to their escaping nature: <code>MYDOMAINDOMAIN\\USER</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