Skip to main content

CAN CAPL Functions

Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DE

ON THIS PAGE:

Bus Statistics

CANdb API

  • getFirstCANdbFilename: Finds out the filename of the first assigned database.
  • getFirstCANdbName: Finds out the name of the first assigned database.
  • getSignalName: Returns the signal name at indexed positions (start bit) in the payload of a CAN message for CAN networks. (Form 1) Returns the signal name at indexed positions (start bit) of a PDU for CAN networks. (Form 2)
  • getMessageAttrInt: Gets the value of a message attribute from the database.
  • GetMessageID: Finds out the message ID.
  • GetMessageName: Finds out the message name.
  • getNextCANdbFilename: Finds out the filenames of the other assigned databases.
  • getNextCANdbName: Finds out the names of the other assigned databases.
  • setSignalStartValues: Sets the values of the signals in the parameter to the start values defined in the database.

Event Procedures

Events of CAN controller

  • on busOff: CAN controller goes to Bus Off.
  • on errorActive: CAN controller goes to ErrorActive.
  • on errorPassive: CAN controller goes to ErrorPassive.
  • on warningLimit: CAN controller reaches the Warning Limit.

General Functions

Hardware API

Selectors

  • Message: Detailed description of the CAN message selectors.
  • ErrorFrame: Detailed description of the CAN Error Frame selectors.

Statistics API