NI 6738/6739 Calibration Procedure
|
© National Instruments
|
13
1.
Connect the DMM to AO 0 as shown in Table 2,
.
Note
If you are using the NI 4070, ensure that it is set to the 10 V range.
2.
Call
DAQmxCreateAOVoltageChan
with the following parameters:
•
taskHandle
:
taskHandle
•
physicalChannel
:
Dev_name/ao0
•
nameToAssignToChannel
:
AOVoltageChannel
•
minVal
:
-10.0
•
maxVal
:
10.0
•
units
:
DAQmx_Val_Volts
•
customScaleName
:
NULL
Note
Throughout the procedure, refer to the NI-DAQmx function call parameters
for the LabVIEW input values.
3.
Call
DAQmxStartTask
with the following parameter using Table 3,
:
•
taskHandle
:
taskHandle
4.
Call
DAQmxWriteAnalogF64
with the following parameters, using
7.5
for
data
:
•
taskHandle
:
taskHandle
•
numSampsPerChan
:
1
•
autoStart
:
1
•
timeout
:
10.0
•
dataLayout
:
DAQmx_Val_GroupByChannel
•
writeArray
:
&data
•
sampsPerChanWritten
:
&samplesWritten
•
reserved
:
NULL
5.
Use the DMM to read the value of AO 0.
6.
Call
DAQmxClearTask
with the following parameter:
•
taskHandle
:
taskHandle
7.
Call
DAQmxInitExtCal
with the following parameters:
•
deviceName
:
Dev_name
•
password
:
NI
•
calHandle
:
&calHandle