NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
Rombar
Posts: 4
0 Kudos

All sequence step names/types

Hi!

 

How can I get names/types of all the sequence steps, including subsequence from first step of mainsequence (setup section)?

 

Thanks,

Roman

Member
KyleP
Posts: 129
0 Kudos

Re: All sequence step names/types

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 :smileyhappy:

 

Thanks,

KyleP
Applications Engineer
National Instruments
Member
Rombar
Posts: 4
0 Kudos

Re: All sequence step names/types

Many sanks! It was very helpfull.

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page