# Data Logging

The Data Logging operation logs data for the specified data logging group.

Note:

For information on the naming convention and script keywords, refer to the following.
Naming Conventions

##### Block

##### Text

recordLoggingGroup(LOGGINGGROUP);
2 1

1: Logging group

2: Operation

[RecordLogging] | ##### Block [RecordLogging] ##### Text 'recordLoggingGroup($DataLogging.LoggingGroup1);' | Records data.
[ClearLogging] | ##### Block [ClearLogging] ##### Text 'clearLoggingGroup($DataLogging.LoggingGroup1, false);' | Use [Optimize DB] option to optimize the database.
[Optimize DB] | ##### Block Unchecked Checked ##### Text 'false' 'true' | When unchecked, erase the logging data. The size of the database does not change. When checked, erase the logging data and optimize the database.
Note: Logging data cannot be restored after it is erased. Export logging data as required. Runtime performance may degrade while erasing logging data. Perform delete when starting or closing the display unit or while the system is stopped. When logging data is erased, the data logging source property [LogCount] is reset to 0. When logging data is erased, the trend graph switches to real-time mode. Use the [Trend Graph] operation to switch between modes.