AO Waveform Calibration Procedure for NI-DAQmx
8
ni.com
2. Choose the table from the
section that
corresponds to the device you are verifying. This table shows all
acceptable settings for the device. Although NI recommends that you
verify all ranges, you may want to save time by checking only the
ranges used in your application.
3.
Create a task using
DAQmxCreateTask
.
4.
Add an AO voltage task using
DAQmxCreateAOVoltageChan
(
DAQmx Create Virtual Channel VI
) and configure the channel,
section to determine
the minimum and maximum values for your device.
AO 27
AO 27 (pin 14)
AO GND (pin 48)
AO 28
AO 28 (pin 13)
AO GND (pin 47)
AO 29
AO 29 (pin 46)
AO GND (pin 12)
AO 30
AO 30 (pin 11)
AO GND (pin 45)
AO 31
AO 31 (pin 10)
AO GND (pin 44)
NI-DAQ Function Call
LabVIEW Block Diagram
Call
DAQmxCreateTask
with
the following parameters:
taskName
:
MyAOVoltageTask
taskHandle
:
&taskHandle
LabVIEW does not require this step.
NI-DAQ Function Call
LabVIEW Block Diagram
Call
DAQmxCreateAOVoltageChan
with the following parameters:
taskHandle
:
taskHandle
physicalChannel
:
dev1/aoO
nameToAssignToChannel
:
AOVoltageChannel
minVal
:
-10.0
maxVal
:
10.0
units
:
DAQmx_Val_Volts
customScaleName
:
NULL
Table 2.
Connecting the DMM to AO <8..31> on the NI 6723 (Continued)
Output Channel
DMM Positive Input
DMM Negative Input