INT32S DRV_AOCurrentOut( PRT_T DeviceHandle, PT_AOCurrentOut *lpAOCurrentOut );
On the device indicated by the DeviceHandle, it changes the output status of an AO (Analog Output) channel by setting a float current value.
This function is implemented by first calling the DRV_AOScale and then calling the DRV_AOBinaryOut.
Some parameters, such as target channel (chan) and output current value (OutputValue), are stored in the PT_AOCurrentOut, structure pointed by the lpAOCurrentOut.
| Name | Direction | Range | Description |
| DeviceHandle | input | default | The pointer retrieved from the DRV_DeviceOpen which specifies the target device. |
| lpAOCurrentOut | input / output | default | The pointer indicates the user-prepared structure PT_AOCurrentOut that stores target channel (INT16U chan) and output voltage value (FP32 OutputValue). |
| 1. 0 | Successful. |
| 2. Other value | Please reference ErrorCodes |