Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

problem regarding measuring rpm

I have a NI USB-6008 module and inductive proximity sensor is possible to measure rpm with these components. Is there any sensor which can measure the rpm directly when connected to DAQ module. I tried by writing some code but i am only able count the no of rotations but not rpm somebody try to fix my problem. I attached the code written to measure the count.

0 Kudos
Message 1 of 4
(1,609 Views)

Count the number of rotations in one minute = rpm

Count the number of rotations in one second * 60 = rpm

etc

 

Consultant Control Engineer
www-isc-ltd.com
0 Kudos
Message 2 of 4
(1,555 Views)

i am not able to count the no of rotations in made during one second. can you explain how to do that

0 Kudos
Message 3 of 4
(1,367 Views)

Well it fundamentally depends on what type of sensor you have, and what type of IO card you are using.

 

You stated hat you can count the number of samples - so just use a loop (e.g. timed or while loop) to display the number of samples once every second, and subtract from that the value of that from the previous second (e.g. shift register). There are many ways of doing this in LabVIEW depending on your wider application acrhitecture, and maybe it is best to open one of the built-in examples related to the type of IO card you are using.

Consultant Control Engineer
www-isc-ltd.com
0 Kudos
Message 4 of 4
(1,360 Views)