Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Reading differential signals with USB-6210

I am trying to read differential signals from an accelerometer with an NI USB-6210 mydaq. We have previously written code for a different pair of accelerometers that used a reference voltage rather than a differential signal and the code is such a mess that I'm having a hard time figuring out how to change it for this new device. I tried using NI examples for differential signal measurements but it doesn't seem to show any difference when the accelerometer is shaken (if it's even supposed to). At this point I just don't think I know what I'm doing and could use some help.

 

For reference, the accelerometer is connected to an external power supply at 10 Vdc. The +OUT wire is connected to terminal AI0 and the -OUT wire is connected to terminal AI1. The accelerometer measures 0.1269 mV/g up to 2000 g's with a zero acceleration output of +-25 mV. The example VI I am attempting to use is "Voltage - Continuous Input.vi"

0 Kudos
Message 1 of 3
(4,813 Views)
The 6210 and the myDaq are two different devices. Which once are actually using? For the 6210, ai0 and ai1 are certainly wrong for a differential measurement. You would connect ai0 and ai8 and specify just ai0 as the differential channel.

0 Kudos
Message 2 of 3
(4,806 Views)

Oops, we're using the 6210. We were originally using the AI0 and AI8 terminals but another of the example VIs said to connect to 0 and 1 so I just left them in there after trying.

0 Kudos
Message 3 of 3
(4,803 Views)