Quantcast
Channel: NI TestStand topics
Viewing all articles
Browse latest Browse all 6524

How to avoid terminate-Uimessage in parallel sequence when terminating?

$
0
0

Hello,

i am executing a parallel sequence as described by in this thread:
https://forums.ni.com/t5/NI-TestStand/How-to-stop-a-thread-quot-New-execution-thread-quot-from-main/td-p/3715591

 

This is working great.

The only problem is that the statement "Locals.SpawnedExec.AsExecution.Terminate()" which terminates the parallel thread creates a terminate-UImessage.

This is catched by my OPUI and then sets the main-testplan to terminated. Also if the testplan run completly to the end and all steps are passed.

 

How can i find out from which thread the Uimsg is coming. There is a parameter "object" which contains 1000s of sub-parameters. I think somewhere in there it can be found...

 

Thanks


Viewing all articles
Browse latest Browse all 6524

Trending Articles