LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to calculate rpm ?

Hi.I am trying to do serial communication with a machine. The machine has 6 cylinders. For communicating with the device i have to send commands to the machine. For the given commands the machine send back the data. For calculating rpm of the machine there is no command. Is there any indirect way of finding out rpm of the machine?

0 Kudos
Message 1 of 6
(3,582 Views)

If the machine won't tell you its RPM, how do you think you are going to measure it?

 

Speed is generally measured with a sensor counting pulses for a period of time.  If the machine is not doing it itself and not reporting that number to you through the serial port, you are going to have to add that sensor yourself.

Message 2 of 6
(3,572 Views)

If you are using serial communication you are limited to the command set of your device.  If it has no way to communicate its speed of revolution then you can't read that info through serial.  Can you set up an external sensor and count its revolutions?  What kind of "machine" is this?

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 3 of 6
(3,567 Views)

I dont know if it helps, but there is a command which gives pure pulses in hex coded format. Does this help in any way to find rpm?

0 Kudos
Message 4 of 6
(3,553 Views)

What does the command say?

 

I don't know what it means to "hex code pure pulses".

0 Kudos
Message 5 of 6
(3,548 Views)

@madara77 wrote:

I dont know if it helps, but there is a command which gives pure pulses in hex coded format. Does this help in any way to find rpm?


Not really.  Due to the asynchronicity of the serial communications, that information is kind of worthless.  It would only be useful if you had the number of pulses in a given set amount of time.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 6 of 6
(3,497 Views)