Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How to change the input voltage level in PCI6014

How can i set different input voltages of +/_ 10 V, 5 V 0.5 and 0.05 V full scale in PCI6014 card. We are progrmming in VC++
0 Kudos
Message 1 of 2
(2,423 Views)
Hello Shakes. Thank you for contacting National Instruments. You didn't specify if you were using DAQmx or Traditional DAQ so I will show you how to do both.

For DAQmx: Change the values of minVal and maxVal.
int32 DAQmxCreateAIVoltageChan (TaskHandle taskHandle, const char physicalChannel[], const char nameToAssignToChannel[], int32 terminalConfig, float64 minVal, float64 maxVal, int32 units, const char customScaleName[]);

For Traditional DAQ: Change the value of iGain to the correct gain for the input range. Unlike DAQmx, there are many functions where you can set this. If you have any questions on a specific application take a look at the examples found at C:\Program Files\National Instruments\NI-DAQ\Examples\VisualC\Ai.

Input RangeGain
-10 to 10V.5
-5 to 5V1
-500 to 500mV10
-50 to 50mV100


Please let me know if you have any questions. Have a great day!

Marni S.
National Instruments
0 Kudos
Message 2 of 2
(2,400 Views)