DASYLab

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I perform DASYLab worksheet selection using the sequencer?

I have figured out how to separate my operations into multiple worksheets, but how do I select a particular worksheet from a group of several during sequencer runtime. Although it is really clunky, my first worksheet in the sequencer performs signal analysis and determines which worksheet should be loaded to perform the next operation. I haven't been able to figure out how the sequencer would do that. Can the sequencer do simple logic statements, or if a worksheet passes the name of the worksheet to execute in a global variable can the sequencer load the worksheet by evaluating the global variable containing that worksheet filename string?
0 Kudos
Message 1 of 2
(6,528 Views)

Bill,

The Sequencer needs to have all of the worksheets defined in order to start them.

 

It uses Global Variables as semaphores between the worksheet and the Sequencer. By setting a Variable to 3, for example, the Sequencer can have an action that monitors that variable, and when it's 3, the action can be to load and start a selected worksheet.

 

 Attached are my slides and a working example for DASYLab V11.

 

 

Measurement Computing (MCC) has free technical support. Visit www.mccdaq.com and click on the "Support" tab for all support options, including DASYLab.
Download All
0 Kudos
Message 2 of 2
(6,526 Views)