Variable Logging

<< Click to Display Table of Contents >>

Navigation:  User Interface > Project Properties >

Variable Logging

Important note: If you have selected variables inside the variable logging dialog and delete them outside (e.g. variable list), the variables are not automatically updated. If you have deleted variables for example with the variable list, please go one time inside the variable logging dialog and save the project afterwards. Now the lists are up to date. Do not worry if any variable which is not available at runtime is still in the list, this is anyway handled at runtime of the device.

 

Please note: To start the logging on the device, the variable @LogLevel has to be set to a value >0.

 

Variable Logging provides the possibility to capture valuable process and sensor data, giving the insight into past process upsets and events. To configure the Variable Logging use the main menu tab File | Project Properties and select the Variable Logging category.

 

var log tree

The tab provides you an overview of the current available variables (1). Now you can add (3) and remove (4) the variables which you like to log with the according labelled buttons. All selected variables you will find in the right tree view (2). Variables are written to a file. How the variables are written is defined by the method of logging. You basically have two choices "fixed time based logging" and "event based logging".

hmtoggle_plus1General Options
hmtoggle_plus1File settings
hmtoggle_plus1Fixed Time Based Logging
hmtoggle_plus1Event Based Logging
hmtoggle_plus0Starting and Stopping the logging at runtime

The logging on the device is controlled by the variable @LogLevel. By default, this variable has the value 0 (logging off). To start the logging in either mode, set the variable to a value >0.

 

hmtoggle_plus1Copy/Move the logged files
hmtoggle_plus1Allowed Tags for file header and line prefix
hmtoggle_plus1Changes from older version
hmtoggle_plus1Error codes