01-19-2021 08:35 AM
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);
}
else
{
MessageBox.Show("You must open a sequence file before you can execute.");
}
}
Solved! Go to Solution.
01-19-2021 10:00 AM
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.
regards