DRV_FreqOutReset

INT32S DRV_FreqOutReset (
   PTR_T DeviceHandle,
   INT32U Channel ); 

Purpose

On PCI-1780/MIC-3780/PCM-3780/USB-4751 indicated by the DeviceHandle, it resets the specified channel to stop the current frequency output operation which is started by DRV_FreqOutStart.

This function is used in PCI-1780/MIC-3780/PCM-3780/USB-4751 only.

Parameters

Name Direction Range Description
DeviceHandle input default Retrieved from DRV_DeviceOpen which specifies the target device.
channel input Depends on the hardware. The target counter channel. The user configures this parameter to choose the device that needs to be reset. If the counter channel count of the device is N, the range of the target counter channel is 0-(N-1).

Return

   1. 0 Successful.
   2. InvalidDeviceHandle The Devicehandle is NULL.
   3. InvalidChannel The target channel is out of range.
   4. Other value Please reference ErrorCodes