mostParamSet
Valid for: CANoe DEFunction Syntax
Description
Setting of a parameter value in an AMS message using the parameter name from the XML function catalog. Suitable for parameter types ‘Number’, ‘Enum’, ‘BitField’ and ‘Bool’. For parameters of the ‘Enum’ type, the numeric value can be specified. The mostParamSetString function can be used to set the symbolic value. Note: For arrays and sequences the size (number of elements) of the parameter is set. The array size cannot be set, if the parameter ‘Pos’ selects only one array element. Example:Parameters
- msg: Message in which the parameter value should be described.
- paramAdr: Identification of parameters (see Symbolic Identification of Parameters).
- arrayIndex: Parameter index in arrays or sequences. This declaration overwrites the indexing in the brackets of
<paramAdr>. - value: Value of the parameter with whole-number parameter types, decimal places are truncated. A raw value is expected i.e. no conversion formula is applied.