Hi
I'm using a USB-1608G and I connected a voltage device in the differential set-up. I installed the Linux driver.
I adapted the sample code 'AIn.c' to work for differential voltages by setting:
inputMode=AI_DIFFERENTIAL;
range=BIP1VOLTS;
However, the voltage reading is low. If I apply 1.0V I read around 0.998V. This uses the ulAIn function.
If I plug the device in to a Windows laptop and read the voltage using DAQami I get 1.0V.
Also, I adapted the sample code 'AInScan.c', which uses the ulAInScan function, to read differential voltages and this gave approx 1.0V.
Is there a problem with ulAIn voltage reading? Perhaps I am missing a required setting? Why does the ulAInScan give a different (and correct) number?
Thanks
Matt