Iso11783IL_TIMConnectSysVarToState
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
long Iso11783IL_TIMConnectSysVarToState(dbNode counterpart, char[] sysVarNameWithPath); // form 1long Iso11783IL_TIMConnectSysVarToState(byte counterpartAddress, char[] sysVarNameWithPath); // form 2long Iso11783IL_TIMConnectSysVarToState(dbNode participant, dbNode counterpart, char[] sysVarNameWithPath); // form 3long Iso11783IL_TIMConnectSysVarToState(dbNode participant, byte counterpartAddress, char[] sysVarNameWithPath); // form 4
Description
Connects the state of a TIM client/server connection to a system variable. You find the possible states in the tables of Client States (TIM Component - ISO11783) or Server States (TIM Component - ISO11783). By means of the function you can wait for a specific state (e.g. using TestWaitForSignalMatch) and with Iso11783IL_TIMFreezeConnection you can stay in this state. To release connection between the system variable and a state, just call the same method again, but with the empty string instead of the name of system variable.Parameters
- counterpart: TIM counterpart of the client/server connection.
- counterpartAddress: Address of the TIM counterpart of the client/server connection. Value range: 0..253
- sysVarNameWithPath: Name of the system variable, all namespaces inclusive.
- participant: TIM participant (TIM server or TIM client).
Return Values
- 0: Property has been set successfully
- < 0: An error has occurred, see error codes