T7 / MUX80 AIN97+ ADC range error in Stream mode | LabJack
 

T7 / MUX80 AIN97+ ADC range error in Stream mode

6 posts / 0 new
Last post
Flemming
Flemming Nyboe's picture
T7 / MUX80 AIN97+ ADC range error in Stream mode

Hello,

I'm using a T7 with a MUX80 + 4x CB37, most channels set to 0.1V range.

This works up to and including AIN96, but for AIN97 and higher, there is an error when using stream mode: The ADC HW remains in 10V range, while the firmware interprets the readings as if it was in 0.1V range.

This is evident since applying a 2V sinewave test signal (e.g. to AIN97 = X5:AIN1 @ single-ended 0.1V range) does not cause clipping, but the output data is a sine wave with 0.020V amplitude, i.e. 1/100 of the actual amplitude.

This problem does not show in command/response mode.

Regards

Flemming Nyboe

LabJack Support
labjack support's picture
We will get the firmware guys

We will get the firmware guys to test this.

LabJack Support
labjack support's picture
With firmware 1.0239 and LJM

With firmware 1.0239 and LJM 1.1600, I'm able to wire VS to AIN97 (X5:AIN1) and get readings of ~5 volts. I set AIN97_RANGE to 10 (or 0).

What happens if you remove all writes to AIN<number>_RANGE from your code and add a write to set AIN_ALL_RANGE to 10 (or 0)?

Also, try disconnecting everything from the T7 except the USB cable (and the Ethernet cable, if your connection is Ethernet).

Flemming
Flemming Nyboe's picture
Hello,

Hello,

Thank you for your response.

> I'm able to wire VS to AIN97 (X5:AIN1) and get readings of ~5 volts. I set AIN97_RANGE to 10 (or 0).

Yes, so do I. The problem appears for 0.1V input range setting (and in streaming mode only). If you leave VS connected to AIN97, and set range to 0.1V, do you see the expected clipped +0.1V, or (like me) around 0.05V ?

> What happens if you remove all writes to AIN<number>_RANGE from your code and add a write to set AIN_ALL_RANGE to 10 (or 0)?

I have tried setting both AIN<#>_RANGE and AIN_ALL_RANGE to 0.1V, which did not help. I will try without the former.

Regards Flemming

LabJack Support
labjack support's picture
We found the issue. Please

We found the issue. Please update your T7 to firmware 1.0240.

Flemming
Flemming Nyboe's picture
Confirmed, that works.

Confirmed, that works.

This is excellent support, thank you!

Regards Flemming