Skip to main content
Open topic with navigation CAPL Functions » Ethernet » Function Overview » ethResetStatistics

ethResetStatistics

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

void ethResetStatistics( long channel );

Description

Resets Ethernet channel statistics. The Ethernet channel statistics are provided by the Eth<channel> object.

Parameters

  • channel: Ethernet channel number.

Return Values

  • Value range: 1..32

Example

on key 'i'
{
  ethResetStatistics( 1 ); // Reset statistics of Eth 1
}
See Also