![background image](http://html1.mh-extra.com/html/national-instruments/9235/9235_calibration-procedure_709135009.webp)
©
National Instruments Corporation
9
NI 9235/9236 Calibration Procedure
5.
If you use C function calls, create a task using
DAQmxCreateTa
s
k
,
as shown in the following table. If you use LabVIEW, skip this step.
The task is created in step 6 in LabVIEW.
6.
Create and configure an AI Custom Voltage with Excitation channel using
the DAQmx Create Virtual Channel VI, as shown in the following table.
Note
Throughout the procedure, refer to the NI-DAQmx function parameters for the
LabVIEW input values. Refer to the block diagram images for the correct instance to use
for polymorphic VIs.
LabVIEW Block Diagram
NI-DAQmx Function Call
LabVIEW does not require this step.
Call
DAQmxCreateTa
s
k
with
the following parameters:
taskName
:
AIVerificationTask
taskHandle
:
&ta
s
kHandle
LabVIEW Block Diagram
NI-DAQmx Function Call
Call
DAQmxCreateAIVoltageChan
WithExcit
with the following
parameters:
taskHandle
:
ta
s
kHandle
physicalChannel
:
dev1/ai
x
*
nameToAssignToChannel
:
myVoltageChannel
terminalConfig
:
DAQmx_Val_Cfg_Default
minVal
:
–0.027
maxVal
:
0.027
units
:
DAQmx_Val_Volt
s
bridgeConfig
:
DAQmx_Val_QuarterBridge
voltageExcitSource
:
DAQmx_Val_Internal
voltageExcitVal
:
2.0
for the NI 9235
3.3
for the NI 9236
useExcitforScaling
:
TRUE
customScaleName
:
NULL
*
x
refers to the channel number.