
©
National Instruments Corporation
13
NI 446X Calibration Procedure
4.
Modify the AI voltage channel property using the following functions.
5.
Configure the timing properties of the acquisition using the following
function.
6.
Start the task using the following function.
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
NI-DAQmx Function Call
LabVIEW Block Diagram
Call
DAQmxCfgSampClkTiming
with
the following parameters:
taskHandle
:
myTaskHandle
source
:
NULL
rate
:
204800.0
activeEdge
:
DAQmx_Val_Rising
sampleMode
:
DAQmx_Val_FiniteSamps
sampsPerChanToAcquire
:
102400
NI-DAQmx Function Call
LabVIEW Block Diagram
Call
DAQmxStartTask
with the following
parameters:
taskHandle
:
myTaskHandle