Software
Support
©
SYS TEC electronic GmbH 2007 L-1032e_9
81
Application Example:
tEthCanHandle EthCanHandle;
tConnectionState
ConnectionState;
DWORD dwRetcode;
//Read Connection Status
dwRetcode = EthCanGetStatus(EthCanHandle,&ConnectionState);
if
(dwRetcode == ETHCAN_SUCCESSFUL)
{
if
(ConnectionState == kConnecting)
{
//Code to be executed
}
if(
ConnectionState == kEstablished)
{
//Code to be executed
}
.
.
.
}
else
{
//Error while reading the connection status
}
Содержание GW-003
Страница 1: ...system house for distributed automation CAN Ethernet Gateway GW 003 Systems Manual Edition April 2007 ...
Страница 5: ...Contents SYS TEC electronic GmbH 2007 L 1032e_9 Index 97 ...
Страница 8: ...CAN Ethernet Gateway SYS TEC electronic GmbH 2007 L 1032e_9 ...
Страница 14: ...CAN Ethernet Gateway 6 SYS TEC electronic GmbH 2007 L 1032e_9 ...
Страница 56: ...CAN Ethernet Gateway 48 SYS TEC electronic GmbH 2007 L 1032e_9 ...
Страница 66: ...CAN Ethernet Gateway 58 SYS TEC electronic GmbH 2007 L 1032e_9 ...
Страница 100: ...CAN Ethernet Gateway 92 SYS TEC electronic GmbH 2007 L 1032e_9 ...
Страница 108: ...Published by SYS TEC electronic GmbH 2007 Ordering No L 1032e_9 Printed in Germany ...