12-20-2013 03:36 PM
I have data that is coming in from a DAQ that i need to record, I currently can record the data with out issue. The problem arises is that when people start the recording and walk away the recording never stops and fills the hard drive. What I would like is a way to Start / Stop a recording. When a button is pressed the recording will start as will a count down timer for a user defined time. When the stop button is pressed or the time has expired the recording will stop. I would like to be able to stop the recording before the timer count down. The Timer count down is more or less a safe guard against people being distracted while recording data.
Thank You
-Joseph
12-20-2013 04:05 PM
What exactly are you having problems with? I'm assuming you have the DAQ code inside a while loop so ORing the stop button with a timer is pretty trivial. Have you looked at the time palette? What about the Elapsed Time function?