NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Load a sequence file from a C# code module in the TestStand GUI.

I want to load a sequence file from a C# code module in the TestStand GUI. I do not use one of the user interfaces, but the default TestStand GUI. I have made an entry point in the Configure menu of TestStand, called “Show StartUp Screen”After clicking this option in the Configure menu, a C# method is called with as argument the sequence context.

Now a window will be displayed with possible sequences, after selecting one of them, I want to load this sequence in the default TestStand GUI, is this possible?

 

Best regards

0 Kudos
Message 1 of 3
(3,589 Views)

The API calls would be:

 

ApplicationMgr applicationMgr = sequenceContext.Engine.GetInternalOption(InternalOption_ApplicationManager);

applicationMgr.OpenSequenceFile(sequenceFilePath);

0 Kudos
Message 2 of 3
(3,583 Views)
Thanks a lot, it works great!
0 Kudos
Message 3 of 3
(3,576 Views)