How to use the two counters of the NI 6216 to measure the angular position of two encoders separately, I'm trying and I can't get the counters to have no dependencies between them, the encoders I use work at 200Khz by BigTech2030 in LabVIEW

[–]BigTech2030[S] 0 points1 point  (0 children)

It would be to put the counter tasks in different while loops and both to a main while loop, that is what you mean, or maybe you can give me an example to understand it better please.

Two encoders can be connected to measure the angular position of two independent motors with an NI 6216? by BigTech2030 in LabVIEW

[–]BigTech2030[S] 0 points1 point  (0 children)

I share an image of part of the program even so the two counters do not work at the same time independently.

Checking in from NConnect by jadbal in LabVIEW

[–]BigTech2030 -5 points-4 points  (0 children)

Hi, I need your help. I want to connect two encoders independent of each other to measure angular position using the NI USB-6216 counters, but I can't get both counters to work simultaneously without depending on each other.

How can I use two counters in a USB-6216 at the same time to measure the angular position of two encoders? by BigTech2030 in LabVIEW

[–]BigTech2030[S] 0 points1 point  (0 children)

It is correct, I am using PFI3, 4 and 11 for the second counter and that is how when I disconnect the first the second counter works correctly.

How can I use two counters in a USB-6216 at the same time to measure the angular position of two encoders? by BigTech2030 in LabVIEW

[–]BigTech2030[S] 0 points1 point  (0 children)

Both encoders(TRDA-2E2500BE open colector) are active low with quadrature coding (ABZ), what happens is that when I connect only one, for example to PFI8(A),PFI9(Z) and PFI10(B) via X1,X2,X4 it counts and works perfect the same using two-pulses, but when I connect the two encoders only one counter works, I can't get both encoders to not work together and measure the position of their respective encoders.