CreateGlobalMarker
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
long createGlobalMarker (char markerName[], char makerDesc []);
Function
Sets amarkerinCANoeTrace Window, Graphics Window and State Tracker. The set marker can be displayed with the shortcut menuShowin the marker bar of these windows.
Parameters
markerName Name of the marker.
makerDesc Description of the marker.
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.
on key 'a'
// sets a marker by pressing key <a>
{
createGlobalMarker("speed", "speedDesc");
}