CAPL Script

GraphicsWindowPause

This reference collection includes Vector documentation reproduced with permission. Snippets may require configuration-specific symbols and are not all standalone programs. Sources and validation limits.

Syntax

void graphicsWindowPause(char[] windowName, byte active);

Function

Pauses and resumes aCANoeGraphics Window.

Parameters

windowName The name of the Graphics Window.

active

  • active = 0: Pause off
  • active = 1: Pause on

Return Values

—

Reference example from the CANoe 12 help. Check the required configuration, database objects and API availability in your installed version; this is not a recorded compiler or runtime test.

//Pause the Graphics Window
graphicsWindowPause("Graphics", 1);

//Fit the y axis so that all values are visible
graphicsWindowFit("Graphics", 2);