Documentation Index
Fetch the complete documentation index at: https://notevil.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
AREthSetValueString
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
Description
This function can be used to set a string in the object specified in the objectHandle parameter. Enum data types can be set with one of their symbolic values using this function. Note- At present, only the basic A_ASCIISTRING data type is supported.
- A corresponding syntax must be adhered to for specifying the access paths. The access path results from the database description of the value to be read (see also Syntax for Database-based Access Paths).
- The content of a Service Discovery message can also be read out with this function. Here, the value is accessed via a predefined access path (see also Syntax for Predefined SD Access Paths).
Parameters
-
objectHandle: Handle to a AUTOSAR Eth IL object, which must be completely described in the AUTOSAR database. The following objects are supported:
- Messages
- Fields
- Method calls: Handle to a method call that was created with AREthCreateMethodCall.
- valuePath: Path of the value to be set. For specification of complex paths, a corresponding syntax must be adhered to.
- value: New value (this string must be specified as null-terminated string). See BOM in SOME/IP UTF8 and UTF16 strings.
- valueLength: Length of the input string in characters.
Return Values
- 0: The function was successfully executed
- >0: Error code