Details of Error Code

Initialization Errors

Definition

Value

Description

CNT_ERR_SUCCESS

0

Normal Complete

CNT_ERR_INI_RESOURCE

1

Failed in the acquisition of resource.

CNT_ERR_INI_INTERRUPT

2

Failed in the registration of interrupt routine. Make sure whether IRQ duplicates with another device.

CNT_ERR_INI_MEMORY

3

Failed in the memory allocation. This error hardly occurs. If this error has occurred, please install more memory.

CNT_ERR_INI_REGISTRY

4

Failed in accessing the setting file.

CNT_ERR_INI_BOARD_ID

5

Board ID is duplicated.

 

Library Errors

Definition

Value

Description

CNT_ERR_DLL_DEVICE_NAME

10000

Device name which isn't registered in setting file is specified.

CNT_ERR_DLL_INVALID_ID

10001

Invalid ID is specified. Make sure whether initialization function normally complete. And, make sure the scope of variable in which ID is stored.

CNT_ERR_DLL_CALL_DRIVER

10002

Driver cannot be called (failed in ioctl). Make sure whether initialization function normally complete. And, make sure the scope of variable which ID is stored.

CNT_ERR_DLL_CREATE_FILE

10003

Failed in creating file (open failed). Make sure whether the device driver is started by lsmod.

CNT_ERR_DLL_CLOSE_FILE

10004

Failed in closing file (close failed). It is possible that you have executed the exit processing of the device which wasn't initialized.

CNT_ERR_DLL_CREATE_THREAD

10005

Failed in creating thread.

CNT_ERR_INFO_INVALID_DEVICE

10050

Specified device name isn't found. Please check the spelling.

CNT_ERR_INFO_NOT_FIND_DEVICE

10051

The usable device isn't found.

CNT_ERR_INFO_INVALID_INFOTYPE

10052

The specified device information type is outside the range. It is an error in getting information function. Make sure the parameter.

CNT_ERR_DLL_MODE

10100

Invalid mode setting.

CNT_ERR_DLL_BUFF_ADDRESS

10101

Invalid data buffer address. Buffer address is NULL(0). Make sure the source code of application.

CNT_ERR_DLL_CALLBACK

10400

Invalid address of callback function.

CNT_ERR_DLL_GENINP

10401

Invalid general-purpose input type.

 

Driver Errors

Definition

Value

Description

CNT_ERR_SYS_MEMORY

20000

Failed in memory. This error hardly occurs. If this error has occurred, please install more memory.

CNT_ERR_SYS_NOT_SUPPORTED

20001

This function cannot be used in this device.

CNT_ERR_SYS_BOARD_EXECUTING

20002

It cannot perform because the device is executing. When the device is being accessed in background, the error would occurs if the processing of foreground cannot execute.

CNT_ERR_SYS_USING_OTHER_PROCESS

20003

It cannot perform because the other process is using the device. Confirm the restrictions in using the multi-processes.

CNT_ERR_SYS_MODE

20100

Invalid mode setting.

CNT_ERR_CH_NO

20201

Channel number is outside the range.

CNT_ERR_CH_NUM

20202

Number of channels is outside the range.

CNT_ERR_SYS_CH_VALUE

20203

Counter value is outside the range.

CNT_ERR_SYS_REGNO

20204

Compare register number is outside the range.

CNT_ERR_SYS_TIMER_VALUE

20300

Timer value is outside the 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.

 

USB Errors

Definition

Value

Description

STATUS_SYS_USB_CRC

20020

CRC mismatch

STATUS_SYS_USB_BTSTUFF

20021

BITSTUFF error

STATUS_SYS_USB_NO_ENTRY

20022

URB stop (stop request to endpoint)

STATUS_SYS_USB_CONNECT_RESET

20023

URB is an unlink

STATUS_SYS_USB_INPROGRESS

20024

During URB processing

STATUS_SYS_USB_COMMUNICATION

20025

Receive URB, receive data faster than write data to memory

STATUS_SYS_USB_STREAM_RESOURCE

20026

At the time of transmission URB, the data rate is faster than the transmission data rate, data can not be taken out from the memory

STATUS_SYS_USB_DATA_OVERRUN

20027

Receive more data than the maximum packet size

STATUS_SYS_USB_REMOTE_IO

20028

The total amount of URB request data was not received

STATUS_SYS_USB_NO_DEVICE

20029

No USB device in system

STATUS_SYS_USB_XDEV

20030

Partial completion of isochronous transfer

STATUS_SYS_USB_ENDPOINT_HALTED

20031

End point stall

STATUS_SYS_USB_INVALID

20032

Argument error etc. Fatal error

STATUS_SYS_USB_SHUTDOWN

20033

Device disconnects from system

STATUS_SYS_USB_TIMEOUT

20034

Transfer timeout

 

Driver CNT Sampling Function Errors

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_COUNTER_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

 

Ethernet error

Definition

Value

Description

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.

CNT_ERR_NET_TIMEOUT_WIO

22064

Wireless communication timeout occurred.

CNT_ERR_NET_NOT_DEVICE

22065

There is no device.