Initialization Errors
Definition |
Value |
Description |
CNT_ERR_SUCCESS |
0 |
Normality completion |
CNT_ERR_INI_RESOURCE |
1 |
Failed
in the acquisition of the resource. |
CNT_ERR_INI_INTERRUPT |
2 |
Failed
in the registration of the interruption routine. |
CNT_ERR_INI_MEMORY |
3 |
Failed
in the allocation of the memory. |
CNT_ERR_INI_REGISTRY |
4 |
Failed
in the access of registry. |
CNT_ERR_SYS_RECOVERED_FROM_STANDBY |
7 |
Execute the function CntResetDevice to return from the standby mode. |
CNT_ERR_INI_NOT_FOUND_SYS_FILE |
8 |
Because the ccnt.sys file is not found, it is not possible to initialize it. |
CNT_ERR_INI_DLL_FILE_VERSION |
9 |
Because the version information on the ccnt.dll file cannot be retrieved, it is not possible to initialize it. |
CNT_ERR_INI_SYS_FILE_VERSION |
10 |
Because the version information on the ccnt.sys file cannot be retrieved, it is not possible to initialize it. |
CNT_ERR_INI_NO_MATCH_DRV_VERSION |
11 |
Because the version information of ccnt.dll is not corresponding to the version information of ccnt.sys, it is not possible to initialize it. |
DLL Errors
Definition |
Value |
Description |
CNT_ERR_DLL_DEVICE_NAME |
10000 |
The
device name which wasn't registered by a device manager was specified. |
CNT_ERR_DLL_INVALID_ID |
10001 |
Invalid
ID was specified. |
CNT_ERR_DLL_CALL_DRIVER |
10002 |
CNT
driver can't be called (Failed in the device I/O control). |
CNT_ERR_DLL_CREATE_FILE |
10003 |
Failed
in the creation of the file (Failed in CreateFile). |
CNT_ERR_DLL_CLOSE_FILE |
10004 |
Failed
in the closing of the file (Failed in CloseFile). |
CNT_ERR_DLL_CREATE_THREAD |
10005 |
Failed
in the creation of the thread (Failed in CreateThread). |
CNT_ERR_INFO_INVALID_DEVICE |
10050 |
The
specified device name is not found. Please check spelling. |
CNT_ERR_INFO_NOT_FIND_DEVICE |
10051 |
No
more device. |
CNT_ERR_INFO_INVALID_INFOTYPE |
10052 |
Information
type is invalid. |
CNT_ERR_DLL_MODE |
10100 |
Invalid
mode setting. |
CNT_ERR_DLL_BUFF_ADDRESS |
10101 |
Invalid
data buffer address. |
CNT_ERR_DLL_HWND |
10200 |
Window
handle is invalid. |
Driver Errors
Definition |
Value |
Description |
CNT_ERR_SYS_MEMORY |
20000 |
It failed in memory allocation for the object preparation. This error would hardly occur. If this error occurred, please extend the memory. |
CNT_ERR_SYS_NOT_SUPPORTED |
20001 |
This function can't be used by this device. |
CNT_ERR_SYS_BOARD_EXECUTING |
20002 |
Cannot
use while by another device works. |
CNT_ERR_SYS_USING_OTHER_PROCESS |
20003 |
Cannot
use because another process is using the device. |
USB Errors
Definition |
Value |
Description |
STATUS_SYS_USB_CRC |
20020 |
The final data packet received from the endpoint have CRC error. |
STATUS_SYS_USB_BTSTUFF |
20021 |
The final data packet received from the endpoint have infract of bit stuff error. |
STATUS_SYS_USB_DATA_TOGGLE_MISMATCH |
20022 |
The final data packet received from the endpoint mismatch with the expected data toggle packet. |
STATUS_SYS_USB_STALL_PID |
20023 |
The STALL packet id returned from the endpoint. |
STATUS_SYS_USB_DEV_NOT_RESPONDING |
20024 |
The device is marked with unresponsive token (IN). Or it cannot support handshake. |
STATUS_SYS_USB_PID_CHECK_FAILURE |
20025 |
The device is marked with unresponsive token (IN). Or it cannot support handshake. |
STATUS_SYS_USB_UNEXPECTED_PID |
20026 |
Received packet id is invalid or undefined. |
STATUS_SYS_USB_DATA_OVERRUN |
20027 |
The size of the data returned from the endpoint is over the permitted maximum length of data packet or buffer remain. |
STATUS_SYS_USB_DATA_UNDERRUN |
20028 |
The size of the data returned from the endpoint is not up to the expectation. |
STATUS_SYS_USB_BUFFER_OVERRUN |
20029 |
The size of the data returned from the endpoint is not up to the expectation. |
STATUS_SYS_USB_BUFFER_UNDERRUN |
20030 |
When doing OUT transfer, the specified buffer cannot store all the data transferred to the device. |
STATUS_SYS_USB_ENDPOINT_HALTED |
20031 |
The status of the endpoint is STALL, transfer failed. |
STATUS_SYS_USB_NOT_FOUND_DEVINFO |
20032 |
The device information is not found. |
STATUS_SYS_USB_ACCESS_DENIED |
20033 |
The access to hardware was refused. |
STATUS_SYS_USB_INVALID_HANDLE |
20034 |
The specified handle is invalid. |
Driver CNT Errors
Definition |
Value |
Description |
CNT_ERR_SYS_MODE |
20100 |
Invalid
mode setting. |
CNT_ERR_SYS_CH_NO |
20201 |
Channel
number is out of range. |
CNT_ERR_SYS_CH_NUM |
20202 |
Number
of channels is out of range. |
CNT_ERR_SYS_CH_VALUE |
20203 |
Counter value is out of range. |
CNT_ERR_SYS_REGNO |
20204 |
Compare register number is out of range. |
CNT_ERR_SYS_TIMER_VALUE |
20300 |
Timer value is out of range. |
CNT_ERR_SYS_OUTPUT_LOGIC |
20301 |
The output logic of the control output signal is out of range. |
CNT_ERR_SYS_EVENT_TYPE |
20302 |
The kind of hardware event is out of range. |
CNT_ERR_SYS_PULSE_WIDTH |
20303 |
The coefficient of one-shot pulse width is out of range. |
CNT_ERR_SYS_INPUT_LOGIC |
20304 |
The input logic of control input signal is out of range. |
CNT_ERR_SYS_OUTPUT_DATA |
20305 |
The output data is out of range. |
CNT_ERR_NET_BASE |
22000 |
Access
error. |
CNT_ERR_NET_ACCESS |
22001 |
Access
right violation. |
CNT_ERR_NET_AREA |
22002 |
Area
error. |
CNT_ERR_NET_SIZE |
22003 |
Access
size error. |
CNT_ERR_NET_PARAMETER |
22004 |
Parameter
error. |
CNT_ERR_NET_LENGTH |
22005 |
Length
error. |
CNT_ERR_NET_RESOURCE |
22006 |
Resource
insufficient. |
CNT_ERR_NET_TIMEOUT |
22016 |
Communication
timeout occurred. |
CNT_ERR_NET_HANDLE |
22017 |
Handle error. |
CNT_ERR_NET_CLOSE |
22018 |
Close
error. |
Driver CNT Sampling Function Error
Definition |
Value |
Description |
CNT_ERR_SYS_START_SIGNAL |
21000 |
The start signal is out of range. |
CNT_ERR_SYS_STOP_SIGNAL |
21001 |
The stop signal is out of range. |
CNT_ERR_SYS_CLOCK_SIGNAL |
21002 |
The clock signal is out of range. |
CNT_ERR_SYS_SIGNAL |
21003 |
The available signal is out of range. |
CNT_ERR_SYS_COUNT_MODE |
21004 |
The count mode is out of range. |
CNT_ERR_SYS_START_TRG |
21005 |
The start condition is out of range. |
CNT_ERR_SYS_COUNT_START_MODE |
21006 |
The count start condition is out of range. |
CNT_ERR_SYS_CLOCK_TRG |
21007 |
The clock condition is out of range. |
CNT_ERR_SYS_STOP_TRG |
21008 |
The stop condition is out of range. |
CNT_ERR_SYS_CLOCK_VAL |
21009 |
The clock value is out of range. |
CNT_ERR_SYS_CLOCK_UNIT |
21010 |
The unit of clock value is out of range. |
CNT_ERR_SYS_STOP_NUM |
21011 |
The time of sampling stop is out of range. |
CNT_ERR_SYS_COUNT_STOP_MODE |
21012 |
The count stop condition is out of range. |
CNT_ERR_SYS_BUFFER |
21100 |
Because the buffer was too large, it was not possible to secure it. |
CNT_ERR_SYS_LOCK_MEMORY |
21101 |
The memory cannot be locked. |
CNT_ERR_SYS_SEQUENCE |
21102 |
Execution procedure error |