INT32S DRV_AOBinaryOut( PTR_T DeviceHandle, PT_AOBinaryOut *lpAOBinaryOut );
On the device indicated by the DeviceHandle, it changes the output voltage status of an AO (Analog Output) channel by setting the binary data. The DRV_AOScale can be used to convert a floating-point voltage value to its corresponding binary data.
Some parameters, such as target channel (chan) and raw binary data (BinData), are stored in the PT_AOBinaryOut, structure pointed by the lpAOBinaryOut.
| Name | Direction | Range | Description |
| DeviceHandle | input | default | The pointer retrieved from the DRV_DeviceOpen which specifies the target device. |
| lpAOBinaryOut | input / output | default | The pointer to indicate the user-prepared structure PT_AOBinaryOut that stores target channel (INT16U chan) and raw binary data (INT16U BinData). |
| 1. 0 | Successful. |
| 2. Other value | Please reference ErrorCodes |