DRV_AOConfig

INT32S DRV_AOConfig(
   PTR_T DeviceHandle,
   PT_AOConfig *lpAOConfig );

Purpose

On the device indicated by the DeviceHandle, it changes the default output range configuring of target AO (Analog Output) channels.

Parameters

Some parameters, such as target channel (chan), reference source (RefSrc) and maximum reference value (MaxValue), are stored in the PT_AOConfig, structure pointed by the lpAOConfig.

NameDirectionRangeDescription
DeviceHandleinputdefaultThe pointer retrieved from the DRV_DeviceOpen which specifies the target device.
lpAOConfiginput / outputdefaultThe pointer indicates the user-prepared structure PT_AOConfig that stores target channel (INT16U chan), reference source (INT16U RefSrc), maximum reference value (FP32 MaxValue), and minimum reference value (FP32 MinValue).

Return

   1. 0Successful.
   2.Other valuePlease reference ErrorCodes