Rockwell Automation 2727-MRSDK MobileView Terminals Software Development Kit User Manual User Manual
Page 28

Publication 2727-UM004B-EN-P - February 2004
4-4 SDK (Software Development Kit) for MobileView Terminals
KtpSetContrast
KtpSwitchBacklight
KtpScreenSaverTimeOutMin
Table 4.6
Declaration:
Visual C:
UINT8 KtpSetContrast(/*[in]*/UINT8 u8_Contrast);
Visual Basic:
KtpSetContrast(ByVal contrast As Byte) As Byte
Description:
This method sets the contrast of the LC display on the device.
Arguments
0 to 31, 0 = min, 31 = max
(MobileView: 0 to 63,
0 = min, 63 = max)
Table 4.7
Declaration:
Visual C:
UINT8 KtpSwitchBacklight(/*[in]*/BacklightStat backLight);
Visual Basic:
KtpSwitchBacklight(ByVal backlight As Integer) As Byte
Description:
Turns on/off the backlight of the LC display on the device.
Arguments
BACKLIGHT_ON, BACKLIGHT_OFF
Table 4.8
Declaration:
Visual C:
UINT8 SetScreenSaverTimeOutMin(/*[in]*/UINT8 u8_ScreenSaverTO);
Visual Basic:
KtpSetScreenSaverTimeOutMin(ByVal sreenSaverTO As Byte) As Byte
Description:
Sets the timeout value of the screensaver in minutes.
Arguments
0-255, 0 = off, 255 = max