Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Document Type: Example Program
NI Supported: Yes
Publish Date: Apr 2, 2007


Feedback


Yes No

Related Categories

Related Links - Developer Zone

Programmatically (C#) Inserting a Sequence Call Step into a New Sequence File

0 ratings | 0.00 out of 5
Print

Overview

The TestStand API allows you to programmatically create a new sequence file and insert a sequence call step.

Downloads

Filename: insert_new_step.zip
Requirements: View

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.

Requirements


Filename: insert_new_step.zip

Software Requirements


Application Software: NI TestStand Development System 3.5
Language(s): C#
Additional Software: Visual Studio .NET 2003

 
0 ratings | 0.00 out of 5
Print

Reader Comments | Submit a comment »

 

Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).