Skip to main content
Open topic with navigation CAPL Functions » FlexRay » frSetPduFilter

frSetPduFilter

Valid for: CANoe DE • CANoe4SW DE Note
This function can be called in on preStart and during measurement. This function has only effects on the CAPL nodes in the Simulation Setup.

Function Syntax

void frSetPduFilter(frPDU message, long mode);

Description

The function configures a filter for PDUs. With this filter it is possible to receive single PDUs with update bit = 0. The function overrides the network hardware setting Show PDUs with disabled Update Bit (menu path: Configuration|Network Hardware…|FlexRay| Options). The advantage of this filter is that only dedicated PDUs with disabled update bit are received instead of all PDUs with disabled update bit in the network.

Parameters

  • message
    Name of the PDU to be filtered.
  • mode
    Configures the filter mode.
    • 0
      PDU reception disabled
    • 1
      PDU with update bit = 1 will be received
    • 2
      PDU will be received, the update bit is not evaluated

Return Values

Example