CAPL Script

GraphicsWindowFit

Syntax

void graphicsWindowFit(char[] windowName, byte mode);

Function

Scales symbols in aCANoeGraphics Window.

Parameters

windowName The name of the Graphics Window.

mode

  • mode = 1: Fit all signals
  • mode = 2: Fit all signals Y
  • mode = 3: Fit X
  • mode = 4: Fit all signals to a special line
  • mode = 5: Fit all signals to a special line Y

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");