UniInt End User



Download 1.93 Mb.
Page24/79
Date29.09.2022
Size1.93 Mb.
#59623
1   ...   20   21   22   23   24   25   26   27   ...   79
UniInt Interface User Manual
PI BASemAPI

PI SDK Connection String


The connection string that is used to connect to the PI SDK is of the form:
UID=username; PWD=password; PORT=port”
where username and password are obtained from the encrypted password file. Usually the default port from the PI SDK’s Known Servers table is used, but the default port number is overridden if a port number is specified with the /host command-line parameter.

Connection to PI Server Versions 3.2 and Greater


Starting with version 3.2 of the PI server PI trusts are used to verify a clients credentials. Starting with UniInt version 4.1.0, trusts are used explicitly for both the PI API and PI SDK connections if the server is greater than version 3.2.

“Known Servers” Table


In order for the PI SDK to be able to connect to a particular PI Server, the PI Server must be configured in the PI SDK’s “Known Servers” table. The “Known Servers” table can be edited using the \pipc\pisdk\AboutPI SDK.exe utility. Since the PI API uses the pilogin.ini file for its Server list, Server information must be configured in two different spots for PI API / PI SDK hybrid applications.

Interface Operation

Libraries


UniInt 3.1.6 and lower versions use the PI API instead of the PI SDK. The PI API is described in detail in the PI Application Programming Interface manual. The PI API library is distributed with the PI SDK. For installation instructions, refer to the PI API Installation Instructions manual.
Version 1.3.x of the PI API is required for UniInt 3.x.
UniInt version 3.2.0 and above use both the PI API and the PI SDK. However, the PI SDK libraries are used only if the developer specifically compiles UniInt to use the PI SDK or if the user configures the PI SDK with the /PISDK=1 command-line parameter. There is an exception to the /PISDK=1 parameter. If the interface developer does not inform UniInt at compile time that the PI SDK is required AND if the version of the PI API is 1.6 or higher AND if the PI Server is version 3.4.370 or higher, the /PISDK=1 switch is ignored because all of the functionality that was previously unavailable to the PI API is now available.

Download 1.93 Mb.

Share with your friends:
1   ...   20   21   22   23   24   25   26   27   ...   79




The database is protected by copyright ©ininet.org 2024
send message

    Main page