07-13-2012 06:58 AM
Hi,
we have a problem with reading analog input on NI USB 6259.
Analog and digital outputs work perfect, however reading analog values doesn't work properly due to ground problems. We even tried connecting the GND pin with AI pin which should give a precise zero, but it doesn't work.
When the same code was used on a PCI 6251 card it worked nicely and always gave zeros.
How can this problem be solved? I understand that working with more devices with different grounds could be a source of problems, however we tried reading a GND pin from the same port of the same USB card - that should always give us an exact zero.
Please help.
07-16-2012
12:17 PM
- last edited on
03-12-2024
08:38 AM
by
Content Cleaner
sheldon_cooper,
For future reference, this question would be better posted in the Multifunction DAQ board.
Could you please provide some more information on your setup?
07-24-2012
06:01 AM
- last edited on
03-12-2024
08:39 AM
by
Content Cleaner
Could you please provide some more information on your setup?
How should our problem be officialy solved? We tried connecting the grounds (both digital and anlog) and nothing worked, we tried several combinations. There's no problem with generating digital or analog values/waveforms. There's only problem when reading voltages. This was the only solution that worked, but we'd like to do it the "official" way...
Thank you.
07-24-2012 09:00 AM
shledon_cooper,
It appears that you have the analog inputs configured in differential mode. For Channel 0 AI0 is the +input and AI8 is the -input. Similarly, the AI2, AI10 pair serve Channel 2.
You can either leave it that way and ground all the -inputs or reconfigure to single ended.
Lynn