VTIL_ConnectSysVar
Valid for: CANoe DE • CANoe4SW DE NoteIf parameter address is used the function succeeds only if the client has claimed an address.
Function Syntax
Description
Connects an object from the object pool to a system variable. Valid objects are variables, objects representing values or string, buttons and soft keys. If a variable object or an object representing a values or a string is changed, the new value is put into the system variable. To release connection between the system variable and an object, just call the same method again, but with the empty string instead of the name of system variable.Parameters
- vt: VT simulation node to apply the function
- workingSetMaster: Working Set Master which provides the Object Pool
- addressWorkingSetMaster: Address of the Working Set Master which provides the Object Pool
- sysVarNameWithPath: Name of the system variable, all namespaces inclusive
- objectId: Identifier of the object in the object pool
Return Values
- 0: Function has been executed successfully
- < 0: An error has occurred, see IL Error Code