sysSetVariableMemberPhys
Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DEFunction Syntax
long sysSetVariableMemberPhys(char namespace[], char variableAndMemberName[], double value); // form 1long sysSetVariableMemberPhys(SysVarMemberName, double value); // form 2
Description
Sets the physical value of a specific element of a variable of type struct or generic array. Note: Direct access to values from system variablesParameters
- namespace: Name of the namespace.
- variableAndMemberName: Name of the variable and the element of the struct/array.
- SysVarName: Name of the fully qualified name of the system variable element, including all namespaces, separated by ”::”. The name must be preceded by “sysVarMember::”.
- value: Sets the new physical value of the element.
Return Values
- 0: no error, function successful
- 2: variable or element were not found
- 3: no writing right for the variable available
- 4: the element has no suitable type for the function