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.
Содержание USB-CANmodul
Страница 1: ...A Product of PHYTEC Technologie Holding AG USB CANmodul Systems Manual Edition March 2001 ...
Страница 10: ...USB CANmodul 8 SYS TEC electronic GmbH 2001 L 487e_6 ...
Страница 22: ...USB CANmodul 20 SYS TEC electronic GmbH 2001 L 487e_6 ...
Страница 70: ...USB CANmodul 68 SYS TEC electronic GmbH 2001 L 487e_6 ...
Страница 74: ...Published by SYS TEC electronic 2001 Ordering No L 487e_6 Printed in Germany ...