EasyManua.ls Logo

Sys Tec Electronic GW-003 - Error Code Description; Table 11: Ethcan.dll Interface Function Error Codes

Default Icon
108 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
CAN – Ethernet Gateway
84 © SYS TEC electronic GmbH 2007 L-1032e_9
7.3.3 Error Code Description
The functions of the EthCan.Dll return an error code in the form of a
DWORD. Every return value corresponds to an error. All error codes
and their numerical values are listed in the following table.
error code numerical value
ETHCAN_SUCCESSFUL 0x0
ETHCAN_ERR_ILLPARAM 0x1
ETHCAN_ERR_ILLPARAMVAL 0x2
ETHCAN_ERR_ILLHANDLE 0x3
ETHCAN_ERR_HWNOINIT 0x4
ETHCAN_ERR_HWINUSE 0x5
ETHCAN_ERR_HWNOTCONNECTED 0x6
ETHCAN_ERR_HWCONNECT_FAILED 0x7
ETHCAN_ERR_HWDISCONNECT_FAILED 0x8
ETHCAN_ERR_MAXMODULES 0x9
ETHCAN_ERR_SAL 0xA
ETHCAN_ERR_IFBTP 0xB
ETHCAN_ERR_RESOURCE 0xC
Table 11: EthCan.Dll Interface Function Error Codes
ETHCAN_SUCCESSFUL
The function was executed without errors.
ETHCAN_ERR_ILLPARAM
An illegal parameter was passed to the function. The most probable
cause for this error is passing of a NULL pointer.
ETHCAN_ERR_ILLPARAMVAL
An invalid parameter value was passed to the function.

Table of Contents