From Friday, January 17th 11 PM CDT (January 18th 5 AM UTC) through Saturday, January 18th 11:30 AM CDT (January 18th 5:30 PM UTC), ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

AI Differential Mode software settings

I need to use AI differential mode on NI 6014.
 
On the hardware side, I connect the two ends of the differential signal to pin AI0 and pin AI8.
 
On the software side, I am using C API provided by NIDAQmx on Linux. I looked through the C API functions and I did not find one for setting the AI differential mode.
 
My questions are:
1) Do I need to configure something at all on the software side? 
2) Or no software configuration is actually needed and the data from "Dev/ai0" is already the AI differential signal that I need.
 
Thanks a lot  
0 Kudos
Message 1 of 5
(2,995 Views)

Hi

In NI DAQ( legacy), there was AI_ configure function call to do this.

But I have not seen what is its equivalent in DAQmx.

Do this. Find the examples mentioned in this link and you might get a code that will help you find the equivalent function call in DAQmx

also do search in development library

Hope this helps

Regards

Dev

0 Kudos
Message 2 of 5
(2,988 Views)

Hi All-

The "terminalConfig" parameter of the DAQmxCreateAIVoltageChan() function selects the AI reference configuration to use.  Allowable values for the NI 6014 are as follow: 

  • DAQmx_Val_NRSE   Nonreferenced single-ended mode 
  • DAQmx_Val_Diff   Differential mode 

Hopefully this helps-

Message Edited by Tom W [DE] on 07-25-2006 09:34 AM

Tom W
National Instruments
Message 3 of 5
(2,980 Views)
Thanks! Problem solved Smiley Tongue
Message 4 of 5
(2,970 Views)

Hi apd-

Glad I could help- good luck with the rest of your DAQmx experiment.Smiley Happy

Tom W
National Instruments
0 Kudos
Message 5 of 5
(2,966 Views)