12-04-2020 09:59 PM
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.
12-07-2020 03:54 PM
Count the number of rotations in one minute = rpm
Count the number of rotations in one second * 60 = rpm
etc
01-11-2021 02:57 AM
i am not able to count the no of rotations in made during one second. can you explain how to do that
01-11-2021 02:22 PM
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.