Skip to main content
Open topic with navigation CAPL Functions » TCP/IP API » IpGetAdapter

IpGetAdapter

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

Description

The function returns the index of the adapter which is attached to the given channel. For a VLAN adapter the channel and the vlanId has to be given.

Parameters

  • channel: The 1-based Ethernet channel index.
  • vlanId: The VLAN id of the adapter.

Return Values

The adapter index or 0 if there is no adapter for the given channel or VLAN available.

Example