INT32S DRV_CounterReset ( PTR_T DeviceHandle, INT32U counter );
On the device indicated by the DevcieHandle, it resets a specific counter or timer to stop the current operation. The function works for all types of counter/timer functions, including DRV_CounterEventStart, DRV_CounterFreqStart, DRV_QCounterStart, DRV_CounterPulseStart, DRV_CounterPWMEnable and DRV_TimerCounterSetting, except the special function DRV_FreqOutStart of PCI-1780/MIC3780/PCM3780.
|
Name |
Direction |
Range |
Description |
|
DeviceHandle |
input |
default |
The pointer retrieved from DRV_DeviceOpen which specifies the target device. |
|
counter |
input |
default |
The user-specified counter to be stopped. |
|
1. 0 |
Successful. |
|
2. InvalidDeviceHandle |
The Devicehandle is NULL. |
|
3. InvalidChannel |
The target channel is out of range. |