05-23-2013 01:27 PM
Hi,
How does one measure the rpm of a shfat with a shaft encoder on it using labivew. I tried to modify the measuring angular position code that is attached to do the job but I havent been successful. If anyone has a code to measure the rpm of a shaft using an encoder, that would be vry much appreciated.
I am using a quadrature encoder with 2500 cycles per revolution and the NI 9401 and N1 9172 chassis
05-24-2013 11:57 AM
Hello Eluan,
What about the example you attached is not working? Are you getting the correct angual positon in LabVIEW? Since you are concerend about the RPM I would instead utilize the DAQ assistant to preform a frequency (Hz=Pulses/Second) measurment and convert that frequency into RPM [Hz (Pulses/Second)/2500 (Pulses/Revolution) (assumption based on your statement)] *60 seconds/1minute. Please take a look at the snippet below.
Best Regards,
Izzy O.
Applications Engineer
National Instruments
05-24-2013 02:36 PM
There is a very good white paper on how to do this
http://www.ni.com/white-paper/3921/en
Look at the comments for limitations but we use it successfully.
05-24-2013 02:37 PM
05-28-2013 08:33 AM
Hello Eluan,
Which graph is nothing plotted on the frequency, RPM or both? Here are some steps to troubleshoot the behavior you are seeing.
Best Regards,
Izzy O.
Applications Engineer
National Instruments
01-07-2014 11:20 AM
Hello everyone,
I'm trying to read the angular velocity of a shaft using optical encoder and write data to a file, the CPR for my encoder is 10000. Attached please find my code.
I do not have any known angular velocity to test my code. Can someone tell me that the code is working correct or not?!
Thanks.
Meysam
05-07-2015 09:41 PM
Izzy:
Can you show the SCHEMATIC hookup?? How are you hooking up a QUADRATURE encoder to measure RPM?
Can you use just ONE of the goodies?
How would you hook it up??
Any help would be AWESOME!
My email is dave.korpi@gmail.com