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

frGetPOCState

Valid for: CANoe DE Note FlexRay bus statistics for CAPL is deactivated by default and must be activated before calling this function. You can do this by calling function frEnableStatistics in an on start handler, see example below.

Function Syntax

Description

Gets the current POC state of a FlexRay channel. For a list of POC states, see description of event procedure on frPOCState.

Parameters

  • channel: FlexRay channel (1…32).
  • channelMask: Channel mask
    • 1 = subchannel A
    • 2 = subchannel B

Return Values

The current POC state, if FlexRay statistics is enabled; 0 otherwise.

Example