NI TestStand

Showing results for 
Search instead for 
Did you mean: 

TestStand API to execute sequence file as Single Pass

Go to solution

Hi all,


How to execute the sequence file in a Single Pass from teststand APi in C# ?

I have modified the example "Teststand UI with Native Conrols" to run a sequence file.


For now I'm calling the below function:


private void executeButton_Click(object sender, EventArgs e)
if (axSequenceFileViewMgr.SequenceFile != null)
axSequenceFileViewMgr.GetCommand(CommandKinds.CommandKind_ExecutionEntryPoints_Set, 0).Execute(true);
MessageBox.Show("You must open a sequence file before you can execute.");


0 Kudos
Message 1 of 2
Accepted by ngupta4


Hi Ngupta4, 


in your statement axSequenceFileViewMgr.GetCommand(CommandKinds.CommandKind_ExecutionEntryPoints_Set, 0).Execute(true); call, is that last integer parameter a index? if so then try changing it to 1. 


I see that my user interface has a index =0 for Test UUTS, Single Pass has a index=1, i'm using LabVIEW so can't directly compare to your code. 



Sr Test Engineer at American Innovations - LabVIEW CLA - Kudo's are appreciated!!
Message 2 of 2