NI-DAQmx Function Call
Call
DAQmxCreateTask
parameter:
taskHandle:
mytaskHandleReturnValue
NI-DAQmx Function Call
Call
DAQmxCreateAIVoltageChan
following parameters:
taskHandle:
myTaskHandle
physicalChannel:
dev1/ai0
nameToAssignToChannel:
terminalConfig:
DAQmx_Val_PseudoDiff
minVal:
-10.0
maxVal:
10.0
units:
DAQmx_Val_Volts
CustomScaleName:
© National Instruments Corporation
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.
with the following
You use the object
function calls.
4.
Create an AI voltage channel through NI-DAQmx using the following
function.
with the
""
NULL
LabVIEW Block Diagram
LabVIEW does not require this step.
in all subsequent NI-DAQmx
myTaskHandle
LabVIEW Block Diagram
29
NI 446X Calibration Procedure