mdtClear (Function)

Top  Previous  Next

Architecture:

X32 / NX32 / NX32L

Device support:

All

Firmware version:

1.02 / 1.00.00


Clears the contents in the display. After this call, the current write position will be set to upper left corner (1,1).

 

Input:                

None.

 

Returns: INT

0

- Success.

-1

- MDT not present or communication error.

-2

- MDT not open.

 

Declaration:

FUNCTION mdtClear : INT;

 

 

Example:

INCLUDE rtcu.inc
 
PROGRAM test;
 
BEGIN
  ...
  // Clear display
  mdtClear();
  ...
END;
END_PROGRAM;