05-24-2012 03:09 AM
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!
05-24-2012 06:38 AM
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,
05-24-2012 07:36 AM
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!
05-24-2012 07:38 AM
Use it as a FGV, and another VI as the UI calling this FGV.
05-24-2012 08:05 AM
Sorry, I couldn't figure out what FGV is. Is it a module?
05-24-2012 08:07 AM
It stands for Functional Global Variable: http://labviewwiki.org/Functional_global_variable