Buffering Configuration Scenarios

The following describes a number of different buffering configuration scenarios.

32-bit interfaces and 32-bit buffering

If only 32-bit applications and 32-bit buffering are used then only the 32-bit piclient.ini file is used. The 64-bit piclient.ini file is not used in any way.

Note: For this configuration, OSIsoft recommends using PI Interface Configuration Utility (PI ICU) to configure buffering with either API Buffer Server or PI Buffer Subsystem. If you use PI ICU, there is no need to edit piclient.ini directly.

64-bit interfaces and 64-bit buffering

If only 64-bit applications and 64-bit buffering are used then only the 64-bit piclient.ini file is used. The 32-bit piclient.ini file is not used in any way.

Note: This configuration requires API Buffer Server (bufserv). PI Buffer Subsystem is not currently available in a 64-bit version.

32-bit interfaces and 64-bit buffering

The buffer sizes, buffer names, and buffer file path parameters must be the same in both the 32- and 64-bit piclient.ini files. If the 32-bit PI API is older than 1.6.2, then the buffer file path (FILEBUFPATH parameter) in the 64-bit piclient.ini must be set to point to the folder referenced by %PIHOME%\dat.

Note: This configuration requires API Buffer Server (bufserv), and the example shown below applies only to API Buffer Server. PI Buffer Subsystem is not currently available in a 64-bit version.

Example

The following example uses 512KByte shared memory buffers and buffer files are written to the D:\Program Files (x86)\PIPC\dat directory, which is the 32-bit PI API dat directory (PIHOME = D:\Program Files (x86)\PIPC). The 64-bit PI API is installed in the D:\Program Files\PIPC directory, but the buffer files are not written there. Buffering is enabled for a single PI Server named piserver1.

Settings in the 32-bit piclient.ini file (D:\Program Files (x86)\PIPC\dat\piclient.ini)

[APIBUFFER]

BUFFERING=1

BUF1SIZE=524288

BUF2SIZE=524288

FILEBUFPATH=D:\Program Files (x86)\PIPC\dat

[BUFFEREDSERVERLIST]

BUFSERV1=piserver1

Settings in the 64-bit piclient.ini file (D:\Program Files\PIPC\dat\piclient.ini)

[APIBUFFER]

BUFFERING=1

BUF1SIZE=524288

BUF2SIZE=524288

FILEBUFPATH=D:\Program Files (x86)\PIPC\dat

[BUFFEREDSERVERLIST]

BUFSERV1=piserver1

64-bit interfaces and 32-bit buffering

The description and example above for 32-bit interfaces and 64-bit buffering are also valid for this configuration, with the following exceptions:

Both 32-bit and 64-bit interfaces and 32-bit buffering

The description and example above for 32-bit interfaces and 64-bit buffering are also valid for this configuration, with the following exceptions:

Both 32-bit and 64-bit interfaces and 64-bit buffering

The description and example above for 32-bit interfaces and 64-bit buffering is also valid for this configuration.

Note: This configuration requires API Buffer Server (bufserv). PI Buffer Subsystem is not currently available in a 64-bit version.

Enabling Operational Intelligence