Software
SYS TEC electronic GmbH 2001 L-487e_6
63
3.2.6
Using the Callback Functions
The USBCAN32.DLL provides two callback functions.
UcanConnectControlFkt
Syntax:
void STDCALL UcanConnectControlFkt (BYTE bEvent_p , DWORD
dwParam_p);
Parameter:
bEvent_p:
Event which occurred.
USBCAN_EVENT_CONNECT
USBCAN_EVENT_DISCONNECT
USBCAN_EVENT_FATALDISCON
dwParam_p:
Additional parameter
If bEvent p = 8, then the parameter is
returned from the USB-CAN-Handle of the
disconnected module. No messages are
received from this module and no messages
can be sent. The corresponding USB-CAN-
Handle is invalid; in other instances, the
parameter is 0.
Description:
This callback function informs the application program if a new USB-
CANmodul is connected to the PC, or a connected USB-CANmodul
has been disconnected.
UcanCallbackFkt
Syntax:
void STDCALL UcanCallbackFkt (tUcanHandle UcanHandle_p,
BYTE bEvent_p);
Parameter:
Содержание 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 ...