Controlling with actions, Synchronous and asynchronous actions, Controlling with actions -2 – Measurement Computing DASYLab User Manual User Manual
Page 50: Synchronous and asynchronous actions -2

Chapter 5
Controlling Measurements
5-2
|
dasylab.com
Controlling with Actions
The Action module executes event-related, module-specific
functions such as resetting mathematical calculations, changing
the display screen, or stopping the measurement. Like a trigger
module the action module monitors whether the connected input channels
meet the specified conditions. However, when a condition is met, the action
module does not output a TTL signal which influences the data flow in the
worksheet, but activates a module-specific function which runs in the
background. Therefore, the action module has only inputs but no outputs,
unlike trigger modules.
For example, you can use an action to print the chart recorder display of a
temperature measurement when the temperature exceeds a certain value. To
do so, select Special»Action on the Modules tab of the browser and connect
the input of the Action module with the monitored data channel
Temperature
. Open the dialog box to specify the action. First select the
receiver Recorder, then the module specific action Print, and finally the
trigger event Threshold value exceeded. Enter
50
as the Threshold value.
When you start the measurement, DASYLab prints the current recorder
display as soon as the temperature exceeds
50°C
.
You can monitor up to 16 different data channels with one action module or
one data channel for which you can specify up to 16 different actions. You
can select modules, or individual module channels, or DASYLab as the
receiver if you want to execute actions that affect the entire worksheet. Many
actions require additional information such as the name and the path of the
data file to be created.
To open an overview of all actions defined in the worksheet, select Options»
Overview of Actions. The list contains the names of the action modules, the
actions, the trigger events, and the receivers. You can open a second list that
contains only the actions of one action module via Options»Action List.
Synchronous and Asynchronous Actions
DASYLab differentiates between synchronous and asynchronous actions.
DASYLab executes synchronous actions at the data block that meets the
condition. To do so, the data block must arrive at the action module and the
module that receives the action synchronously and must have the same block
start time. For example, use synchronous actions to print visualized data in