NI-DAQmx Function Call
Call
DAQmxSetAIGain
following parameters:
taskHandle:
myTaskHandle
channel:
dev1/ai0
data:
-20.0
Call
DAQmxSetAICoupling
following parameters:
taskHandle:
myTaskHandle
channel:
dev1/ai0
data:
DAQmx_Val_DC
NI-DAQmx Function Call
Call
DAQmxCfgSampClkTiming
the following parameters:
taskHandle:
myTaskHandle
source:
NULL
rate:
204800.0
activeEdge:
DAQmx_Val_Rising
sampleMode:
DAQmx_Val_FiniteSamps
sampsPerChanToAcquire:
NI-DAQmx Function Call
Call
DAQmxStartTask
parameters:
taskHandle:
myTaskHandle
© National Instruments Corporation
4.
Modify the AI voltage channel property using the following functions.
with the
with the
5.
Configure the timing properties of the acquisition using the following
function.
with
102400
6.
Start the task using the following function.
with the following
LabVIEW Block Diagram
LabVIEW Block Diagram
LabVIEW Block Diagram
13
NI 446X Calibration Procedure