NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

TS_StepSetRunmodeEx()

I want to change the runmode of other steps in the running sequence from a CVI Code module.

TS_StepSetRunmodeEx() has an execution Parameter . What do I have to feed into that parameter ?  

 

I thought of using the execution property from sequence context ( using TS_SeqContextGetExecution() ) 

But this returns a execution object of type TSObj_Execution where TS_StepSetRunmodeEx() expects a VARIANT as execution object.

 

 

0 Kudos
Message 1 of 2
(3,069 Views)

Hello mkossmann,

 

i have made an example for you in TestStand.

With this u can change the runmode e.g. Skip, Fail etc.

In Setup you can see the Sequence Call "ChangeRunMode".

If you have any further question just ask and sorry about the late answer.

 

best regards

Tobi

0 Kudos
Message 2 of 2
(2,989 Views)