beautypg.com

Control sequencer, Control sequencer -3 – Measurement Computing DASYLab User Manual User Manual

Page 51

background image

DASYLab

© National Instruments Ireland Resources Limited

|

5-3

real-time. The synchronization is like an additional invisible data channel
which uses computing time even when DASYLab is not executing an action.

DASYLab executes asynchronous actions directly after the condition is met.
An asynchronous action influences the data block processed by the executing
module. This need not be the data block that triggered the action. Use
asynchronous actions when the action is independent of the data to be
processed, for example, connecting and disconnecting channels to display
modules.

DASYLab executes asynchronous actions fast. If DASYLab does not trigger
an action, asynchronous actions do not need extra computing time, except for
the monitoring of the input channels.

Control Sequencer

Use the control sequencer as a worksheet test executive. The sequencer
connects worksheets and controls the sequence of worksheets using actions.
For example, use a sequencer to run different tests with different worksheets
in one experiment. The first worksheet generates calibration settings and
transfers these settings to the next worksheet. Then the second worksheet
controls the measurement acquisition and saves the measurement values in a
file. Finally the last worksheet analyzes and displays the measurement
values.

To create a sequencer for this test, click Sequencer on the function bar.
DASYLab opens the sequencer program window. Right-click the

Unknown

root entry and select New Worksheet from the context menu. For

example, load the

Calibration

worksheet. Then load the worksheets

Measure

and

Analyze

consecutively. Right-click the first worksheet

Calibration

and select Set Start Worksheet.

Then create the actions that control the worksheet sequence. Right-click the

Calibration

worksheet and select New Action from the context menu.

Select the condition that the value of the variable

VAR_101

changes and then

select the action

Load and start

of the

Measurement

worksheet. Then

create a second similar action which loads and starts the worksheet

Analysis

due to a value change of the

VAR_2

variable.

If you now start the measurement, DASYLab loads the

Calibration

worksheet. The calibration runs until an action in this worksheet assigns a
new value to the

VAR_101

variable. Then DASYLab loads the

Measure

This manual is related to the following products: