![Sys Tec Electronic USB-CANmodul System Manual Download Page 32](http://html1.mh-extra.com/html/sys-tec-electronic/usb-canmodul/usb-canmodul_system-manual_1421546032.webp)
USB-CANmodul
30
SYS TEC electronic GmbH 2001 L-487e_6
After starting the application program and loading the DLL, the
software is now in the DLL_INIT state. Concurrently,
all required
resources for the DLL have been created.
Calling the library function UcanInitHardware () causes the software
to change into the HW_INIT state. This state contains all resources
required for communication with the USB-CANmodul. It is not
possible to transmit or to receive CAN messages in this state.
If the application software calls the library function UcanInitCan ()
the state changes into CAN_INIT. In this state it is possible to
transmit or to receive CAN messages.
Return with the library function UcanDeinitCan () into the state
HW_INIT and with the library function UcanDeinitHardware () into
the state DLL_INIT. It is possible to close the application program
only after this sequence is completed.
Note:
Make sure to return to the state DLL_INIT before closing
the application program.
DLL loaded
DLL unloaded
DLL_INIT
HW_INIT
CAN_INIT
UcanInitHardware()
UcanInitCan()
UcanDeinitHardware()
UcanDeinitCan()
Figure 12:
Software State Diagram
Summary of Contents for USB-CANmodul
Page 1: ...A Product of PHYTEC Technologie Holding AG USB CANmodul Systems Manual Edition March 2001 ...
Page 10: ...USB CANmodul 8 SYS TEC electronic GmbH 2001 L 487e_6 ...
Page 22: ...USB CANmodul 20 SYS TEC electronic GmbH 2001 L 487e_6 ...
Page 70: ...USB CANmodul 68 SYS TEC electronic GmbH 2001 L 487e_6 ...
Page 74: ...Published by SYS TEC electronic 2001 Ordering No L 487e_6 Printed in Germany ...