Initialization error
Definition |
Value |
Description |
DIO_ERR_SUCCESS |
0 |
Normal Complete |
DIO_ERR_INI_RESOURCE |
1 |
Failed in the acquisition of resource. |
DIO_ERR_INI_INTERRUPT |
2 |
Failed in the registration of interrupt routine. Make sure whether IRQ duplicates with another device. |
DIO_ERR_INI_MEMORY |
3 |
Failed in memory allocation. This error hardly occurs.If it occurred, please increase memory. |
DIO_ERR_INI_REGISTRY |
4 |
Failed in accessing the setting file. |
DIO_ERR_INI_BOARD_ID |
5 |
Board ID is duplicated. |
Library error
Definition |
Value |
Description |
DIO_ERR_DLL_DEVICE_NAME |
10000 |
Device name which isn't registered in setting file is specified. |
DIO_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. |
DIO_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. |
DIO_ERR_DLL_CREATE_FILE |
10003 |
Failed in creating file (open failed). Make sure whether the device driver is started by lsmod. |
DIO_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. |
DIO_ERR_DLL_CREATE_THREAD |
10005 |
Failed in creating thread. |
DIO_ERR_INFO_INVALID_DEVICE |
10050 |
Specified device name isn't found. Please check the spelling. |
DIO_ERR_INFO_NOT_FIND_DEVICE |
10051 |
The usable device isn't found. |
DIO_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. |
DIO_ERR_DLL_BUFF_ADDRESS |
10100 |
Invalid data buffer address. Buffer address is NULL(0). Make sure the source code of application. |
DIO_ERR_DLL_TRG_KIND |
10300 |
Trigger type is outside the specified range. Error in the parameter of trigger function. Please use the defined value. |
DIO_ERR_DLL_CALLBACK |
10400 |
Invalid address of callback function. |
DIO_ERR_DLL_DIRECTION |
10500 |
I/O direction is outside of the setting range. |
Driver error
Definition |
Value |
Description |
DIO_ERR_SYS_MEMORY |
20000 |
Failed in memory. This error hardly occurs. If this error has occurred, please install more memory. |
DIO_ERR_SYS_NOT_SUPPORTED |
20001 |
This function cannot be used in this device. If the input function was executed for the devices without input port or the output function was executed for the devices without output port, even if Echo Back function is executed, this error occurs. |
DIO_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. It doesn't occur at present. |
DIO_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. |
DIO_ERR_SYS_NOT_SUPPORT_KERNEL |
20004 |
It is not supporting in the kernel of this version. |
DIO_ERR_SYS_PORT_NO |
20100 |
Port number is outside of the specified available range. Please confirm the number of device I/O ports and the using parameter in program. |
DIO_ERR_SYS_PORT_NUM |
20101 |
Number of ports is outside of the specified available range. Up to 256 I/O ports are available. |
DIO_ERR_SYS_BIT_NO |
20102 |
Bit number is outside of the specified available range. Please confirm the number of device's I/O bits and the using parameter in program. |
DIO_ERR_SYS_BIT_NUM |
20103 |
Number of bits is outside of the specified available range. Up to 256 I/O bits are available. |
DIO_ERR_SYS_BIT_DATA |
20104 |
Bit data is neither 0 nor 1. Error in bit output. Please confirm the using parameter in program. |
DIO_ERR_SYS_CH_NO |
20105 |
Channel No. is outside the setting range. |
DIO_ERR_SYS_CH_NUM |
20106 |
Channel number is outside the setting range. |
DIO_ERR_SYS_INT_BIT |
20200 |
Interrupt bit is outside of the specified available range. |
DIO_ERR_SYS_INT_LOGIC |
20201 |
Interrupt logic is outside of the specified available range. Interrupt logic either rising or falling. Please use the defined value. |
DIO_ERR_SYS_TIM |
20300 |
Timer value is outside of the specified range. Error in trigger function. |
DIO_ERR_SYS_TRG_LOGIC |
20202 |
Trigger logic is outside of the specified range. |
DIO_ERR_SYS_FILTER |
20400 |
Filter time constant is outside of the specified range. |
DIO_ERR_SYS_8255 |
20500 |
8255 chip number is outside of the specified range. |
DIO_ERR_SYS_CNT_EDGE |
20700 |
Count edge is outside the setting range. |
DIO_ERR_SYS_CMP_REG_NO |
20800 |
Comparison register No. is outside the setting range. |
DIO_ERR_SYS_CMP_REG_VAL |
20801 |
Comparison register value is outside the setting range. |
DIO_ERR_SYS_COUNT_VAL |
20810 |
Count value is outside the setting range. |
DIO_ERR_SYS_DIRECTION |
50000 |
I/O direction is outside of the setting range. |
DIO_ERR_SYS_SIGNAL |
50001 |
Outside the range of the signal. |
DIO_ERR_SYS_START |
50002 |
Outside the range of the start conditions. |
DIO_ERR_SYS_CLOCK |
50003 |
Clock condition is outside of the setting range. |
DIO_ERR_SYS_CLOCK_VAL |
50004 |
Clock value is outside of the setting range. |
DIO_ERR_SYS_CLOCK_UNIT |
50005 |
Unit of clock value is outside of the setting range. |
DIO_ERR_SYS_STOP |
50006 |
Stop condition is outside of the setting range. |
DIO_ERR_SYS_STOP_NUM |
50007 |
Stop number is outside of the setting range. |
DIO_ERR_SYS_RESET |
50008 |
Reset content is outside of the setting range. |
DIO_ERR_SYS_LEN |
50009 |
Data number is outside of the setting range |
DIO_ERR_SYS_RING |
50010 |
Buffer repetition use setup is outside of the setting range. |
DIO_ERR_SYS_COUNT |
50011 |
Data transfer number is outside of the setting range. |
DIO_ERR_DM_BUFFER |
50100 |
Buffer was too large and has not secured. Buffer was too large and cannot set to board. Please decrease the buffer size. |
DIO_ERR_DM_LOCK_MEMORY |
50101 |
Memory could not be locked. Memory has not been locked. Increase implemental memory or decrease buffer size. |
DIO_ERR_DM_PARAM |
50102 |
Parameter error Some parameters of function are outside of the specified range. Confirm the parameter value. |
DIO_ERR_DM_SEQUENCE |
50103 |
Procedure error of execution Execution procedure of function is wrong.Refer to sample for rewriting execution procedure. |
USB Error
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 |
Ethernet/Wireless I/O error
Definition |
Value |
Description |
DIO_ERR_NET_BASE |
22000 |
Access error. |
DIO_ERR_NET_ACCESS |
22001 |
Access right violation. |
DIO_ERR_NET_AREA |
22002 |
Area error. |
DIO_ERR_NET_SIZE |
22003 |
Access size error. |
DIO_ERR_NET_PARAMETER |
22004 |
Parameter error. |
DIO_ERR_NET_LENGTH |
22005 |
Length error. |
DIO_ERR_NET_RESOURCE |
22006 |
Resource insufficient. |
DIO_ERR_NET_TIMEOUT |
22016 |
Communication timeout occurred. |
DIO_ERR_NET_HANDLE |
22017 |
Handle error. |
DIO_ERR_NET_CLOSE |
22018 |
Close error. |
DIO_ERR_NET_TIMEOUT_WIO |
22064 |
Wireless communication timeout occurred. |
DIO_ERR_NET_NOT_DEVICE |
22065 |
There is no device. |