10-21-2005 07:52 AM
10-24-2005 11:56 AM
Hi Clint Eastwood,
There are several options that you have for calling sequences and sub-sequences from LabVIEW.
Option 1: Use the built-in operator interfaces (graphical user interfaces used for executing sequences) that ship with TestStand. In the folder C:\Program Files\National Instruments\TestStand 3.1\OperatorInterfaces\NI, you will find full-featured and simple versions of operator interfaces. In all the operator interfaces, you can select to run either the main sequence or sub-sequences. You also have other features within these operator interfaces such as starting multiple concurrent executions, setting breakpoints, and single-stepping. Here is a link to a relevant thread and also a Simple LabVIEW Operator Interface without Menus program.
Option 2: Attached code is a VERY simplified hard-coded way of running a sequence. It involves using the Application Manager and SequenceFileView Manager. Basically the program opens a sequence file, chooses a sequence (GetSequence -- Index is used to differentiate sequences) and then runs the sequence.
I would recommend using the operator interfaces since it provides you will maximum functionality.
Hope this helps!
Best Regards,