03-24-2011 02:15 PM
Hi, recently I ordered the DAQ USB 6211, I wonder how to connect a quadrature encoder to the DAQ counter, I would like to use only one counter , Pin 1 - 4 , my encoder has two channels only, CH A and CH B.
Regards;
Jamal
Solved! Go to Solution.
03-26-2011 12:13 AM
Hi jm56789.
I believe the information you are looking for can be found through MAX (Measurement and Automation Explorer) by creating an Angular Position task for your device.
The default screen that should come up has the Configuration tab selected. In the middle of that pane, there is an area that lists "Signal Connections". In my case, it states channel A should be on PFI0 and canel B should be on PFI1.
Hope this helps.
Michael G
03-31-2011 11:26 AM
Thanks Michael, it worked, PFI0 is CH A and PFI1 is CH B.
I have a another question. I am reading an encoder qudrature signal from a motor and I am using the VI that provided with Labview tutorial, it works fine to read the encoder signal and the direction. For example if I rotate the motor shaft one full revolution I can read 360 degrees, I can read encoder in CW and CCW direction. I am looking to read the count of that signal, some encoders have 4000 counts in one signal some have 256 counts. Can a VI read the number of counts in one encoder signal using DAQ6211.
Regards:
JH
04-01-2011 06:03 PM
Hi jm56789,
I'd be happy to answer your question. A quadrature encoder (with X1 encoding) increments the counter if pulse A leads pulse B and decrements the counter if pulse B leads pulse A. The encoder should specify the number of pulse per revolution (or you can just calculate it by counting the number of pulses that occur after one revolution of the encoder). Dividing the current count by the pulses per revolution and multiplying by 360 degrees gives the current position (in degrees) of the encoder. For more information on how quadrature encoders work see the M Series manual . Hopefully this can give you some more insight.
Just FYI for the future, please post a new thread when you have a new question. It's more likely that people will answer your question when it titled appropriately.
Best regards,
Josh L.