INT32S DRV_FreqOutStart ( PTR_T DeviceHandle, PT_FreqOutStart *lpFreqOutStart );
On PCI-1780/MIC-3780/PCM-3780 indicated by the DeviceHandle, it
starts the pre-configured frequency output operation on the specified
channel. This operation can be stopped by
the DRV_FreqOutReset.
This function is used in PCI-1780/MIC-3780/PCM-3780 only.
Some parameters, such as target counter channel (counter), frequency divider (usDivider) and clock source (usFoutSrc) for frequency output, are stored in the PT_FreqOutStart structure pointed by the lpFreqOutStart.
| Name | Direction | Range | Description |
| DeviceHandle | input | default | The pointer retrieved from DRV_DeviceOpen which specifies the target device. |
| lpFreqOutStart | input | default | The pointer to indicate the user-prepared structure PT_FreqOutStart that stores target counter channel (INT16U usChannel), frequency divider (INT16U usDivider) and clock source (INT16U usFoutSrc) for frequency output. |
| 1. 0 | Successful. |
| 2. InvalidDeviceHandle | The Devicehandle is NULL. |
| 3. InvalidChannel | The target channel is out of range. |
| 4. InvalidInputParam | The clock source is configured incorrectly. |
| 5. Other value | Please reference ErrorCodes |