NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to skipp or enable all the stpes that belong to certain step type in A sequence file?

I have a big sequence file, and I have a very special requirement:that is to skipp or enable all the stpes that belong to certain step type?
I know it could be a somewhat chanllenge, but I believe it can be done.
 
Thanks!
Jacky
0 Kudos
Message 1 of 2
(2,571 Views)

Hi Jacky,

http://forums.ni.com/ni/board/message?board.id=330&message.id=2419&query.id=86917#M2419

http://forums.ni.com/ni/board/message?board.id=330&message.id=1610&query.id=86919#M1610

Here are a couple of examples that Get or Set the Run Mode of a step.

There are also examples on the NI website for TestStand, that will obatin all the steps of a sequence / sequence file,

http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3EE5556A4E034080020E74861&p_...

http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=EF3B073A7D7B5336E0340003BA7CCD71&p_...

 which should help for building the basic loop to get a step,

check its Step Type (there is an example of this on website),

http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=BB88802AAEA621D5E034080020E74861&p_...

to decide whether to modify the Step property or not.

The tricky bit is whether your sequence call steps call sequences in the sequence file or in an external sequence file.

Hope this gets you started.

What version of TestStand are you using?

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 2 of 2
(2,568 Views)