Test controller, advanced log popup
Standard logging is with fixed interval and start immediately when selected, this can be modified with the advanced log functions.
Note: Logging must be started for the advanced functions to work, it is when to save measurements that is controlled.
Contents
Log settings
Log modes
Log trigger popup
Scripting
Main page
Log settings
The advanced log popup will enable/disable fields as needed, this means the Samples and Trig/Expression fields are only available in trigger modes where they have meaning
Using the red arrow it is possible to change between 3 trigger settings, where one is an expression. For expressions use column names and < = > || && operators.
If the advanced log is selected from the "Direct to disk" popup it will look slightly different, because the interval and starting of logging is controlled from the "Direct to disk" popup.
Log modes
The different logging modes:
- Normal: Logging continuous when started, this is the default.
- StartStopOnCommand: Logging can be started and stopped with the Log trigger popup or script command.
- SingleOnCommand: Each sample is initiated from the Log trigger popup or script command.
- NOnCommand: Each block of samples is initiated from the Log trigger popup or script command.
- SingleOnTrig: Each time the trig_expression is true one sample will be logged.
- SecondOnTrig: Each time the trig_expression is true one sample will be logged one interval later.
- NOnTrig: Each time the trig_expression is true a block of samples will be logged.
- WhileTrig: While the trig_expression is true samples will be logged.
- WhileTrigOrN: While the trig_expression is true and a block of samples after data will be logged.
- StartOnTrig: Logging will start first time trig_expression is true
- StopOnTrig: Logging will stop first time trig_expression is true
- StopOnTrigOrN: Logging will stop a block of samples after trig_expression is true
Log trigger popup
This popup is only used in a few logging modes. When logging is not activated any controls on this popup will be disabled.
Most logging modes will show this message.
This format is used for "StartStopOnCommand" logging mode.
It is also possible to use "#trig 1" and "#trig 0" commands.
This format is used for "SingleOnCommand" logging mode.
It is also possible to use a "#trig 1" command.
This format is used for "NOnCommand" logging mode.
It is also possible to use a "#trig 1" command.
Scripting
Logging can be controlled with the following script commands:
#LOG sample_interval {filename}
#HASLOGGED
#TRIG mode|state {trig_expression}
#TRIGN count