From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

rpm of a continuous signal

hello,

I have a simulated signal of a 10 teeth gear (lets say sine wave). I need to display the speed (in RPM) for every period (of  the gear). I tried to use Peak Detector, but I dont know how to define this VI to stop counting peaks every 10 peaks, so I could calculate the time elapsed in the current period. 

 

what can I do ?

thanks.

 

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

Use the Extract Single Tone Information VI on the Signal Processing palette to measure the frequency.  Multiply by 60 and divide by the number of teeth on the gear. 

aputman
------------------
Heads up! NI has moved LabVIEW to a mandatory SaaS subscription policy, along with a big price increase. Make your voice heard.
0 Kudos
Message 2 of 2
(2,050 Views)