TCIL_SetTCStatus
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
long TCIL_SetTCStatus(dword cycleTime); // form 1long TCIL_SetTCStatus(dword cycleTime, pg PD); // form 2long TCIL_SetTCStatus(dbNode tc, dword cycleTime); // form 3long TCIL_SetTCStatus(dbNode tc, dword cycleTime, pg pgPD); // form 4
Description
This function changes the content and cycle time of the TC Status message. Form 1 and 3: The content of TC Status message stays unchanged; only the cycle time is changed.Parameters
- tc: TC simulation node to apply the function
- cycleTime: Cycle time of the TC Status message [ms] (default: 1000)
- pgPD: Content of this message is used by the following TC Status messages sent by the TC IL
Return Values
- 0: Function has been executed successfully
- < 0: An error has occurred, see IL Error Code