NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

specifying a vi module programmatically

Hi,
Is it possible to specify a VI path in the specify module programmatically ? Something like specifying a sequence with expression.
 
Regards
Gopal
0 Kudos
Message 1 of 2
(2,953 Views)
Gopal,

The only way to do this is to access the hidden properties of the step itself. This is not recommended, as your sequence file may not work with all versions of TestStand since Hidden Properties are subject to change and the TestStand API is the backwards compatible portion of TestStand.

To display hidden properties, Configure>>Station Options>>Preferences and check the box next to Show Hidden Properties.

The hidden property you are going to need to look at are:

Step.TS.SData.ViCall.VIPath

You will also have to programmatically create the parameters using this property:

Step.TS.SData.ViCall.Parms

Brandon Vasquez | Software Engineer | Integration Services | National Instruments
0 Kudos
Message 2 of 2
(2,937 Views)