44
x
OneSix Server Data Logging
OneSix Server Help
OneSix Server Data Logging
Features
OneSix™ Server can log data to an ASCII file at a programmable interval. The
default name of the file is ONESIX.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, OneSix™ uses the last value gathered when online for logging. If the device
has never been online, then -999999.0 is logged. You can have OneSix™ 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 OneSix™ 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, OneSix™ can log errors that have occurred while waiting
and processing data from the sensors. This feature is enabled in the INI file
(
[Logging] LogErrors=
). OneSix™ places the errors in a file called ONESIX.ERR.
See the section "ONESIXOPC.INI: Logging” for more information.