©
National Instruments
9
SCXI-1104/C Calibration Procedure
5.
Add a voltage channel using the
DAQmx Create Virtual Channel VI.
6.
Configure timing for the voltage acquisition using the DAQmx
Timing VI.
7.
Commit the verification changes using the DAQmx Control Task VI.
LabVIEW Block Diagram
NI-DAQmx Function Call
Call
DAQmxCreateAIVoltageChan
with the
following parameters:
taskHandle
:
taskHandle
physicalChannel
:
"SC1Mod1/ai
X"
†
nameToAssignToChannel
:
"
myVoltageChannel"
terminalConfig
:
DAQmx_Val_Cfg_Default
minVal
: -45 V
maxVal
: 45 V
units
:
DAQmx_Val_Volts
customScaleName
:
""
†
Where
X
refers to the channel you are verifying.
LabVIEW Block Diagram
NI-DAQmx Function Call
Call
DAQmxCfgSampClkTiming
with the following
parameters:
taskHandle
:
taskHandle
source
:
""
rate
:
1000.0
activeEdge
:
DAQmx_Val_Rising
sampleMode
:
DAQmx_Val_FiniteSamps
sampsPerChan
:
1000
LabVIEW Block Diagram
NI-DAQmx Function Call
Call
DAQmxTaskControl
with the following
parameters:
taskHandle
:
taskHandle
action
:
DAQmx_Val_Task_Commit