NI 9205/9206 Calibration Procedure
8
ni.com
4.
Create and configure an AI voltage channel through NI-DAQmx using
DAQmxCreateAIVoltageChan
(DAQmx Create Virtual Channel
VI), as shown in the following table. Use Table 4 to determine the
minimum and maximum values for the device.
5.
Configure the timing properties for the voltage acquisition using
DAQmxCfgSampClkTiming
(DAQmx Timing VI), as shown in the
following table.
NI-DAQmx Function Call
LabVIEW Block Diagram
Call
DAQmxCreateAIVoltageChan
with the following parameters:
taskHandle
:
taskHandle
physicalChannel
:
dev1/ai0
nameToAssignToChannel
:
myVoltageChannel
terminalConfig
:
DAQmx_Val_Cfg_Default
minVal
:
–10.0
maxVal
:
10.0
units
:
DAQmx_Val_Volts
customScaleName
:
NULL
NI-DAQmx Function Call
LabVIEW Block Diagram
Call
DAQmxCfgSampClkTiming
with the following parameters:
taskHandle
:
taskHandle
source
:
NULL
rate
:
100000.0
activeEdge
:
DAQmx_Val_Rising
sampleMode
:
DAQmx_Val_FiniteSamps
sampsPerChan
:
10000