![background image](http://html1.mh-extra.com/html/national-instruments/446-series/446-series_calibration-procedure_3597918029.webp)
©
National Instruments Corporation
29
NI 446X Calibration Procedure
3.
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 4 in
LabVIEW.
You use the object
myTaskHandle
in all subsequent NI-DAQmx
function calls.
4.
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