06-24-2012 08:36 AM
Hi!
How can I get names/types of all the sequence steps, including subsequence from first step of mainsequence (setup section)?
Thanks,
Roman
06-25-2012 11:05 AM
Hello Rombar,
I'm assuming you are using the TestStand API in CVI. If you already have a reference to the sequence that you want to examine, you can use TS_SequenceGetStep() and TS_StepGetProperty() to find Name or Type. To get each one in a step group, you can use TS_SequenceGetNumSteps() to set the number of iterations of a for loop in your code.
The section of the TestSTand ActiveX API Reference titled Accessing TestStand Objects Inside Other TestStand Objects shows an example of using these functions. Questions like these may be better served on the TestStand forums
Thanks,
06-27-2012 03:12 AM
Many sanks! It was very helpfull.