
43
Class Reference
Example:
gui.splash(“CorpLogo.img”, ”Version 1”);
setTimeout(postSplashfunc, 2000);
displays a corporate logo image and the text “Version 1” on the display. Then, it sets a
timeout of 2 seconds. Once, the timer expires,
postSplashfunc
is called to continue
execution.
The first thing you need to do in the
postSplashfunc
is to call
gui.clearSplash
method. This function will clear the image from the OHV300 screen. The
gui.clearSplash
method should only be called after calling
gui.splash
method.
The OHV300 supports only its native format, which uses the extension .img. The image
must be 128x128 pixels (for splash screen only). Images are not cropped; they will either
display in their entirety or will not display at all.
4.2.1.12
sync
The gui.sync method causes the display to be updated immediately.
Format:
gui.sync();
Where:
result
– no return, GUI display is updated.
4.2.2
Properties
The following section documents the properties defined for the OHV300
gui
object.
4.2.2.1
inputMode
The
gui.inputMode
object contains constants that define input modes for the OHV300.
The constant definitions are:
gui.inputMode.numeric
gui.inputMode.caps
gui.inputMode.lowerCase
gui.inputMode.symbols
The character sets defined for these modes are described in 6.
Содержание OHV300
Страница 1: ...FACTORY AUTOMATION MANUAL JAVASCRIPT PROGRAMMING GUIDE...
Страница 88: ...88 Supported JavaScript Core delete function in instanceof new this typeof void...
Страница 93: ...93 Symbology ID Modifier Information...
Страница 94: ...TDOCT 4981_ENG 11 2015...