LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Getting the state of the sequence execution from the operator's interface

Hi,
I'm using the CVI operator's interface (simple) that comes with TestStand 3.1 and I need to know the state of the execution (running/terminated...).  How can I get a handle to the execution or is there some kind of an event posted by the TestStand engine that the application can recieve?
Thanks.
0 Kudos
Message 1 of 3
(3,078 Views)

Hi,

as you are using the simple operator interface, you can use the ExecutionViewMgrGetExecution method ("Ni TestStand UI Controls 3.1" Instrument Driver under "ExecutionViewMgr") to get a handle to the current execution running. This handle you can use in the ExecutionGetSates method ("Ni TestStand API 3.1" Instrument Driver under "Advanced-->Execution") to get the state of the current execution running.

 

Hope this helps.

0 Kudos
Message 2 of 3
(3,055 Views)

Thanks,

Problem solved thanks to your solution.

0 Kudos
Message 3 of 3
(3,051 Views)