06-30-2014 12:22 AM
HI all
I want to measure the speed of a seperately excited DC motor using NI myDAQ. I am using a inductive proximity sensor to measure the speed. the sensor output is digital. Now please tell me how to generate code to count the pulses or to measure the time period of pulse (which is the output of sensor) usin labview.I have to use only single digital I/O pin for this speed measurement.
thank you
06-30-2014 03:56 AM
You can build your own counter from the Digital input as shown below. For measuring the time period please follow this thread.
06-30-2014 05:25 AM
thank you..
but how can i measure frequecy from this pulse count. so that i have to reset it automatically for some time period?
06-30-2014 05:33 AM
It depends how much pulse you will get for a revolution of the motor. It depends on the Transducer you use in this case, so when you have that count the number of pulses and when you arrive at rotation reset the counter to continue the process in cycle.
07-01-2014 08:35 PM
HI P@anand
I have to reset the pulse count for everi 20ms. but i am unable to find the vi to reset the loop. here is the VI which is build from your vi. give me an idea to how to reset it for every 20ms. or to find the pulse width of the digital signal coming from the sensor.
thank you.