UniInt End User


Error and Informational Messages



Download 1.93 Mb.
Page77/79
Date29.09.2022
Size1.93 Mb.
#59623
1   ...   71   72   73   74   75   76   77   78   79
UniInt Interface User Manual
PI BASemAPI

Error and Informational Messages


Error messages that are written to the message log are prepended by a string NameID. Name is a non-configurable identifier that is no longer than 9 characters. ID is a configurable identifier that is no longer than 9 characters and is specified using the /id parameter on the startup command-line.

Message Logs


The location of the message log depends upon the platform on which the interface is running.

Messages on Windows


Error and informational messages are written to the pipc.log file. The location of the pipc.log file is determined by the PIHOME entry in the pipc.ini file. The pipc.ini file should always be in the %windir% directory. For example, if the PIHOME entry is:
C:\Program Files\PIPC
then the pipc.log file will be located in the c:\Program Files\PIPC\dat directory.
For version 1.3 and greater of the PI API, a process called pilogsrv is installed to run automatically as a service. After the pipc.log file exceeds a user-defined maximum size, the pilogsrv process renames the pipc.log file to pipcxxxx.log, where xxxx ranges from 0000 to the maximum number of allowed log files. Both the maximum file size and the maximum number of allowed log files are configured in the pipc.ini file. Configuration of the pilogsrv process is discussed in detail in the PI‑API Installation Instructions manual.

Messages on UNIX


Error and informational messages are written to the $PIHOME/dat/pimesslogfile. Most UNIX-based interfaces also have an interface-specific log file to which messages are written. The name of the interface-specific log file is determined by the name of the log file to which the standard input is redirected as specified on the command-line of the interface. See “Command-Line Syntax for Foreground Processes” or “Command-Line Syntax for Background Processes” in the section called “Interface Installation and Administration on UNIX,” beginning on page 3.

Download 1.93 Mb.

Share with your friends:
1   ...   71   72   73   74   75   76   77   78   79




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

    Main page