Data Logger Style Properties

The Style Properties of a Data Logger allow you to define the data recording modes.

Movicon allows data recording on event, on change, and on time, or with more than one mode at the same time. To modify the Data Logger's Style properties, simply select the object and use the Movicon 'Properties Window' that appears.

 

If the datalogger should exceed any set limits on the amount of data that can be recorded, for example when very rapid column variable changes occur, the data to be recorded may be lost if the ODBC Cache is exceeded ten times its size limit.  In these conditions, Movicon will flush data into a support file and issue an error message in the log.

 

Quality Good Only

This property allows you to enable the data recording only when all the variables associated to the Data Logger columns have Good 'Quality' properties. When this setting is left set to False, data will be recorded independently from the variables' quality.

 

Record On Change

This property allows you to enable data recording on the variable's status change. Recording on status change will not influence the recording on command or on time, as all these modes can co-exist.

Movicon will record upon every value change of the variables (columns) associated to the Data Logger object and add them to those performed on command or on time if set to do so.

 

Recording will only be performed each time any one of the variables changes when the following conditions are true:

 

 

If the Data Logger's "Recording Variable" has been entered, the followings points must be considered when recording on change:

 

 

 

If the "Notify Timestamp Changes" property has been enabled in the RealTimeDB's  "In Use Variable Manager" property group, the DataLogger will also insert a new record only when the variable's TimeStamp changes but not its value.

 

Enable Dead Band

This allows you to use a dead band to record on Change.  In this case, the recording will only be performed when the variable change exceeds the dead band's set value.

 

Dead Band

This allows you to enter the dead band value that when exceeded will stop the DataLogger from recording on any variable change.  This value may be an absolute value or a percentage value depending whether the "Dead Band Percent" has been enabled or not.

 

Dead Band Percent

This allows you to enable the use of the "Dead Band Percent" with respect to the variable's value. The percent value will be the one specified in the "Dead Band" property.

 

On Variable /Record On Command

This allows you to enable record on command, that is to say when a determined variable from the Movicon Real Time DB, defined by the programmer, changes its value from 'zero' to a value 'different from zero'.  The variable in question must be selected through the Data Logger's "Recording Variable" property and can be declared any type (bit, byte, word, etc.), as Movicon carries out the recording when the value contained in the variable is different from zero. When the recording has finished, Movicon will force the value in the recording variable to zero.

The data recording sequence is therefore as follows:

 

  1. Set the recording variable to the >< 0 value when you want to execute a recording

  2. Movicon buffers the data in its cache memory

  3. Movicon sets the recording variable's value = 0

  4. Movicon notifies the DBMS of the data in the cache, while ready for a new recording

 

Recording on command does not influence recording on change or on time, as all modes can co-exist at the same time.

 

Recordings are only executed when the following conditions apply:

 

 

Record on Command is executed independently from the "Quality Good Only", "Enable Recording Variable" and "Enable Day Timeframe" property settings.  That is to say,  the Data Logger will record  each time the "Recording Variable" is set at a value other than zero regardlessly.

 

When data are recorded with ODBC, the recordings will be executed according to the characteristics of the ODBC mode. The data sampled by the Data Logger is managed from a memory cache in addition to be passed over to the Windows ODBC administrator. This may lead to a display delay between actual sampling and the availability of values in the external database file. The ODBC buffer's size can be changes by means of the operating system's property settings.  The Cache can also be forced to unload by using the appropriate Basic Script functions.

 

On Time / Record on Time Frequency (recording data on time usually meanst a the time it was collected so 'frequency' is irrelevant here)

This allows you to enable the recording on time. The recording on time will not influence recording on command or on change, as all modes can co-exist at the same time.

When selecting the recording on time option, you will have to specify the timeframe within which the recording is to be executed by entering the recording frequency, (Hour, Minutes, Seconds and Milliseconds), in the "Data Logger Recording Time Properties".

At each specified timeframe, Movicon will invoke a recording, which will be added to those executed on command or on change if set to do so.

 

Recordings are only executed at each timeframe set when the following apply:

 

 

 

 

 

See Also