guiCalibrateTouch (Function)

Top  Previous  Next

Architecture:

NX32L

Device support:

NX-400

Firmware version:

1.04.00


This function shows a dialog to calibrate the touch panel.

It will stay on the screen for 60 seconds an then close, unless the calibration is completed before that.

The calibration dialog can also be activated from the system menu.

 

Input:

None

 

Returns: INT

0

- Success.

-5

- Failed to start calibration

-9

- Busy

-11

- Not supported.

-13

- Timeout

 

Declaration:

FUNCTION guiCalibrateTouch : INT;

 

 

Example:

INCLUDE rtcu.inc
 
PROGRAM test;
VAR
  rc : INT;
END_VAR;
 
BEGIN
  ...
  // Show touch panel calibration dialog
  rc := guiCalibrateTouch();
  ...
END;
END_PROGRAM;