Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

200609 error on upgrade from PCMCIA 6036-E USB 6212-M

Solved!
Go to solution

Unfortunately I am more of a "power-user" than a developer, so I may have to research the answer to your question.  However, I can tell you the encoder is an "incremental" type that has an "A-Phase" and a "B-phase" output.  And comparing the 6036-E PCMCIA pinout diagram against the 6212-USB shows both use common connections.  Encoder phase A is the only possible exception (see table below). 

 

Also, from what I can tell, it does look like my encoder is a quadrature encoder (picture below), I'm just not 100% on what type it is (X1, X2, X4).

 

 Encoder Phase A-Encoder phase B-Encoder phase A +Encoder phase B+
Cable PIN #7133716
6036 E PCMCIA PinoutD GNDD GNDPFI 8 / CTR 0 SRCP0.6
6212 M USB PinoutD GNDD GNDPFI 8 / P2.0P0.6

 

 

Does it matter that the 6212 doesn't reference CTR0 on pin 37 while the 6036 does?

Do I need to physically re-wire something for this encoder to increment/decrement with the 6212-USB?

 

Any insight would be greatly appreciated.

 

 

0 Kudos
Message 11 of 14
(2,199 Views)
Solution
Accepted by hma1

Hi hma1,

 

The USB-6212 doesn't support using P0.6 and P0.7 as direction terminals for edge counting. You'll have to wire your encoder's B signal to a PFI terminal instead. In the DAQ Assistant, the direction terminals for the USB-6212 are PFI10 for ctr0 and PFI11 for ctr1.

 

Brad

---
Brad Keryan
NI R&D
Message 12 of 14
(2,182 Views)

Brad,

 

Thanks a lot for your excellent advice.  I wired up the encoder the way you suggested and the counter increments and decrements correctly now!  I will let you know what the results of the first test look like.

 

Thanks again for your helpfulness,

Adam

0 Kudos
Message 13 of 14
(2,164 Views)
The results of the first testing looked good.  Thanks again to everyone for all your support.
0 Kudos
Message 14 of 14
(2,114 Views)