CAPL Script

Selector DIR

Example Selector DIR (direction of transmission)

on message 0x100 {
  if (this.DIR == Rx) {
    write("message 0x100 received");
  }
  if (this.DIR == Tx) {
    write("message 0x100 sent");
  }
}

Note for CANoe Users

Please note the semantics of Rx for CAPL nodes in the Simulation Setup of CANoe.