Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Write to file for only X number of seconds

I have a VI that has an analog input.  I also have a control on the Write to Data file function that will write data once the button is pressed.  How can I write data for a specific number of seconds and then stop until the button is pressed again? 
0 Kudos
Message 1 of 2
(2,875 Views)
Hi vkhatri,
 
I have written you some code that will accomplish this functionality. Have a great day!
 
Best regards,
 
Steven
0 Kudos
Message 2 of 2
(2,858 Views)