NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Programatic setting of sequence for Call Sequence Step

I'm trying to insert 'Call Sequence' steps into my test sequence to dynamically create the list of tests I need to run.  I can get the sequence step to appear and it is of the correct type, 'Call Sequence', but how do I set the path/file to the sequence I want to call? 
0 Kudos
Message 1 of 2
(2,854 Views)
Scott,

If you just need to set the path/file in the 'call sequence' step, do the following:
- Once the 'Call Sequence' step type is in your sequence, right click >> specify module...  You can then enter the path for that sequence in the 'File Pathname' field.

For dynamically inserting the path/file for a sequence, a simple solution would be the following.
- Create a local string (locals.filepathstring, for example) for storing the file path.  Then you can save the user input (the user input could come from a message popup step, for example) for the file path.
- On the 'Call Sequence' step type, right click and go to 'specify module...'.  For the file path, use your local parameter (locals.filepathstring in my example).  This will then set the sequence file path based on the user input.


Hope this helps in your TestStand development!

Thanks,

Andrew W. || Applications Engineer
0 Kudos
Message 2 of 2
(2,841 Views)