Command line parameters
- Last UpdatedJan 22, 2025
- 2 minute read
The following table lists interface-specific command-line parameters used in the interface startup batch file to configure settings. These parameters are provided for debugging purposes, to help you read the file. To ensure a correctly-formatted file, use the PI Interface Configuration Utility to configure the interface. For details about parameters that are common to all UniInt interfaces, refer to the PI Universal Interface Framework.
|
Parameter |
Description |
|---|---|
|
/CheckOffline=seconds Optional Default: 120 |
Specifies in seconds how long the interface waits before trying to reconnect to an offline computer. The interval starts at the last time the interface lost the connection or tried to reestablish the connection. Minimum and default is 120 (2 minutes). To disable reconnection, specify -1. |
|
/LocalHighPriority Optional |
Use high priority to collect performance data from the local system. By default the interface treats local and remote computers the same way, using the number of threads specified by the /TC parameter (see below). Use this parameter if gathering performance data from the local system is time-critical and must not depend upon the number and status of monitored remote systems. |
|
/NoErrorLogging Optional |
Disable logging of error messages to the PIPC.log file and the PISDK log. |
|
/NoErrorStatus Optional |
Disable assignment of digital system error states to data points when the interface is unable to gather data for the corresponding performance counter. By default, the interface writes a descriptive digital state when errors occur. Disabling error status ensures that there are no gaps in the PI point’s data value history. |
|
/ReloadPerfData=seconds Optional Default: 0 |
Setting the integer value of this parameter specifies (in seconds) how often the interface unloads and reloads local and remote performance data providers, which supply data for performance counters. If /ReloadPerfData is set to the default value (0), the interface will unload and reload data providers every scan interval. If /ReloadPerfData is set to -1, the interface will not periodically unload and reload data providers. |
|
/tc=# Optional Default = 10 |
Used to specify the number of threads used by the interface. The number of threads range from 1 to 99. The default is 10 if the /tc parameter is not specified. |