NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Setting Run Mode from a configuration file

I'm using Labview 6.0 under TS 2.0.1f1, and am trying to allow tests to be performed or skipped according to what is set in a configuration file.
I am wondering if the Run Mode can be set to Skip or Normal from the config file?
I can't see any options for this in the property loader, so am assuming it can't be done from there.
Could someone please enlighten me?

Thanks
0 Kudos
Message 1 of 2
(2,994 Views)
Hi,

Find attached an example of setting the run mode of a step during execution. The run mode parameter is part of a hidden property for the step. You can make these visible from your TestStand Station Options | Preferences | Show Hidden Properties.

To set it from LabVIEW use the Set String Property vi and set the Lookup string for the required Step. eg for my example the lookup string would be 'RunState.Sequence.Main["Pass/Fail Test"].TS.Mode' or it could be 'RunState.Sequence.Main[0].TS.Mode' because the step is the first in the main group.



Hope this get you going.

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