VTIL_SetVTStatus
CAPL Functions » ISO11783 » Virtual Terminal Interaction Layer (VT IL) » VTIL_SetVTStatusTool Availability
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
long VTIL_SetVTStatus(dword cycleTime);// form 1long VTIL_SetVTStatus(dword cycleTime, pg VT12 pgWithNewContent);// form 2long VTIL_SetVTStatus(dbNode vt, dword cycleTime);// form 3long VTIL_SetVTStatus(dbNode vt, dword cycleTime, pg VT12 pgWithNewContent);// form 4
Description
- Forms (1) and (3): This function changes the cycle time of the VT Status message. The content of VT Status message stays unchanged.
- Forms (2) and (4): This function changes the content and cycle time of the VT Status message.
Parameters
- vt: VT simulation node to apply the function
- cycleTime: Cycle time of the VT Status message [ms] (default: 1000)
- pgWithNewContent: Content of this message is used by the following VT Status messages sent by the VT IL
Return Values
- 0: Blocking of all messages has been stopped successfully
- < 0: An error has occurred, see IL Error Code.