
NI 446X Calibration Procedure
16
ni.com
4.
Create an AI voltage channel through NI-DAQmx using the following
function.
5.
Modify the AI voltage channel property using the following functions.
NI-DAQmx Function Call
LabVIEW Block Diagram
Call
DAQmxCreateAIVoltageChan
with the
following parameters:
taskHandle
:
myTaskHandle
physicalChannel
:
dev1/ai0
nameToAssignToChannel
:
""
terminalConfig
:
DAQmx_Val_PseudoDiff
minVal
:
-10.0
maxVal
:
10.0
units
:
DAQmx_Val_Volts
CustomScaleName
:
NULL
NI-DAQmx Function Call
LabVIEW Block Diagram
Call
DAQmxSetAIGain
with the
following parameters:
taskHandle
:
myTaskHandle
channel
:
dev1/ai0
data
:
-20.0
Call
DAQmxSetAICoupling
with the
following parameters:
taskHandle
:
myTaskHandle
channel
:
dev1/ai0
data
:
DAQmx_Val_DC