CAPL Script

GraphicsWindowClear

Syntax

void graphicsWindowClear (char[] windowName);

Function

Temporarily deletes the contents of theCANoeGraphics Window.E.g. withTestReportAddWindowCapturea screenshot is created that contains only the data of a certain period of time.

Parameters

windowName The name of the Graphics Window.

Return Values

//Clear the Graphics Window to show only data from this test casegraphicsWindowClear("Graphics");testWaitForTimeout(2000);//Fit all signal valuesgraphicsWindowFit("Graphics", 1);//Take a capture of the window and add it to the test reportTestReportAddWindowCapture("Graphics", "", "Screenshot of Graphic window");