mostStrictChannelMapping
Valid for: CANoe DE NotemostStrictChannelMapping() may only be called within the on preStart function of the CAPL program!
Function Syntax
mostStrictChannelMapping ();
Description
The MOST sending and receiving behavior of the node is strictly based on the configuration in the Simulation Setup:- MOST messages and events are only received on channels that have been connected to the node in the Simulation Setup.
- By default, the node sends MOST messages on the channel to which it is connected in the Simulation Setup.
"if (this.MsgChannel!=XY) return;" or else the channel is specified in defining the message handling routines e.g. "on mostMessage MsgChannel1.*".
In many cases, the user does not need to allocate the specific channel before sending a message. When a message is created, the channel is allocated by a wildcard (0xFFFF) which is mapped to the channel that is connected in the Simulation Setup for sending in this mode. This makes the CAPL code channel-independent, and it is easier to re-use the code.