Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

USB 6211

Solved!
Go to solution

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

0 Kudos
Message 1 of 4
(3,524 Views)
Solution
Accepted by topic author jm56789

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

Michael G.
Applications Engineer
National Instruments
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Self-realization: I was thinking of the immortal words of Socrates, who said, "... I drank what?"
0 Kudos
Message 2 of 4
(3,509 Views)

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

Download All
0 Kudos
Message 3 of 4
(3,488 Views)

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.

Applications Engineer
National Instruments
0 Kudos
Message 4 of 4
(3,473 Views)