Programmatically (C#) Inserting a Sequence Call Step into a New Sequence File
The TestStand API allows you to programmatically create a new sequence file and insert a sequence call step.
This C# example shows how to programmatically create a new sequence that has a sequence call step within it. When the create sequence button is pressed, the example prompts for a sequence file. The main sequence of this sequence file is then added to a new sequence file and the parameters for the sequence call step are set to default. The new sequence file is then saved to C:\mysequence.seq.
To run this example:
1. Unzip the entire contents of the attached zip file.
2. Run InsertNewStep.exe.
3. Press the Create Sequence Button.
4. Select the sequence file that contains the main sequence to be added as a sequence call step.
5. Launch TestStand and open C:\mysequence.seq to see the newly created sequence file.
Application Software: NI TestStand Development System 3.5
Additional Software: Visual Studio .NET 2003
Reader Comments | Submit a comment »