SysEthernetGetInterfaceCounters (FUN)

FUNCTION SysEthernetGetInterfaceCounters : SysTypes.RTS_IEC_RESULT

Get EIP Interface Counters of an adapter identified by its MAC address.

InOut:

Scope

Name

Type

Comment

Return

SysEthernetGetInterfaceCounters

SysTypes.RTS_IEC_RESULT

Runtime system error code (see CmpErrors.library).

Input

macAddress

ARRAY [0..5] OF BYTE

MAC address of the adapter to get information from

pSysEthernetInterfaceCounters

POINTER TO SysEthernetInterfaceCounters

EIP Interface Counters structure

xGetAndClear

BOOL

Set the counters to zero after the response is built.