LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

programmable reset of front panel boolean

I have a VI that records data for 60 seconds using a mixture of a Time Elapsed express VI and a user controled boolean switch on the front panel. When the user pushes the boolean control, it starts the elapsed timer and will record until 60 seconds have elapsed. I would like to figure out some way to reset the boolean switch to false once 60 seconds is reached. I don't think I want to use a latch, because then it will reset almost immediately.
0 Kudos
Message 1 of 4
(3,762 Views)
You can use the elapsed time express VI.  Use your button to reset that function.  Use the output of that function to tell you when you are still within the 60 second window.
0 Kudos
Message 2 of 4
(3,743 Views)

Another use for the often maligned local variable:

 

Timer1.png

 

 

- tbob

Inventor of the WORM Global
0 Kudos
Message 3 of 4
(3,726 Views)

Hi Tavis,

 

Sounds like you are using the button in 'Switch when pressed' Mode. Are you using it like this so you can start/reset a recording? If so then you will need to use a dreaded local variable or property node.

 

Reset Boolean after timeout snippet.png

 

The property node in the snippet is actually a local variable for the 'Record/Reset' button. Labview has changed it for some reason

 

 

 

 

Rgs,

 

Lucither

Message Edited by Lucither on 05-05-2010 11:17 AM
Message Edited by Lucither on 05-05-2010 11:19 AM
------------------------------------------------------------------------------------------------------
"Everything should be made as simple as possible but no simpler"
0 Kudos
Message 4 of 4
(3,712 Views)