EasyManua.ls Logo

Sys Tec Electronic GW-003 - Ethcan.dll Function Interface; Table 10: Available Functions Within the Software States

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
62 © SYS TEC electronic GmbH 2007 L-1032e_9
is possible to change from the HW_INIT state back to the state
DLL_INIT. Only then it is possible to end the application program.
State Available Functions
DLL_INIT
EthCanGetVersion ()
EthCanInitHardware ()
HW_INIT
EthCanGetVersion ()
EthCanGetStatus ()
EthCanDeinitHardware ()
EthCanReadCanMsg()
EthCanWriteCanMsg()
EthCanResetCan()
EthCanGetConnectionState()
Table 10: Available Functions within the Software States
If multiple CAN-Ethernet Gateways are used in an application then
these states apply to each CAN-Ethernet Gateway. While the first
CAN-Ethernet Gateway is already in the DLL_INIT state, the second
Gateway can be in the HW_INIT state.
7.3.2 EthCan.Dll Function Interface
This section describes the interface functions of the CAN-Ethernet
DLL in terms of their use and return values. The use of the functions
is illustrated with code examples. All function parameters are selected
so that the DLL can be used with programming languages such as
Pascal or Visual Basic.

Table of Contents