NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

how do you show elapsed time in the operator interface

Hi everyone,

I am new to the forum and teststand so bear with me,I am supporting an application which uses labview 9  vis and teststand 4.2.1. I.

Ideally i would like some example code to illustrate how i might show elapsed time in the Operator interface when the test sequences are being executed.Any guidance would be helpful too.

Thanks

 

0 Kudos
Message 1 of 4
(3,790 Views)

Use the Start Execution UIMessage event to start your "elapsed timer" in the UI. It will run in parallel to your test sequence execution and display the elapsed time.

If you want to stop the timer once the sequence execution is finished, use the End Execution UIMessage.

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 4
(3,766 Views)

Thanks for your reply, I think i need to understand a bit more about events particularly using preconfigured events before i can implement your suggestion.I am browsing literature on events that i can find, but am finding it difficult at the moment, early days i guess.

 Also I could not find the start exection Uimessage event in the block diagram of the operator interface, guess i'm not looking close enough or in the right place -any thoughts! Does the start execution Uimessage event get invoked at the start of the test sequence execution?

0 Kudos
Message 3 of 4
(3,756 Views)

You wont find a direct "UIMessage Event" in the block diagram of the toplevel UI VI.

You have to look for "Callback" and to register a custom VI to the stated UIMessage events.

 

hope this helps,

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 4 of 4
(3,753 Views)