© National Instruments Corporation 35 NI 446X Calibration Procedure
6. Create an AO Voltage channel through NI-DAQmx using the following
function.
7. Modify the AO voltage channel property using the following function.
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
NI-DAQmx Function Call
Call DAQmxSetAOIdleOutputBehavior with the following parameters:
taskHandle:
myTaskHandle
channel: dev1/ao0
data: DAQmx_Val_HighImpedance
Call DAQmxSetAOGain with the following parameters:
taskHandle:
myTaskHandle
channel: dev1/ao0
data: -40.0