To download NI software, including the products shown below, visit ni.com/downloads.
Overview
To demonstrate how to calculate the revolution per minute (RPM) of incoming digital pulses
Description:
The purpose of this example is to calculate the revolutions per minute (RPM) of incoming digital pulses. The user specifies the counter port and the VI counts the incoming pulses and returns the RPM of the pulse. This can be use in applications such as a tachometer that generates pulses.
Steps to implement or execute code
To implement this example:
To execute this example:
Requirements
Software
LabVIEW 2012 or compatible
NI-DAQmx 16.0 or compatible
Hardware
cDAQ with C series Counter Module
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
Very nice, I am definitly using this. A question though:
- What does "desired rate" do?
Thanks for putting this in the community
@BraHov,
I also have the same question, what is the 'desired rate'? Have you successfully develop your program for RPM counting?
In above example desired rate is 100 milisecond.