Skip to main content
Open topic with navigation CAPL Functions » General » Function Overview » graphicsWindowClear

graphicsWindowClear

Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DE

Function Syntax

void graphicsWindowClear (char[] windowName);

Description

Temporarily deletes the contents of the CANoe DE product Graphics Window. E.g. with TestReportAddWindowCapture a screenshot is created that contains only the data of a certain period of time.

Parameters

  • windowName: The name of the Graphics Window.

Return Values

Example

//Clear the Graphics Window to show only data from this test case
graphicsWindowClear("Graphics");
testWaitForTimeout(2000);

//Fit all signal values
graphicsWindowFit("Graphics", 1);

//Take a capture of the window and add it to the test report
TestReportAddWindowCapture("Graphics", "", "Screenshot of Graphic window");