EasyManua.ls Logo

Sys Tec Electronic USB-CANmodul - USBCAN32.DLL Function Error Codes

Sys Tec Electronic USB-CANmodul
74 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...
Software
SYS TEC electronic GmbH 2001 L-487e_6
51
3.2.3
Error Codes of the Functions
The functions of the USBCAN32.DLL return an error code with the
type of a BYTE. Each return value represents an error. The only
exception is the function UcanReadCanMsg () which can also return
warnings. The warning USBCAN_WARN_NODATA indicates that no
CAN messages are in the buffer. Other warnings show the calling
function that an event has occurred but a valid CAN message is
transferred.
All possible return codes for the functions of the USBCAN32.DLL
are listed below:
USBCAN_SUCCESSFUL
Value: 0x00
Description:
This message returns if the function is executed successfully.
USBCAN_ERR_RESOURCE
Value: 0x01
Description:
This error message returns if one resource could not be
generated. In this case the term resource means memory and
handles provided by Windows.

Table of Contents