mdtPower (Function) |
Top Previous Next |
This function controls the power of the MDT. By using this function, the VPL program can switch ON and OFF the MDT. The mdtPower() function must be called before the MDT can be used
By switching the power OFF to the MDT, it is not possible to receive a "PowerUP" key press message. Please also see the mdtStandby() function.
Note: Only when the mdtOpen has been called with port=1 will the mdtPower() functionality, as described, be available unless the MDT is part of an NMP device.
Input: power : BOOL
Returns: INT
Declaration: FUNCTION mdtPower : INT;
Example: INCLUDE rtcu.inc |