NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

new thread status teststand

Solved!
Go to solution

Hello,

 

I'm using the rendezvous synchronization to execute more then 1 test in parallel but I can't get the status of the threads I ran.  I did a force failure in one of them but I can't see the result.

Once a get to the rendezvous point at the end of the thread, it only says "Done" for the result but I know there is a failure since I insert a step with "force fail" option.

 

Thanks

0 Kudos
Message 1 of 5
(5,754 Views)

You need to add a wait step and have it wait on that thread.

0 Kudos
Message 2 of 5
(5,753 Views)

Main sequence :

step rendezvous (operation create)

step sequenceCall (new thread #1)

step sequenceCall (new Thread #2)

step rendezvous (operation rendezvous)

 

Inside new Thread #1

step wait

step action with force fail

rendezvous

 

Inside new Thread # 2

step wait

step rendezvous

 

Back to main sequence at the end, no failure seen by the main sequence.

Why????

How do I get the failure from thread #2??

0 Kudos
Message 3 of 5
(5,751 Views)
Solution
Accepted by topic author Goncalo

You need to have a Wait step for each thread you wish to get the result of in your MainSequence.  Choose "Thread" for the option, and select the sequence call you are calling a new thread.  For #2, do the same thing.  I would put these at the end of your MainSequence's Main group (or anywhere else you want them to wait). 

0 Kudos
Message 4 of 5
(5,749 Views)

Thanks!

 

It works.

0 Kudos
Message 5 of 5
(5,744 Views)