Omega Engineering M-4066 Satellite Radio User Manual


 
OMWT-SOFT-OPC Server OMWT-SOFT-OPC Server Data Logging
N
47
OMWT-SOFT-OPC Server Data
Logging
Features
OMWT-SOFT-OPC Server can log data to an ASCII file at a programmable interval.
The default name of the file is OMWT-SOFT-OPC.LOG. The name can be changed
by changing the INI file. The log rate (programmable interval) can be changed in the
INI file ([Logging] LogRate=) or by a client application through OPC
(SERVER!LogRate). By default, all devices listed in the INI file are logged. You
can disable logging for each device ([Devicen] Log=). The number of decimal
places logged for each device can be changed as well ([Devicen]
LogDecimalPlaces=). When a device is offline, OMWT-SOFT-OPC uses the last
value gathered when online for logging. If the device has never been online, then -
999999.0 is logged. You can have OMWT-SOFT-OPC place a character such as '*'
or a string such as 'offline' in the logging string instead of the last value([Logging]
OfflineIndicator=). All these parameters can be changed in the INI file.
A client application can control logging through OPC variables. The client can
start/stop logging or just log a single record. You can have your client application
synchronize logging by keying off of one of the device's OPC variable changing
values and then have OMWT-SOFT-OPC log one record. The client can also control
the log rate. The full path name of the log file is also available to a client application
through OPC. See the section "OPC Server Items" for more information.
For diagnostic purposes, OMWT-SOFT-OPC can log errors that have occurred while
waiting and processing data from the sensors. This feature is enabled in the INI file
([Logging] LogErrors=). OMWT-SOFT-OPC places the errors in a file called
OMWT-SOFT-OPC.ERR. See the section "OMWT-SOFT-OPC.INI: Logging” for
more information.