Accessing Scaling Functions of the Graphics Window With a Script

Question:
Is it possible to access the scaling functions of the graphics window (e. g. "fit") with a script? 
Answer:

Yes, this is possible. Here is an example script:

double t1, t2;
t1 = 10;
t2 = 20;

// activate diff cursor mode
SetGlobalCursorMode(2);

// set cursors
SetGlobalCursor(t1);
SetDifferenceCursor(t2);

// fit graphic window
ExecuteWindowMenuCommand("CM_XFIT_DIFF_MARKER", "Grafik FILE1");

// deactivate diff cursor mode
SetGlobalCursorMode(0);



Article ID: 1148
Last updated: 2018-10-16
Revision: 2
CANape -> Measurement and Calibration of ECUs -> Accessing Scaling Functions of the Graphics Window With a Script
https://kb.vector.com/entry/1148/