Skip to main content
Open topic with navigation CAPL Functions » ISO11783 » Virtual Terminal Interaction Layer (VT IL) » VTIL_ResetVTStatus

VTIL_ResetVTStatus

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

  • long VTIL_ResetVTStatus(); // form 1
  • long VTIL_ResetVTStatus(dbNode vt); // form 2

Description

This function reverts changes made by SetVTStatus and returns to the default behavior of the Virtual Terminal IL.

Parameters

  • vt: VT simulation node to apply the function

Return Values

  • 0: Blocking of all messages has been stopped successfully
  • < 0: An error has occurred, see IL Error Code.

Example

Example form 2:
if (VTIL_ResetVTStatus(VT) < 0)
{
  TestStepFail("Failed to reset VT Status message");
}