NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

InteractiveArgs active X reference

How do I get the act x reference for an object of type Interactiveargs?  I'm trying to use the TS API to determine the loop count in real time.  Runstate.loopindex does not work in Singlepass mode.
thanks
0 Kudos
Message 1 of 2
(2,800 Views)

Hi,

You can create a reference to InteractiveArgs by using the API method Engine.NewInteractiveArgs.

The RunState.LoopIndex is only active while a step is looping. i.e you have set the Loop action on the step.

Regards

Ray Farmer

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