TCIL_ConnectSysVarWithSection
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
This function connects a single section state to a system variable. If a section state is changed the new value is put into the system variable. To release connection between the system variable and the condensed state, just call the same method again, but with the empty string instead of the name of system variable.Parameters
-
ddiOfCondensedState: Data dictionary identifier the condensed state belongs to, e.g.:
- 161..176 (0x0A1..0x0B0) for Actual Condensed Work State
- 290..305 (0x122..0x131) for Setpoint Condensed Work State
- 367..382 (0x16F..0x17E) for Condensed Section Override State
- elementNumber: Element number of the data entity, 0x000..0xFFF.
- sectionNumber: Section number within the object, 1..256.
- sysVarNameWithPath: Name of the system variable, all namespaces inclusive.
- client: Task Controller client which provides the device descriptor object pool with corresponding sections.
- addressClient: Address of the Task Controller client which provides the device descriptor object pool with corresponding sections.
- tc: Task Controller simulation node to apply the function.
Return Values
- 0: Function has been executed successfully
- < 0: An error has occurred, see IL Error Code