NI 446X Calibration Procedure 24 ni.com
14. Repeat steps 1 through 13 for analog output channel 1 of the device.
Replace
ao0 with ao1 in the function call parameters
physicalChannel and channel.
Verifying AO Gain Accuracy
Complete the following steps to verify AO gain accuracy:
1. Connect analog output channel 0 to the input of the multimeter.
2. Create an array of double float of size 1024. Initialize this array with
the value 1.0.
3. Multiply each value in the array by 0.09. Use this array to output
0.09 VDC using the device AO 0.
4. If you use C function calls, create a task using the following function.
If you use LabVIEW, skip this step. The task is created in step 5 in
LabVIEW.
You use the object
myTaskHandle in all subsequent NI-DAQmx
function calls.
5. Create an AO Voltage channel through NI-DAQmx using the following
function.
NI-DAQmx Function Call LabVIEW Block Diagram
Call DAQmxCreateTask with the following
parameter:
taskHandle:
mytaskHandleReturnValue
LabVIEW does not require this step.
NI-DAQmx Function Call LabVIEW Block Diagram
Call DAQmxCreateAOVoltageChan with the
following parameters:
taskHandle:
myTaskHandle
physicalChannel: dev1/ao0
nameToAssignToChannel: ""
minVal: -10.0
maxVal: 10.0
units: DAQmx_Val_Volts
customScaleName: NULL