DRV_WriteSyncAO

INT32S DRV_WriteSyncAO(PTR_T DeviceHandle );

Purpose

On the device indicated by the DeviceHandle, it completes the process to change the output current/voltage status of all AO (Analog Output) channels simultaneously. The output of AO functions (DRV_AOVoltageOut, DRV_AOBinaryOut, DRV_AOCurrentOut) initiated by the DRV_EnableSyncAO is altered when the DRV_WriteSyncAO is called.

Parameters

Name Direction Range Description
DeviceHandle input default The pointer retrieved from the DRV_DeviceOpen which specifies the target device.

Return

   1. 0 Successful.
   2. other value Please reference ErrorCodes