There is a good test sequencer from NI named Teststand. Have you made a look at this product?
Creating your own test sequencer would take you normally more time and money than the product costs.
A hand written sequencer will have two parts: a executer and the steps. The executer will load the step and execute it. Depending on the result the executer will go to the next step. A simple mechanism will be to store the sequence in a config file. Use a header to store information how much steps are in the file. Use a section named "Stepx" for each step with x from 1 to N. Each step has a key named "Typ". This is in fact the name of a VI which will be loaded and run by the executer. We use the same connector pane for all steps so we are able to call it w
ith "Call by Reference" node. We use the config file reference and the number of the step to allow the VI to find more parameters which it will use for its work. Do not forget to give back a OK status and the number of the next step to execute.
The executer has to load the configuration file, load the VI of step1 and call it and then load the VI of the next step. 0 or -1 will indicate the end of the sequence.
Use named queues to transfer data between the executer/steps and the user interface.
Waldemar
Waldemar
Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions