Data logger

Samples values of one or more variables at regular time intervals or on command, and stores them in a database.
BrowseName
DataLogger
SuperType
Object(BaseObjectType)

Properties

Name
BrowseName
DataType
Description
Sampling mode
SamplingMode
None: automatic recording disabled, can record by invoking the Sample method; Periodic: records the values of all the selected variables at regular intervals; Value change: at regular intervals records only the values of the selected variables that have changed with respect to the previous sampling.
Sampling period
SamplingPeriod
Interval in hours, with millisecond precision, between one sampling and the next, in the Periodic mode.
Polling time
PollingPeriod
Interval in hours, with millisecond precision, between one sampling and the next, in the Value change mode.
Log operation code of each variable
LogVariableOperationCode
(Only for reading of variables from a controller) Enable/disable the storage of the operation code for the reading of the controller. If enabled, adds the relative column in the database for each variable.
Log timestamp of each variable
LogVariableTimestamp
Enable/disable the storage of the timestamp of each sample. If enabled, adds the relative column in the database for each variable.
Log local time
LogLocalTime
Enable/disable the recording of the local date and time (Local time property of the events or session), in addition to the date and time in UTC+0.
Default dead-band mode
DefaultDeadBandMode
(only for the Value change sampling mode) Method of calculating the change of values, with respect to the previous sampling, within which not to sample. Applies to all variables without specific dead-band mode. None: any change; Absolute: absolute change of the values of the variables; Percentage: percentage change of the values of the variables.
Default dead-band value
DefaultDeadBandValue
(only for the Value change sampling mode) Value of the dead-band interval. For example, if the value is 5, the logger samples the variables whose values have had an absolute or percentage change of at least ± 5 with respect to the previous sampling.
Store
Store
Database in which to store the sampled data.
Table name
TableName
Name of the database table in which to store the sampled data.
Variables to log
VariablesToLog
Collection of Variable objects to sample.

Methods

Log
BrowseName
Log
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.