LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Timer for a button or loop.

Hey, so I have a data assistant and write to measurement file in two separate loops. The daq is connected to a pressure sensor. Now I need to monitor the pressure levels before, during and after the experiment. But I don't want the data to be logged before and after. The experiment would run for 10 seconds. So how do I create a timer and buttons such that, I use one button to start the code and see the pressure values, and one button to start the data logging along with the timer. And it to stop logging the data after the time. Please help.

0 Kudos
Message 1 of 2
(56 Views)

Look into a simple state machine architecture and things will fall in place.

 

(When reposting a reddit question, you should always provide a link to avoid duplication of efforts.)

0 Kudos
Message 2 of 2
(20 Views)