Quadrature Counter T7pro | LabJack
 

Quadrature Counter T7pro

2 posts / 0 new
Last post
Guillaume
guillaume's picture
Quadrature Counter T7pro

Hi Labjack users,

I am using a T7pro to record the torque and the angular position of two rotating machine

torque1 is read between AIN0 and AIN1

torque2 is read between AIN2 and AIN3

The positions are read on DIO0_EF_A and DIO2_EF_A

For a reason that i can't explain the position is randomly dropping to 0 as shown on the figure attached.

Can anybody help me to fix this issue

sincerly

Guillaume

File Attachment: 
LabJack Support
labjack support's picture
We have discussed two

We have discussed two possible causes for this behavior.

If you have a Z-phase trigger you would expect to see the counts reset after one full rotation. See the z-phase discussion in the overview of our quadrature page:

https://labjack.com/support/datasheets/t-series/digital-io/extended-feat...

If using stream mode the issue could be that you are not reading the upper 16 bits of the counter, so it looks like the counter is rolling over when it isn't. This is briefly mentioned in the stream section of the quadrature page:

https://labjack.com/support/datasheets/t-series/digital-io/extended-feat...

How to read the full 32-bit register while streaming is discussed on our stream page:

https://labjack.com/support/datasheets/t-series/communication/stream-mod...