A license is required to develop and distribute PI-SDK based applications. A variety of licensing options are available depending on your purchase agreement. Please contact your sales representative for licensing requirements for applications you develop. The following sections describe the software requirements needed to build and execute PI-SDK programs.
The PI-SDK runs under Windows XP and later on Intel x86 (32-bit) and Intel x64 (64-bit) operating systems. Windows 64-bit WOW is supported for running 32 bit applications on 64 bit Windows operating systems With the release of 1.3.8 the PI-SDK can be used to develop 64 bit (x64) applications. Older Windows releases are supported with PI-SDK 1.3.3 and earlier versions (Windows NT and Windows 98). The PI-SDK can run on a machine which already has a PI Server installed or on a client machine (PINS node).
A licensed copy of the PI-SDK must be installed on any machine that calls the PI-SDK library either directly or indirectly through the PI-SDK Control and Dialogs. Communication with servers generally uses TCP/IP so this protocol must also be available on each node. The system also needs the Microsoft Winsock 2 sockets library. This library comes preinstalled on all the currently supported Windows versions.
PI-SDK programs communicate with recent versions of PI servers. PI-UDS (PI3, Windows NT, UNIX) servers, version 3.2.357 (PI 3.2 SR1) or later, are supported. Earlier versions are not supported. Support for the PI Module and Batch Database functionality is provided with PI-UDS servers starting with release version 3.3.361.43. Support for annotations on PI events is provided with PI-UDS servers starting with release version 3.3.362.47. Support for automatic failover with high availability systems (PI Collectives) is provided starting with server version 3.4.375.38 and PI-SDK 18.104.22.1683.
Accessing PI2 (Open VMS) servers with the current PI-SDK is no longer supported. Accessing PI2 servers, version 2.1.2 or later, is supported in version 1.3.3 of the PI-SDK. Version 2.1.1 servers are supported only if the "PI 2.1.2 PIServer Patch" is installed. Accessing earlier PI2 server versions is not supported.
In addition to the requirements above, the system must have a programming environment that supports calling COM objects. The most common is Visual Basic (including Visual Basic for Applications and VB.NET). Example code in the reference documentation uses Visual Basic syntax. Tutorials and on-line examples are available for other programming languages.
PI-SDK objects can also be used with the Windows Scripting Host languages such as JScript and VBScript, as well as other languages such as C++, C#, Java, and Delphi. Programmers using Microsoft Visual C++, version 5.0 or higher can make good use of this compiler's native COM support.
Most useful PI-SDK programs communicate with one or more PI Servers. Having a development PI System that can be modified, stopped and started as needed is very helpful during program development.
Once a program is written and tested, the PI-SDK must be installed on the system where the application will make the PI-SDK calls. In most cases this is the local system where the application is run. In some cases where the application views data prepared on another platform, such as ASP pages in Internet Information Server, the PI-SDK may only need to be installed on the server platform.