INT32S DRV_EnableSyncAO( PTR_T DeviceHandle, INT16U Enable );
On the device indicated by the DeviceHandle, it initiates the process to change the output current/voltage status of all AO (Analog Output) channels simultaneously. The output of AO output functions (DRV_AOVoltageOut, DRV_AOBinaryOut, DRV_AOCurrentOut) will not be altered until the DRV_WriteSyncAO is called.
| Name | Direction | Range | Description |
| DeviceHandle | input | default | The pointer retrieved from the DRV_DeviceOpen which specifies the target device. |
| Enable | input | default | Enables or cancels the simultaneous output function of all AO channels. |
| 1. 0 | Successful. |
| 2. Other value | Please reference ErrorCodes |