09-06-2013 08:17 AM
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)
09-06-2013 12:59 PM
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.