LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Start elapsed time only when the save button is pressed.

 

 
Hello,
I have a problem with my application.  
When I start the application the elapsed time displays the value of the crurent time in mn:s (for example if it is 15:45:30 it displays 45: 30)
And when I click on the save button the elapsed time resets to zero and continue to count and do what I want (on this point it goes very well).
 
I would like to start the application elapsed time= 00:00 and when I click on save it starts counting and does other actions.
I can not put the vi of the application, I put in attachments the part that does not work so that you can have an idea of my concern.
Thank you in advance.
Do you have any ideas to help me please?
PS: the save button works fine in my application, I just want the elapsed time to remain at 00:00 at startup until I press the save button
0 Kudos
Message 1 of 4
(1,061 Views)

Why is it so important that the timer be held at zero until you press "save" instead of just starting the timer at zero when you save?  And what action is supposed to set it to zero in the first place?

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 2 of 4
(1,036 Views)

Your VI is just a mess, overly complicated and inefficient. There is no need to ping-pong data around via value properties. There is no need for an event structure, and there is no need to read the "boolean text" to determine if a boolean is true or false. That's pure Rube goldberg and will break your VI if somebody would e.g. change the language.

 

You have full programmatic control to display whatever you want on any indicator at any time. I am not sure what your font settings are, but you should resize your controls to actually be able to display the content of the indicator.

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

See if this can give you some ideas. Simplify!!!!

 

altenbach_0-1664205224807.png

 

0 Kudos
Message 4 of 4
(1,017 Views)