NI 446X Calibration Procedure 30 ni.com
5. Modify the AI voltage channel property using the following functions.
6. Configure the timing properties of the acquisition using the following
function.
7. 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: 0.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: 40000.0
activeEdge: DAQmx_Val_Rising
sampleMode:
DAQmx_Val_FiniteSamps
sampsPerChanToAcquire:
2560000
NI-DAQmx Function Call LabVIEW Block Diagram
Call DAQmxStartTask with the following
parameters:
taskHandle:
myTaskHandle