NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Close specific Execution from Execution Combobox programmatically

I am trying to remote control the TS-GUI by PLC in LV. Is there a solution for closing/aborting Exe by individual Socketnumber (parallel Prozess..)?

Thanks for Help

Willi

0 Kudos
Message 1 of 3
(1,320 Views)

The combo box just selects the active execution (i.e. the execution that you are watching).

 

To programmatically stop an execution you need to get access to the execution view manager.

 

https://www.ni.com/docs/en-US/bundle/teststand/page/tsuiref/reftopics/executionviewmgr.htm

 

Once you have that handle you can get the active execution and call:  Execution.Terminate

 

Hope this helps,

 

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
Message 2 of 3
(1,301 Views)

Thanks a lot

I already found this, but I would have liked a code example.

Btw. I go back to single sequential process, then I don't need it anymore.

cu

0 Kudos
Message 3 of 3
(1,253 Views)