Skip to main content
Open topic with navigation CAPL Functions » MOST » mostMsgSet

mostMsgSet

Valid for: CANoe DE

Function Syntax

  • long mostMsgSet(mostAmsMessage * msg, long destAdr, char symbolicMessage[], long instId); // form 1
  • long mostMsgSet(mostAmsMessage * msg, char symbolicMessage[], long instId); // form 2
  • long mostMsgSet(mostAmsMessage * msg, char symbolicMessage[]); // form 3

Description

Populating an AMS message using the syntax from the MOST specification and the description in the XML function catalog. PosDescription, TelLen and StreamCases are checked in addition to FunctionBlock, FunctionID and OpType. See also Option .MOST: Symbolic Identification of Messages

Parameters

  • msg: Message to be populated
  • destAdr: Destination address
  • symbolicMessage: Description of the message content in the following formats:
    • FBlock.InstanceId.Function.OpType(Parameterlist)
    • FBlock.InstanceId.Function.OpType
    • FBlock.Function.OpType(Parameterlist)
    • FBlock.Function.OpType
  • InstId: InstanceID of the function block

Return Values

Example

mostParamGetmostParamGetDatamostParamGetStringmostParamSetmostParamSetStringmostAMSOutputoutputGeneral Tips on XML Function Catalog Support in CAPLSymbolic Identification of Parameters