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
We will get the firmware guys to test this.
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).
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
We found the issue. Please update your T7 to firmware 1.0240.
Confirmed, that works.
This is excellent support, thank you!
Regards Flemming