NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

get status of execution all sequence with API teststand

Hello

 

I use labview to lunch 3 sequences, execute in parallel. 

In Seq 1, how can i get the state(stopped, paused or running) of other sequences (seq2, Seq3).

 

I use getstates methode, but i get the state of seq1

 

Thanks

RchB_0-1576605897497.png

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

I know your question seems like a simple one but there is so much more to it and I have many questions:

Are you trying to get the executions inside of the UI?

Or are you just trying to get them in the sequence file?

If it is in the sequence file are you using the batch model or parallel model?

Are they in different threads or different executions?  An execution contains threads.

It looks like you are passing the sequence context into the VI in your image.  You need the sequence contexts from the other executions in order for this to work.  If you are in different executions you need to pass it to the other threads via Queue or some other way of passing data between executions.

 

Regards,

 

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

Hello jiggawax,

Thanks for your response

 

Are you trying to get the executions inside of the UI? YES

I use Batch model.

they in different executions.

You need the sequence contexts from the other executions in order for this to work.

Yes this is what i'm looking for, How to get the sequence contexts from the other executions?

 

Thanks

 

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