Bailey Infi90 Interface to the pi system


[APIBUFFER]section, the [PISERVER]



Download 0.78 Mb.
View original pdf
Page45/49
Date28.09.2022
Size0.78 Mb.
#59618
1   ...   41   42   43   44   45   46   47   48   49
PI Interface to the Baily System
[APIBUFFER]
section, the
[PISERVER]
section maybe used to define the default PI server and an optional time offset change that may occur between the client and server.
Keywords
Values
Default
Description
DSTMISMATCH
0 –
2,000,000 The time that the server and client local time offset is allowed to jump. Typically, 3600 if the nodes are in time zones whose DST rules differ
(seconds)
Example piclient.ini File
On Windows, the default server information is stored in the
pilogin.ini
file so the
piclient.ini
would only have the
[APIBUFFER]
section. The
BUFFERING=1
indicates that buffering is on. The
MAXFILESIZE
entry in Kbytes of 100000 allows up to
100 Megabytes of data storage. Do not use commas or other separators in the numeric


Buffering
62
entries. The retry rate is set to 600 seconds, meaning Wait 10 minutes after losing a connection before retrying”.
On Windows ab piclient.inibfile might look like:
[APIBUFFER]
BUFFERING=1
MAXFILESIZE=100000
; The PI API connection routines have a 1 minute default timeout.
RETRYRATE=600


Bailey Infi90 Interface to the PI System

63
Appendix A Error and Informational Messages
The string
CIU #ID>
is pre-pended to error and informational messages written to the message log. The value of the
–CIU#
parameter on the startup command line determines the
ID
identifier.
Message Logs
The name of the message log is
pipc.log
. It is located in the dat subdirectory where the PI API is installed. For example,

Download 0.78 Mb.

Share with your friends:
1   ...   41   42   43   44   45   46   47   48   49




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

    Main page