NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

VI front panel showed and continue the sequence

Hello all,

 

I'm using a test sequence and I disable the tracing to save cycle time.

I would like to create a status bar that show "Test running" or "Passed" or "Failed" according to the result.

So I thought to create a VI front panel very simple which contains only a change of background color and text indicator.

Is it possible in TestStand to run a VI, show the front face and continue the sequence without wait an action in the VI ? Like a new thread.

 

Or if you have a better idea...

 

Thank you.

0 Kudos
Message 1 of 6
(3,255 Views)

I think is totally possible. Have you read this Running 2 threads in TestStand in Parallel ?

=======
My Channel: https://www.youtube.com/@LV_Lab

0 Kudos
Message 2 of 6
(3,234 Views)

Use Run VI Asynchronously.

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 3 of 6
(3,228 Views)

I tried with Run VI Asynchronously but I don't have the updated value.

It looks like my VI is not running.

May be I need to use another vi to command the run of the Run VI Asynchronously ?

 

Thank you for your answers !

Guillaume

 

Download All
0 Kudos
Message 4 of 6
(3,225 Views)

You need to design your asynchronous VI in such a way that it waits for the data from the running sequence and update in the FP of itself (Asynchronous).

Preferably use queue to transfer data from Running Sequence to Asynchronous VI.

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 5 of 6
(3,202 Views)

Another way to go is to call a VI which asynchronously opens and runs a second VI and passes the data you want. The second VI only needs to run until it's frontpanel is updated, then it will go idle again.

Keep the reference to the second VI in a shift register of the first one so the second VI is kept in memory. Otherwise the second VI would be reloaded over and over (that happens if you use the "Call VI asynchronously"-step).

Once the first (caller) VI leaves memory the second will as well. No need to worry about shutting it down.

0 Kudos
Message 6 of 6
(3,123 Views)