LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to measure RPM using digital I/O

Please check the code I have saved in LabVIEW 2009.

0 Kudos
Message 11 of 17
(1,192 Views)

You are expecting 2 pulses per revolution?  What is the highest RPM you expect to measure?

0 Kudos
Message 12 of 17
(1,178 Views)

I am using an NPN Sensor mounted near the propeller shaft which will detect a metal edge on the propeller shaft and will give me one pulse per revolution. Can you please rectify my code for measuring RPM.

0 Kudos
Message 13 of 17
(1,173 Views)

The maximum RPM I am going to measure will be 4000.

0 Kudos
Message 14 of 17
(1,171 Views)
  • What happens when you run your existing code with your hardware?  Does it produce a RPM reading and how does that reading compare to your actual RPM?

 

  • 4000 RPM with one pulse per rev = 4000 pulses per minute = 66.67 pulses per second = a period of 15mS.  Your bottom loop is running every 50mS.  Much too slow.  This loop needs to run much faster that the pulses are coming in.

 

 

0 Kudos
Message 15 of 17
(1,163 Views)

Can you please give me a code which can read digital I/O from NI 9426 and measure the RPM.

0 Kudos
Message 16 of 17
(1,142 Views)

Anyone please check my VI for RPM measurement.

0 Kudos
Message 17 of 17
(1,115 Views)