LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to start and stop data acquisition with a digital input voltage pulse ..???

I want to acquire continuously an analog (acceleration) data from a machine  . But the data should start acquiring only when the machine sends a digital voltage pulse and should stop acquiring data when the machine sends another digital voltage signal. I have made the first part where when the machine sends a digital voltage  the data acquisition starts --> where I have converted the digital voltage in a Boolean number so as to give it to a case structure.

But how to deal with the stopping issue ??? I am attaching my vi. Along with.   (DAQ Assistant 1 is for analog input and DAQ Assistant 2 is for digital input) 

0 Kudos
Message 1 of 2
(2,540 Views)

The DAQ Assistant VI has a "STOP" input. Continue to poll your digital signal in your loop and wire it through a "NOT" gate through to the "STOP" input.

0 Kudos
Message 2 of 2
(2,518 Views)