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

writeClear

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

Function Syntax

void writeClear(dword sink);

Description

Clears the contents of the specified page in the Write Window.
You can use the following constants for the target identifier or type of message:
// write sinks
dword WRITE_SYSTEM = 0;
dword WRITE_CAPL = 1;
In addition, you can use one of the target identifiers returned by the function writeCreate. You can clear all tabs using “-1” as parameter. The Overview page can’t be cleared solely.

Parameters

  • sink: Target identifier for the page to be deleted.

Return Values

Example

See writeClear writewriteCreatewriteDestroywriteExwriteLineEx