
NI 446X Calibration Procedure
12
ni.com
Verifying AI DC Offset
Complete the following steps to verify the AI DC offset:
1.
Connect a 50
Ω
terminator to the analog input channel 0 of the device.
The terminator grounds the input channel when it is in
pseudodifferential configuration.
2.
If you use C function calls, create a task using the following function.
If you use LabVIEW, skip this step. The task is created in step 3 in
LabVIEW.
You use the object
myTaskHandle
in all subsequent NI-DAQmx
function calls.
3.
Create an AI voltage channel through NI-DAQmx using the following
function.
NI-DAQmx Function Call
LabVIEW Block Diagram
Call
DAQmxCreateTask
with the following
parameter:
taskHandle
:
mytaskHandleReturnValue
LabVIEW does not require this step.
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