NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Time elapsed window

Hi!

 

Is there a way to open a window at the start of the test so that the user can quickly see the time elapsed for the test? Even better, a way to periodically update it if something unexpected happens to increase the expected time it finishes?

 

This should be a pretty common feature I would think, is there a ready made VI or anything else that I can pop into my TestStand sequence?

 

Thanks!

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

Hi,

 

You can create your own timer VI using LabVIEW https://decibel.ni.com/content/docs/DOC-1192 then you may add something in this VI to update a variable (example a local variable) or send it directly to the UI VI using any communication you can imagine (FIFO, Notifier, events, shared variables etc...)

 

Regards,

Rodéric L
Certified LabVIEW Architect
0 Kudos
Message 2 of 6
(3,570 Views)

Thank you for your tip, this looks good!

 

I have a question though. Like I said I'd like this VI to open when the main sequence runs, and be able to update it's Timer Set Value as my sequence progresses. If I use to "Show VI front panel when called" function on the module, how can I update it's values? Wont TestStand just open up a new VI every time the timer is run?

Or can you just run it once and have some sort of variable in TestStand that you update and the values gets fed into the timer VI when it changes?

 

Thanks!

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

Use it as a FGV, and another VI as the UI calling this FGV.

Rodéric L
Certified LabVIEW Architect
0 Kudos
Message 4 of 6
(3,564 Views)

Sorry, I couldn't figure out what FGV is. Is it a module?

0 Kudos
Message 5 of 6
(3,562 Views)

It stands for Functional Global Variable: http://labviewwiki.org/Functional_global_variable

Rodéric L
Certified LabVIEW Architect
0 Kudos
Message 6 of 6
(3,559 Views)