on mostMessage
Valid for: CANoe DEFunction Syntax
on mostMessage;
Description
The event procedureon mostMessage is called on the receipt of a function catalog conform MOST frame (RType=Normal).
The key word this and the message selectors (see Selectors) are available within the event procedures, to access the data of the message that has just been received. The command output(this) can be used for forwarding the message in a node chain.
Parameters
—Return Values
—Example
The following examples show various modes of the event procedureon mostMessage:
on mostMessage AudioPlayer.TimePosition.Set
React to messageAudioPlayer.TimePosition.Setdefined in a XML function catalog.on mostMessage AudioPlayer_TimePosition_Set
React to messageAudioPlayer_TimePosition_Setdefined in a CANdb database.on mostMessage *
React to all MOST messageson mostMessage 0x312010
React to message0x312010(function block 0x31, function 0x201, operation 0x0)on mostMessage MsgChannel1.*
React to all messages received by channel 1.on mostMessage MsgChannel1.0x312010
React to message0x312010if it is received by channel 1.on mostMessage 0x22104C,0x312010-0x31201F
React to messages0x22104Cand0x31201cthrough0x31201F.