on linFrame
Valid for: CANoe DE • CANoe4SW DEDescription
The event procedureon linFrame is called on the receipt of a valid LIN frame.
The keyword this and the selectors (see LIN: linFrame selectors) can be used to access the data of the frame that has just been received.
CAPL nodes are by default not transparent to LIN frames. This means that a CAPL node in the evaluation branch of the Measurement Setup will block the data flow to its right side. To propagate the received frame to a next node in a chain a call to output(this) can be used. However, please note that such a call from a CANoe’s Simulation Setup node may lead to a recursion.
Note
If for example a CAPL program contains the event procedures on linFrame 12 and on linFrame *, the procedure on linFrame 12 will be called up, when a frame with the identifier 12 is received. For all other frames the procedure on linFrame * will be called up.