INT32S DRV_QCounterStart ( PTR_T DeviceHandle, PT_QCounterStart *lpQCounterStart );
On the device indicated by the DeviceHandle, it applies the previous setting configuration (set by DRV_QCounterConfig) for event-counting t, and starts the operation.
Some parameters, such as target counter channel (counter) and input mode (InputMode), are stored in the PT_QCounterStart, structure pointed by the lpCounterEventRead.
| Name | Direction | Range | Description |
| DeviceHandle | input | default | The pointer retrieved from DRV_DeviceOpen which specifies the target device. |
| lpQCounterStart | input / output | default | The pointer to indicate the user-prepared structure PT_QCounterStart that stores target counter channel (INT16U counter) and input mode (INT16U InputMode). |
| 1. 0 | Successful. |
| 2. InvalidDeviceHandle | The Devicehandle is NULL. |
| 3. InvalidChannel | The target channel is out of range. |
| 4. Other value | Please reference ErrorCodes |