06-30-2021 10:11 PM
I would like to use the Counter - Read Pulse Width (On Demand) example to measure RPM of a motor. Is there to stop the while loop if an infinite wait time (-1) is set on the 'DAQmx Read' timeout and there are no pulses detected by the DAQ card? As coded currently, the stop button will not kill the loop until a pulse is detected. New to Labview. Thank you for your help.
Solved! Go to Solution.
06-30-2021 10:25 PM
Might have answered my own question here. With the timeout set to 1 I get the behavior I was hoping for. Settings I used in the past caused immediate timeout but I think I was using the 'Counter - .... continuous' example rather than the on-demand version.