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.
AREthGetValuePhys
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
Description
This function can be used to read out a physical value from the object specified in the objectHandle parameter. All necessary information such as data type and conversion formula must be stored in the FIBEX database. Note:- If no conversion formula is stored in the database, identical (Factor 1, no Offset) is applied implicitly.
- For large numerical values, conversion from real numbers to integers can result in deviations.
Parameters
-
objectHandle: Handle to a AUTOSAR Eth IL Object. 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 read out. For specification of complex paths, a corresponding syntax must be adhered to (see also Syntax for Database-based Access Paths).
Return Values
- Physical value: In the event of an error, the function returns the value 0. The AREthGetLastError function can then be used to check whether the value is valid or an error has occurred.