Skip to main content
Open topic with navigation CAPL Functions » MOST » mostGenerateBusloadEthPkt

mostGenerateBusloadEthPkt

Valid for: CANoe DE Note
This function is only available with MOST hardware VN2640.

Function Syntax

Description

The function sends cyclical packets on the Ethernet channel. Use the mostConfigureBusloadEthPkt function to specify the send parameters and payload pattern.

Parameters

  • channel: Channel of the connected interface.
  • pkts:
    • 0: Stops the busload generation
    • >0: Sends the given number of packets
    • -1: Sends continual packets

Return Values

See error codes.

Example

Configure and start busload stress on keyboard event.
mostConfigureBusloadEthPktOnMostStressmostSetMacAdroutputMostEthPktmostSetSBC