Topway Smart LCD SGTools Handbook
Topway Smart LCD SGTools Handbook
Topway Smart LCD SGTools Handbook
Content
1 Quick Start ................................................................................................................................................................ 5
1.1 How to Use a Smart LCD .................................................................................................................................. 5
1.2 Smart LCD Connection Examples ..................................................................................................................... 5
1.3 Quick Start Example .......................................................................................................................................... 5
2 Basic Descriptions................................................................................................................................................... 6
2.1 Smart LCD Highlight .......................................................................................................................................... 6
2.2 SGTools Highlight .............................................................................................................................................. 6
2.3 Functional Block................................................................................................................................................. 6
3 Smart LCD Features and Functions....................................................................................................................... 7
3.1 Basic Concept .................................................................................................................................................... 7
3.1.1 PAGE ............................................................................................................................................................. 7
3.1.2 Page Elements ............................................................................................................................................... 7
3.1.3 Image Recourses ........................................................................................................................................... 7
3.1.4 VP Variables .................................................................................................................................................. 7
3.1.5 Call Functions ................................................................................................................................................ 7
3.2 Display and Functional Relationships ................................................................................................................ 7
3.3 Page Elements................................................................................................................................................... 8
3.3.1 Action Type Elements .................................................................................................................................... 8
3.3.2 Character (Alpha Numeric) Type Elements ................................................................................................... 9
3.3.3 Image Type Elements .................................................................................................................................... 9
3.3.4 Graphics Type Elements Details ................................................................................................................. 10
3.4 Page, IMAGE Resource and VP Variables ..................................................................................................... 11
3.4.1 Page and IMAGE Resource ........................................................................................................................ 11
3.4.2 VP Variable .................................................................................................................................................. 11
4 SGTools .................................................................................................................................................................. 12
4.1 Editor Layout .................................................................................................................................................... 12
4.2 General Operations.......................................................................................................................................... 12
4.3 Editor Menu ...................................................................................................................................................... 13
4.3.1 Start.............................................................................................................................................................. 13
4.3.2 New Project (Menu - File - New Project) ..................................................................................................... 13
4.3.3 Open Project (Menu - File - Open Project) .................................................................................................. 13
4.3.4 Save (Menu - File - Save) ............................................................................................................................ 13
4.3.5 Save As (Menu - File - Save As) ................................................................................................................. 13
4.3.6 Close Project (Menu - File - Close) .............................................................................................................. 13
4.3.7 Editor Options (Menu - Tools - Options) ...................................................................................................... 14
4.3.8 Project Setting (Menu - Tools - Project Setting) .......................................................................................... 14
4.3.9 Font Setting (Menu - Tools - Font Setting) .................................................................................................. 15
4.3.10 Built Project Files (Menu - Tools - Built Project Files) ............................................................................. 15
4.3.11 Download to Module (Menu - Tools - Download to Module) ................................................................... 15
4.4 Elements Configurations .................................................................................................................................. 16
4.4.1 Touch Key (TPK) ......................................................................................................................................... 16
4.4.2 Virtual Key (VPK) ......................................................................................................................................... 18
4.4.3 Swap Page (SWP_PG) ................................................................................................................................ 19
4.4.4 Touch Key with Repeat (TPK_RPT) ............................................................................................................ 20
4.4.5 Touch Key (TPK) ......................................................................................................................................... 21
4.4.6 Slider (SDR) ................................................................................................................................................. 22
4.4.7 Slider 2 (SDR2) ............................................................................................................................................ 23
4.4.8 Touch Ring (RNG) ....................................................................................................................................... 24
4.4.9 Touch Ring 2 (RNG2) .................................................................................................................................. 25
4.4.10 Static String (STS) ................................................................................................................................... 26
4.4.11 String Element (STR) ............................................................................................................................... 27
4.4.12 Scrolling String Element (STR_SCR) ...................................................................................................... 28
4.4.13 Number Elements (N16, N32, N64) ......................................................................................................... 29
4.4.14 Timer Display (TMR) ................................................................................................................................ 31
4.4.15 Real Time Clock (RTC) ............................................................................................................................ 32
4.4.16 Static Icon (ICO) ...................................................................................................................................... 33
4.4.17 Animation Element (ANI) ......................................................................................................................... 34
4.4.18 Bit Icon (IDX_BIT) .................................................................................................................................... 35
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 2 of 99
Handbook Smart LCD - SGTools
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 3 of 99
Handbook Smart LCD - SGTools
9.4 Using Tachometer Element (Rotation Mode) Application Example (Meter) .................................................... 80
9.5 Using Tachometer Element (Rotation Mode) Application Example (Radar) ................................................... 81
9.6 Using Decimal Icon .......................................................................................................................................... 82
9.7 Using Graph Element ...................................................................................................................................... 83
9.8 Show a Bitmap Element .................................................................................................................................. 84
9.9 Using Swap Page Element .............................................................................................................................. 85
9.10 Using Slider Element ....................................................................................................................................... 86
9.11 Using Slider 2 Element (SDR2) ....................................................................................................................... 87
9.12 Using Ring Element with Tachometer(Donut Mode) Element ......................................................................... 88
9.13 Using Ring_2 element with Tachometer(Icon Rotation Mode) Element .......................................................... 89
9.14 Using Touch Switch (TPK_SW) ....................................................................................................................... 90
9.15 Using Touch Key with Repeat(TPK_RPT) ....................................................................................................... 91
9.16 Using Tachometer(Hand Mode) Element ........................................................................................................ 92
9.17 Using Round Clock Element ............................................................................................................................ 93
9.18 - Done - ............................................................................................................................................................ 93
10 Appendix ................................................................................................................................................................. 94
10.1 SGTools Shortcut Keys ................................................................................................................................... 94
10.2 Project Limitation ............................................................................................................................................. 95
10.2.1 PAGEs, Image-Resources and VP-Variables Limitation ......................................................................... 95
10.2.2 Page's Elements Limitation ...................................................................................................................... 96
10.2.3 System Registers ..................................................................................................................................... 97
11 Precautions of using LCD Modules ..................................................................................................................... 98
12 Revisions ................................................................................................................................................................ 99
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 4 of 99
Handbook Smart LCD - SGTools
1 Quick Start
1.1 How to Use a Smart LCD
Install TOPWAY
1 SGTools
Design
2 Interface
Note: TML Graphics Editor support BMP(32bit), BMP(24bit), JPG, PNG, etc picture format
Download
3 to Smart LCD
Note: Use High quality USB(A) to USB(mini) cable directly attach to the PC motherboard for better power and signaling
Power on
4 & display
Note: Please refer to the user manual for connection polarity and voltage.
Connect &
5 Show data
Note: RS-232C terminal is common grounded with the supply (some models providing logic level UART interface)
Please also refer to Product User Manual for details.
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 5 of 99
Handbook Smart LCD - SGTools
2 Basic Descriptions
TOPWAY Smart LCD Modules provide a display engine with a versatile range of TFT display sizes and
Touch-Panels to support a wide range of industrial and instrumentation applications.
The pre-loaded User Interface (UI) reduces the host system’s workload and provides a much faster
interaction with the user.
UI designs are done through SGTools, allowing design with zero coding. It dramatically simplifies and
speeds up the whole product design process.
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 6 of 99
Handbook Smart LCD - SGTools
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 7 of 99
Handbook Smart LCD - SGTools
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 8 of 99
Handbook Smart LCD - SGTools
STS Static String Static String Element shows text string defined by its properties directly.
RTC Real Time Clock Real Time Clock Element shows the Smart LCM internal clock with formatting.
note: Elements overlapped in the PAGE might affect the display result
ICO Static Icon Static Icon Element links to an IMG_ICO and shows it on screen
Bit Icon Element links with one bit value of VP_N16 or VP_N32
IDX_BIT Bit Icon
which could point to an IMG_ICON and display accordingly with its value
Indexed Icon Element links with VP_N16 or VP_N32 which could point to an IMG_ICON and display accordingly
IDX Indexed Icon
If the value in side the VP is outside the defined max/min rang, it will display nothing
Decimal Icon Element links with VP_N16 and display as decimal formatted icons
I16
Decimal Icon It should linked with 12 icons for full operation
I32
(where the indexed picture sequence is 0~9, dot, minus)
Tachometer Element link with VP_N16 or VP_N32 which show as a meter display accordingly.
TCM Tachometer
If the value in side the VP is outside the defined max/min rang, it will display nothing
note: Elements overlapped in the PAGE might affect the display result
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 9 of 99
Handbook Smart LCD - SGTools
Progress Ring element links with VP_N16 or R32 and display a ring based on its value.
R16, R32 Progress Ring The ring angle is a percentage of the defined max/min value with the VP value.
An ICON pointer could also be link with it as an option
Hand Tachometer Element link with VP_N16 or VP_N32 which show as a meter display accordingly.
HND Hand Tachometer It can also generate the meter face with marking as well.
If the value in side the VP is outside the defined max/min rang, it will show the max or min pointing accordingly.
Bitmap Element display a mono picture content which store inside VP_BP1
- it show picture in 1bpp
BP1 Bitmap Element
- It provide LUT for mapping 0 and 1 to different defined color
- It provide real time update of the VP_BP1 value
Round Clock Element shows the Smart LCM internal clock with hands.
CLK_R Round Clock
It can also generate the meter face with marking as well.
QRC QR Code Element QR Code Element generates a QR code with a linked VP_STR
Draw Pad Element is an element that execute a drawing function that store inside VP_N16
which point by its properties VP_address.
DPD Draw Pad
Once the command value updated, the drawing will be updated in real time.
ICON can also could be shown with by command.
note: Elements overlapped in the PAGE might affect the display result
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 10 of 99
Handbook Smart LCD - SGTools
Background Image is one of the Picture Resources. Picture files could be imported into Editor as Background
IMG_BKG Background Image
Image. It could also be used (automated crop) as TPK touch down effect image.
Icon is one of the Picture Recourses.
IMG_ICO Icon
Icon files could be imported in to the Editor and linked by various elements. (e.g. TPK ,IDX ,I32/16 ,B16 , ICO, etc)
Animation is one of the Picture Resources
IMG_ANI Animation
It is a series of images file which imported into the Editor and linked by ANI element to play.
Note: PAGEs and IMAGEs are store inside Smart LCD Flash memory.
3.4.2 VP Variable
Icon Mnemonic Name Descriptions
String Variable with 128bit length for character strange storage (note: content must end with "\0')
VP_STR String Variable
The memory space could be allocated in Editor, and link and display by elements like STR, QR code, etc.
range: -32767~32767
VP_N16 16bit Integer Variable
The memory space could be allocated in Editor, and linked and display by elements like N16, IDX, I16, VPK, etc.
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 11 of 99
Handbook Smart LCD - SGTools
4 SGTools
UI designs are implemented under usage of SGTools allowing designs with zero coding. It dramatically
simplifies and speeds up the whole product design process.
⑥ Prompt Output Window Prompt output window show the compiling information, warning and error
information
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 12 of 99
Handbook Smart LCD - SGTools
4.3.1 Start
At the start up of the SGTools,
It will pop up a Welcome interface for use to select the
previous Edited Project, Create a New Project or Open
Project somewhere else.
Open Project look for the project folder with .tpj file inside
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 13 of 99
Handbook Smart LCD - SGTools
Operating Operating
RTC Mode with RTC battery without RTC battery Descriptions
Enable 1st power up takes 6s; every power up takes 6s RTC run with correct init
next power up takes 1s
Disable every power up takes 1s every power up takes 1s RTC stop
Engineering every power up takes 1s every power up takes 1s RTC run without init
Mode RTC might not run correctly
It is NOT suggested for production setting
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 14 of 99
Handbook Smart LCD - SGTools
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 15 of 99
Handbook Smart LCD - SGTools
Visual Effect
- On Press Down options are
None, Inverse Color, Show Icon or Show Cropped BgImg
- Icon/BgImage base on the above option
select a Background Image or an Icon for the visual effect.
Target
- Target Page is for page jump function after touch
Call
- Call Keyboard is for call up a keyboard after touch
- Call Operation is for simple calculation after touch
- Call Key is for building PIP_Keyboard
Content
- VP Address is for calculation or Keyboard input result
- Compile As can force VP variable work different than default (Auto)
VP_N16 (two successive VP_N16) work as VP_N32
VP_N32 (first two byte of VP_N32) work as VP_N16
VP_N64 (first two byte of VP_N64) work as VP_N16
VP_N64 (first four byte of VP_N64) work as VP_N32
- Data type should be signed by default (*1)
Return
- Return Value for select type of notification to host during touch
It can notify the Host via Touch Key ID Response code (0x78) (*3)
none, no notification (by default)
Up PGID + TPKID, send on TPK release
Down PGID + TPKID, send on TPK touch
Down Up PGID + TPKID, send on TPK touch and release
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 16 of 99
Handbook Smart LCD - SGTools
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 17 of 99
Handbook Smart LCD - SGTools
*7. Floating point value could only be operate with N32 (or Compile As N32) and PIP Number Keyboard
Condition
- Monitor-VP is a VP to trigger this Virtual Key
- Monitor-Value is the Value for trigging this element
Target
- Target Page is for page jump function after touch
Call
- Call Keyboard is for call up a keyboard after touch
- Call Operation is for simple calculation after touch
- Call Key is for building PIP_Keyboard
Content
- VP Address is for calculation or Keyboard input result
- Compile As can force VP variable work different than default (Auto)
VP_N16 (two successive VP_N16) work as VP_N32
VP_N32 (first two byte of VP_N32) work as VP_N16
VP_N64 (first two byte of VP_N64) work as VP_N16
VP_N64 (first four byte of VP_N64) work as VP_N32
- Data type should be signed by default (*1)
Note:
*1. Please also see "TPK, VPK Call Functions" section for Call Features
*2. Floating point value could only be operate with N32
(or Compile As N32) and PIP Number Keyboard
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 18 of 99
Handbook Smart LCD - SGTools
Style
- Sweep Threshold defines the sweeping distance which start the feature
Smaller value make it more easy to be trigger
Bigger value make it slower response to the action
(Sweep should start on screen area without any other touch element)
Target
- Left Side Page is the target page that pull-out form left side
while the touch sweeping form left to right
- Right Side Page is the target page that pull-out form right side
while the touch sweeping form right to left
Return
- Return Value for select type of notification to host during touch
It can notify the Host via Touch Key ID Response code (0x78) (*3)
none, no notification (by default)
Target PGID, send on sweep release
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 19 of 99
Handbook Smart LCD - SGTools
Visual Effect
- On Press Down options are
None, Inverse Color, Show Icon or Show Copped Image
- Icon/BgImage base on the above option
select a Background Image or an Icon for the visual effect.
Style
- Mode is touch action moment
Down Action will trigger the Short Press feature while touch down
Up Action will trigger the Short Press feature while touch up
- Long Press Time is the time for Long Press feature to be trigger
- Long Press Cycle is the repeat action cycle time for long Press
- Long Press Value is operation (VP:=VP+value) value for Long Press
- Short Press Value is the operation (VP:=VP+value) value for Short Press
(negative value for minus operation)
Content
- VP Resource is the type of VP to be used
- VP Address is the VP for the operation
- Min Value is the bottom value that will be limited by the operation
- Max Value is the top value that will be limited by the operation
Return
- Return Value / VP / Status VP for select type of notification to host
(multiple notification can be enable)
- Up, PGID+TPKID
- Down, PGID+TPKID
- Up, VP Address+Value
- Down, VP Address+Value
- Long Press, VP Address+Value
- Up, Vp Address+Status Value
- Down, Vp Address+Status Value
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 20 of 99
Handbook Smart LCD - SGTools
Style
- Mode is touch action moment
Down Action will trigger the Short Press feature while touch down
Up Action will trigger the Short Press feature while touch up
Visual Effect
- Display Effect options are
Show Icon or Show Copped Image
- Icon/BgImage base on the above option
select a Background Image or an Icon for the visual effect.
Content
- VP Resource is the type of VP to be used
- VP Address is the VP for the operation
- Bit Position is the bit to be triggered (inversed) in the VP address
Return
- Return Value / VP / Status VP for select type of notification to host
(multiple notification can be enable)
- Up, PGID+TPKID
- Down, PGID+TPKID
- Up, VP Address+Value
- Down, VP Address+Value
- Cycling, VP Address+Value
- Up, Vp Address+Status Value
- Down, Vp Address+Status Value
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 21 of 99
Handbook Smart LCD - SGTools
Style
- Mode is touch action way
Absolute=give the value direct proportion to the element area
Relative=give more fine value by multiple sliding action
- Direction is for the slider sense direction
Horizontal=horizontal sliding
Vertical=vertical sliding
Content
- VP Resource is the type of VP to be used
- VP Address is the VP for the operation
- Min Value is the bottom value that will be limited by the operation
- Max Value is the top value that will be limited by the operation
Return
- Return Value / VP / Status VP for select type of notification to host
(multiple notification can be enable)
- Up, PGID+TPKID
- Down, PGID+TPKID
- Up, VP Address+Value
- Down, VP Address+Value
- Cycling, VP Address+Value
- Up, Vp Address+Status Value
- Down, Vp Address+Status Value
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 22 of 99
Handbook Smart LCD - SGTools
Style
- Direction is for the two pint sliding sense direction
Horizontal=horizontal sliding
Vertical=vertical sliding
- Gain defines the two pint sliding amplification
Smaller value make the move-to-value gain less
Bigger value make the move-to-value gain more
(Sweep should start on screen area without any other touch element)
Content
- VP Resource is the type of VP to be used
- VP Address is the VP for the operation
- Min Value is the bottom value that will be limited by the operation
- Max Value is the top value that will be limited by the operation
Return
- Return Value / Status VP for select type of notification to host
(multiple notification can be enable)
- Up, VP Address+Value
- Down, VP Address+Value
- Cycling, VP Address+Value
- Up, Vp Address+Status Value
- Down, Vp Address+Status Value
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 23 of 99
Handbook Smart LCD - SGTools
Style
- Mode is touch action way
Absolute=give the value direct proportion to the element area
- Direction is for the slider direction Clockwise or Counterclockwise
- External Radius define the outer boundary of the sensing ring (*1)
- Internal Radius define the inner boundary of the sensing ring (*1)
- Start Angle is the angular location of the min value
- Sweep Angle is the effective angular area
that relatively begin form the Start Angle for sensing
(the above 4 value define the boundary of the sensing area)
Content
- VP Resource is the type of VP to be used
- VP Address is the VP for the operation
- Min Value is the bottom value that will be limited by the operation
- Max Value is the top value that will be limited by the operation
Return
- Return Value / VP / Status VP for select type of notification to host
(multiple notification can be enable)
- Up, PGID+TPKID
- Down, PGID+TPKID
- Up, VP Address+Value
- Down, VP Address+Value
- Cycling, VP Address+Value
- Up, Vp Address+Status Value
- Down, Vp Address+Status Value
Note:
*1. Radius and Angle Definition *2. example
Direction = Clockwise
Start Angle = 255°
Sweep Angle = 270
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 24 of 99
Handbook Smart LCD - SGTools
Style
- Gain defines the two pint sliding amplification
Smaller value make the move-to-value gain less
Bigger value make the move-to-value gain more
(Sweep should start on screen area without any other touch element)
Visual Effect
- On Press Down options are
None, Inverse Color, Show Icon or Show Copped Image
- Icon/BgImage base on the above option
select a Background Image or an Icon for the visual effect.
Content
- VP Resource is the type of VP to be used
- VP Address is the VP for the operation
- Min Value is the bottom value that will be limited by the operation
- Max Value is the top value that will be limited by the operation
Return
- Return Value / Status VP for select type of notification to host
(multiple notification can be enable)
- Up, VP Address+Value
- Down, VP Address+Value
- Cycling, VP Address+Value
- Up, Vp Address+Status Value
- Down, Vp Address+Status Value
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 25 of 99
Handbook Smart LCD - SGTools
Style
- Font face could be selected at here
- Font Color is the font face color
- Background Color only available with Transparent disable
- Transparent = true, disable the Background Color box to be show
Format
- Align could be: Left / Right / Center
- Char spacing option: Default, Shrink
Content
- Static Test is the text going to be display
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 26 of 99
Handbook Smart LCD - SGTools
Style
- Font face could be selected at here
- Font Color is the font face color
- Background Color only available with Transparent disable
- Transparent = true, disable the Background Color box to be show
- Mask could be any char to "represent" as the char
(Keep empty for normal operation)
- Scroll = false as default
true = convert itself as Scrolling String element (see STR_SCR for details)
Format
- Align could be:
Left / Right / Center / Multi-line Left / Multi-line Right / Multi line center
- Char Spacing option: Default, Shrink
Content
- VP Resource is the type of VP hold the text content (VP_STR by default)
- VP Address is the VP that hold the string content
(all the string should be end with \0 (0x00))
- Length is no. of Char going to display
Preview
- Preview Value is for simulation in Graphics Editor environment.
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 27 of 99
Handbook Smart LCD - SGTools
Style
- Font face could be selected at here
- Font Color is the font face color
- Background Color only available with Transparent disable
- Transparent = true, disable the Background Color box to be show
- Mask could be any char to "represent" as the char
(Keep empty for normal operation)
- Scroll = true as default
false = convert itself as String element (see STR for details)
- Scroll Direction can be Horizontal or Vertical
- Scroll Pixels defined the text scrolling speed
Format
- Align could be:
Left / Right / Center / Multi-line Left / Multi-line Right / Multi line center
- Char Sacing option: Default, Shrink
Content
- VP Resource is the type of VP hold the text content (VP_STR by default)
- VP Address is the VP that hold the string content
(all the string should be end with \0 (0x00))
- Length is no. of Char going to display
Preview
- Preview Value is for simulation in Graphics Editor environment. (*1)
Note:
*1. external ASCII can be input as #188
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 28 of 99
Handbook Smart LCD - SGTools
Style
- Font face could be selected at here
- Font Color is the font face color
- Background Color only available with Transparent disable
- Transparent = true, disable the Background Color box to be show
- Mask could be any char to "represent" as the char
(Keep empty for normal operation)
Format
- Align could be: Left / Right / Center
- Char Spacing option: Default, Shrink
- Integer Digits is the no. of digit on left side of the dot (default Auto) (*1)(*2)
- Decimal Digits is the no of digit on right side of the dot (*1)(*2)
- Display Format option: Decimal, Hexadecimal
Content
- VP Resource is the type of VP hold the content (VP_N16 by default)
- VP Address is the VP that hold the value
Advance
- Compile As can force VP variable work different than default (Auto)
VP_N16 (two successive VP_N16) work as VP_N32
VP_N32 (first two byte of VP_N32) work as VP_N16
VP_N64 (first two byte of VP_N64) work as VP_N16
VP_N64 (first four byte of VP_N64) work as VP_N32
- Data type as signed by default for the decoding of the RAM content
It could also present unsigned value or floating value, too
(please make sure the value in the VP variable appropriate for the type)
Preview
- Character is for simulation in Graphics Editor environment.
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 29 of 99
Handbook Smart LCD - SGTools
Note:
*1. Integer Digits / Decimal Digits Formatting Examples
VP's value Integer Decimal Display
(10's) Digits Digits Result Descriptions
15 Auto 3 0.015 Decimal Digits = 3, zero prefix is added.
Integer Digits = Auto, a minimal 0 is shown
23762 Auto 3 23.762 Decimal Digits = 3, least 3 digit as decimal value
Integer Digits = Auto, unlimited Integer digit
5629 5 1 00562.9 Decimal Digits = 1, least 1 digit as decimal value
Integer Digits = 5, zero prefix is added
-87913 3 2 -879.13 Decimal Digits = 2, two decimal
Integer Digits = 3, show all the rest as integer
Negative signed value use ”-“ as prefix
-13277 2 2 -99.99 The VP's value over the maximum value that could be
display,
the max value (within the display format) shown with sign.
1758 3 0 999 The VP's value over the maximum value that could be
display,
the max value (within the display format) shown.
*2. Float type value might rounded or truncated due to hex-dec conversion
*3. Float type value is suggested to select: Integer Digits=Auto, Decimal Digits=1~9.
to prevent over maximum value presentation error
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 30 of 99
Handbook Smart LCD - SGTools
Style
- Font face could be selected at here
- Font Color is the font face color
- Background Color only available with Transparent disable
- Transparent = true, disable the Background Color box to be show
Format
- Align could be: Left / Right / Center
- Char Spacing option: Default, Shrink
- Time Format could be: HH:mm:ss / mm:ss / ss
Content
- Timer: select a timer specific inside VP_N32 area
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 31 of 99
Handbook Smart LCD - SGTools
Style
- Font face could be selected at here
- Font Color is the font face color
- Background Color only available with Transparent disable
- Transparent = true, disable the Background Color box to be show
Format
- Char Spacing option: Default, Shrink
- Date / Time Format could be shown as :
YYYY-MM-dd / YYYY-MM-dd HH:mm:ss /
W YYYY-MM-dd / W YYYY-MM-dd HH:mm:ss /
YYYY / MM / DD / HH / mm / ss
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 32 of 99
Handbook Smart LCD - SGTools
Style
- Transparent = False by default
True: enable transparent effect to show the IMG_ICO
Auto: enable transparent effect and pick a high possible color
as Transparent color
- Transparent Color one color in the IMG_ICO could show as transparent.
(it is suggested to use pure color for transparent effect)
(e.g. pure-magenta pure-black, pure-white, etc…)
Content
- ICON select a IMG_ICO to show
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 33 of 99
Handbook Smart LCD - SGTools
Style
- Transparent = False by default
True: enable transparent effect to show the IMG_ANI
- Transparent Color one color in the IMG_ANI could show as transparent.
(it is suggested to use pure color for transparent effect)
(e.g. pure-magenta pure-black, pure-white, etc…)
Format
Loop-Play = false by default, it shows the last frame on screen
Play Speed = 100ms per frame by default
Content
- Animation select a IMG_ANI to show
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 34 of 99
Handbook Smart LCD - SGTools
Style
- Transparent = False by default
True: enable transparent effect to show the IMG_ICO
- Transparent Color one color in the IMG_ICO could show as transparent.
(it is suggested to use pure color for transparent effect)
(e.g. pure-magenta pure-black, pure-white, etc…)
Content
- VP Resource is the type of VP hold the content (VP_N16 by default)
- VP Address is the VP that hold a value
- Bit Position select a bit in the VP as monitor bit
- Bit=1, Display options are Show Icon or Show Cropped BgImg
when monitor bit content = 1
- Bit=1, Icon/BgImage base on the above option
select a Background Image or an Icon for the visual effect.
none by default (monitor bit content = 1; no icon to show)
- Bit=0, Display options are Show Icon or Show Cropped BgImg
when monitor bit content = 1
- Bit=0, Icon/BgImage base on the above option
select a Background Image or an Icon for the visual effect.
none by default (monitor bit content = 1; no icon to show)
Preview
- Preview Value is for simulation in Graphics Editor environment.
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 35 of 99
Handbook Smart LCD - SGTools
Style
- Transparent = False by default
True: enable transparent effect to show the IMG_ICO
- Transparent Color one color in the IMG_ICO could show as transparent.
(it is suggested to use pure color for transparent effect)
(e.g. pure-magenta pure-black, pure-white, etc…)
Content
- VP Resource is the type of VP hold the content (VP_N16 by default)
- VP Address is the VP that hold the value
- First Icon is the first IMG_ICO of a series of icons to be use
- Min Value is the value that link to the first of the IMG_ICO series
- Max Value is the value that link to the last of the IMG_ICO series
Preview
- Preview Value is for simulation in Graphics Editor environment.
note:
*1. Operation example
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 36 of 99
Handbook Smart LCD - SGTools
Style
- Transparent = False by default
True: enable transparent effect to show the IMG_ICO
- Transparent Color one color in the IMG_ICO could show as transparent.
(it is suggested to use pure color for transparent effect)
(e.g. pure-magenta pure-black, pure-white, etc…)
Format
- Align could be: Left / Right / Center
- Integer Digits is the no. of digit on left side of the dot (Auto by default)
- Decimal Digits is the no of digit on right side of the dot
Content
- VP Resource is the type of VP hold the content (VP_N16 by default)
- VP Address is the VP that hold the value
- First Icon is the first IMG_ICO of a series of icons
to be use as "number font"
Advance
- Compile As can force VP variable work different than default (Auto)
VP_N16 (two successive VP_N16) work as VP_N32
VP_N32 (first two byte of VP_N32) work as VP_N16
VP_N64 (first two byte of VP_N64) work as VP_N16
VP_N64 (first four byte of VP_N64) work as VP_N32
- Location pointer is reserved, keep none for normal operation
Preview
- Preview Value is for simulation in Graphics Editor environment.
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 37 of 99
Handbook Smart LCD - SGTools
note:
*1. Decimal Icon Operation Idea
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 38 of 99
Handbook Smart LCD - SGTools
Style
- Mode options: Hand / Donut / Icon / Pseudo Icon
- Direction could be Clockwise or Anticlockwise
- Start Angle is corresponding to the Min Value of content
(0°denote as the Foreground Icon original orientation)
- End Angle is corresponding to the Max Value of content
(180°denote as the Foreground Icon rotated by 180°)
Background
- Marking & Label Enable can generate the meter face details
- Base Color, Label, Minor Marking can be enable and define at here
- Label Min Value and Label Max Value is for meter face only
It show beside the Major Marking
Foreground
- Hands Type can be Line / Quadrangle / Trangle
- Hands Color is for the pointer color
- Center Mark Color is color mark at the center of the meter
Content
- VP Resource is the type of VP hold the content (VP_N16 by default)
- VP Address is the VP that hold the value
- Min Value is the minimum tachometer value to be show
(value smaller than this value will stop at the min location)
- Max Value is the maximum tachometer value to be show
(value bigger than this value will stop at the max location)
Preview
- Preview Value is for simulation
in Graphics Editor environment.
note:
*1. Radius and Angle Definition
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 39 of 99
Handbook Smart LCD - SGTools
4.4.22 Tachometer (TCM) – Donut Mix Color Mode / Donut Discolor Mode
General
- Show the basic information of the element
- X and Y is the location of element on screen
(top-left corner of the screen = 0,0)
element top-left corner is the reference point
- Width and Height are in pixels
Style
- Mode options: Hand / Donut / Icon / Pseudo Icon
- Direction could be Clockwise or Anticlockwise
- Start Angle is corresponding to the Min Value of content
(0°denote as the Foreground Icon original orientation)
- End Angle is corresponding to the Max Value of content
(180°denote as the Foreground Icon rotated by 180°)
Background
- Show Base Color show the Donut shape background even at min value
- Base Color is the Donut background color
- Internal Radius define the middle hole of the Donut
- Edge Width can selected as an outline over the Donut
Foreground
- Step Value is for adjust display Levels color size
- Gap Value is for adjust the display Levels color gap which show Base Color
- No.Of Levels
2 for Donut Mix Color Mode show a gradient mix of two color
3-26 for Donut Discolor Mode change the whole donut color w.r.t. VP value
Rotation Center
- Rotation Center could be Icon Center (auto select) or by manual
- Rotation Center X, Y define the is the rotation reference point
Content
- VP Resource is the type of VP hold the content (VP_N16 by default)
- VP Address is the VP that hold the value
- Min Value is the minimum tachometer value to be show
(value smaller than this value will hide the tachometer)
- Max Value is the maximum tachometer value to be show
(value bigger than this value will hide the tachometer)
Preview
- Preview Value is for simulation in Graphics Editor environment.
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 40 of 99
Handbook Smart LCD - SGTools
Note:
*1. Radius and Angle Definition
*2. example
Direction = Clockwise
Start Angle = 255°
Sweep Angle = 270
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 41 of 99
Handbook Smart LCD - SGTools
Style
- Mode options: Hand / Donut / Icon / Pseudo Icon
- Direction could be Clockwise or Anticlockwise
- Start Angle is corresponding to the Min Value of content
(0°denote as the Foreground Icon original orientation)
- End Angle is corresponding to the Max Value of content
(180°denote as the Foreground Icon rotated by 180°)
Foreground
- Icon is an IMG_ICO selected as tachometer foreground (or pointer)
The size should be same as the backgorund one.
- Transparent = False by default
True: enable transparent effect to show the IMG_ICO
- Transparent Color one color in the IMG_ICO could show as transparent.
(it is suggested to use pure color for transparent effect)
(e.g. pure-magenta pure-black, pure-white, etc…)
- Icon Center could be Icon Center (auto select) or by manual
- Icon Center X, Y define the is the rotation reference point
Content
- VP Resource is the type of VP hold the content (VP_N16 by default)
- VP Address is the VP that hold the value
- Min Value is the minimum tachometer value to be show
(value smaller than this value will hide the tachometer)
- Max Value is the maximum tachometer value to be show
(value bigger than this value will hide the tachometer)
Preview
- Preview Value is for simulation in Graphics Editor environment.
Note.
*1. Icon Rotation Mode is similar to Pseudo Icon Rotation Mode. It show the Icon by its own with rotation.
*2. Icon Open Mode is similar to Pseudo Icon Open Mode. It show the Icon by its own opened angle section.
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 42 of 99
Handbook Smart LCD - SGTools
4.4.23 Tachometer (TCM) - Pseudo Icon Rotation Mode / Pseudo Icon Open Mode
General
- Show the basic information of the element
- X and Y is the location of element on screen
(top-left corner of the screen = 0,0)
element top-left corner is the reference point
- Width and Height are in pixels
Rotation mode
- Mode options: Hand / Donut / Icon / Pseudo Icon
- Direction could be Clockwise or Anticlockwise
- Start Angle is corresponding to the Min Value of content
(0°denote as the Foreground Icon original orientation)
- End Angle is corresponding to the Max Value of content
(180°denote as the Foreground Icon rotated by 180°)
Background
- Icon is an IMG_ICO selected as tachometer background
- Transparent = False by default
True: enable transparent effect to show the IMG_ICO
- Transparent Color one color in the IMG_ICO could show as transparent.
(it is suggested to use pure color for transparent effect)
(e.g. pure-magenta pure-black, pure-white, etc…)
Foreground
- Icon is an IMG_ICO selected as tachometer foreground (or pointer)
The size should be same as the backgorund one.
- Transparent = False by default
True: enable transparent effect to show the IMG_ICO
- Transparent Color one color in the IMG_ICO could show as transparent.
(it is suggested to use pure color for transparent effect)
(e.g. pure-magenta pure-black, pure-white, etc…)
Rotation Center
- Rotation Center Point could be Icon Center (auto select) or by manual
- Rotation Center X , Y define the is the rotation reference point
Content
- VP Resource is the type of VP hold the content (VP_N16 by default)
- VP Address is the VP that hold the value
- Min Value is the minimum tachometer value to be show
(value smaller than this value will hide the tachometer)
- Max Value is the maximum tachometer value to be show
(value bigger than this value will hide the tachometer)
Preview
- Preview Value is for simulation in Graphics Editor environment.
Note.
*1 Pseudo Icon Rotation Mode is similar to Icon Rotation Mode.
It show the Icon with combined background
*2 Pseudo Icon Open Mode is similar to Icon Open Mode.
It show the Icon opened angle section with combined background
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 43 of 99
Handbook Smart LCD - SGTools
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 44 of 99
Handbook Smart LCD - SGTools
Style
- Mode
Color Mode: longer color bar could be show with a no. close to max
(bar color could also be a mix of Forecolor1 & 2)
Icon Mode: Icon will move to the far end with a no. close to max
Fill Icon Mode: bar color could replaced by an IMG_ICO
- Direction: L→R / R→L / Up→Dn / Dn→Up
- Forecolor1 Progress start color
- Forecolor2 Progress end color
- Transparent = False by default
True: enable transparent effect to show the IMG_ICO
- Gap Transparent Color function depends on mode selected
In Fill Color Mode, the selected color is gap color in the Progress Bar
In Icon Mode with Transparent Enabled,
the selected color in the IMG_ICO will show as transparent.
(it is suggested to use pure color for transparent effect)
(e.g. pure-magenta pure-black, pure-white, etc…)
- Gap Width is in pixel for gap in the bar
- Step Width is in pixel for the distance between gap
Content
- VP Resource is the type of VP hold the content (VP_N16 by default)
- VP Address is the VP that hold the value
- Icon for Move Icon mode or Fill Icon mode
- Min Value is the minimum Progress Bar value
- Max Value is the maximum Progress Bar value
Preview
- Preview Value is for simulation in Graphics Editor environment.
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 45 of 99
Handbook Smart LCD - SGTools
note:
*1. Progress Bar Operating Mode (Dn→Up) Idea
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 46 of 99
Handbook Smart LCD - SGTools
Style
- Foreground Color is the color for of graph
Format
- Dot Width could also affect the X direction scale
1-4pixel could be selected
- Dot Height could also affect the X direction scale
1-4pixel could be selected
- Plot Type could be
Dot, only plot the dot on the screen
Line, joint the plotted Dot with lines
Area, fill the area between 0 and the plotted dot
Top Fill, fill the area between Max Value and the plotted dot
Bottom Fill, fill the area between Min Value and the plotted dot
Content
- VP Graph select a VP_G16 array to be port on screen
- Min Value is minimal graph potting value
- Max Value is maximum graph potting value
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 47 of 99
Handbook Smart LCD - SGTools
Style
- Foreground Color is the color for "1" bits
- Background Color is the color for "0" bits
- Show Type are having three options
Show all (default) show all Foreground and Background Color
Show Foreground only show the "1" bits' color
Show Background only show the "0" bits' color
Content
- VP Bitmap select a VP_BP1 array for the 1bpp graph data
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 48 of 99
Handbook Smart LCD - SGTools
Style
- Scale could adjust the size of the QR code display on the screen
Format
- Size is the QR coding container size
Content
- VP Resource is the type of VP hold the text content
VP_N16 by default, VP_STR is suggested for simple operation
- VP Address is the VP that hold the value
Preview
- Preview Value is for simulation in Graphics Editor environment.
Content
- VP Resource is the type of VP hold the text content
VP_N16 by default, VP_STR is suggested for simple operation
- VP Address is the start address of VPs that hold a series of draw command
Note.
*1. see the Draw Pad in-memory command Functions section for details
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 49 of 99
Handbook Smart LCD - SGTools
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 50 of 99
Handbook Smart LCD - SGTools
Example:
Value CapLock input Normal input Descriptions
0x4161 A a Value(Hi) = 0x41 ="A"; Value(Lo) = 0x61 ="a"
0x4262 B b Value(Hi) = 0x42 ="B"; Value(Lo) = 0x61 ="b"
0x4363 C c Value(Hi) = 0x43 ="C"; Value(Lo) = 0x61 ="c"
0x2131 ! 1 Value(Hi) = 0x21 ="!"; Value(Lo) = 0x31 ="1"
0x4032 @ 2 Value(Hi) = 0x40 ="@"; Value(Lo) = 0x32 ="2"
0x2333 # 3 Value(Hi) = 0x23 ="#"; Value(Lo) = 0x33 ="3"
"4" Invalid 4 Value(Hi) = 0x00 = is not an valid value; Value(Lo) = 0x34 ="4"
Suitable for the number keyboard without CapLock
"5" Invalid 5 Value(Hi) = 0x00 = is not an valid value; Value(Lo) = 0x34 ="4"
Suitable for the number keyboard without CapLock
"6" Invalid 6 Value(Hi) = 0x00 = is not an valid value; Value(Lo) = 0x34 ="4"
Suitable for the number keyboard without CapLock
"P" Invalid P Value(Hi) = 0x00 = is not an valid value; Value(Lo) = 0x50 ="P"
Suitable for the keyboard without CapLock
"Q" Invalid Q Value(Hi) = 0x00 = is not an valid value; Value(Lo) = 0x51 ="Q"
Suitable for the keyboard without CapLock
"R" Invalid R Value(Hi) = 0x00 = is not an valid value; Value(Lo) = 0x52 ="R"
Suitable for the keyboard without CapLock
1 2 3 ESC
4 5 6
7 8 9 -
Clear 0 . ENTER
7 8 9 ESC
4 5 6
1 2 3 -
0 . ENTER
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 51 of 99
Handbook Smart LCD - SGTools
Style
- Color select a color for page background
- Background Image select a Background Image
Auto Jump
- Target select a target page to jump to
- Delay(sec) the delay before page jump
Note.
*1. Operation functions that could be called in Page Functions
VP:= Value Byte0(VP):= Byte0(Value) Bit0(VP):= LSB(Value)
VP:= VP + Value Byte1(VP):= Byte0(Value) Bit1(VP):= LSB(Value)
VP:= VP - Value Byte2(VP):= Byte0(Value) Bit2(VP):= LSB(Value)
VP:= VP * Value Byte3(VP):= Byte0(Value) Bit3(VP):= LSB(Value)
VP:= VP/Value Bit4(VP):= LSB(Value)
*VP:= *VP XOR Value VP:= BUFF Bit5(VP):= LSB(Value)
BUFF:= VP Bit6(VP):= LSB(Value)
VP:= DelLastChar(VP) Bit7(VP):= LSB(Value)
VP:=Concatenate(VP,Value)
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 52 of 99
Handbook Smart LCD - SGTools
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 54 of 99
Handbook Smart LCD - SGTools
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 55 of 99
Handbook Smart LCD - SGTools
5 Serial Communication
Smart LCD serial command is for real-time control and access. Host machine get the data which input
through the Smart LCD interface or provide the data for display.
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 56 of 99
Handbook Smart LCD - SGTools
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 57 of 99
Handbook Smart LCD - SGTools
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 58 of 99
Handbook Smart LCD - SGTools
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 59 of 99
Handbook Smart LCD - SGTools
5.3.3 VP Functions
Header Command Data:no_of_byte Tail
Successive_write AA 82 Add:4 Len:1 Value:n CC 33 C3 3C
(0x82) e.g. [host]: AA 82 00 08 00 00 03 00 00 11 11 22 22 CC 33 C3 3C
Write 3 sucessive 16bit value to VP_N16 address 0x0008 0000
e.g. [host]: AA 82 00 02 00 00 02 55 55 55 55 66 66 66 66 CC 33 C3 3C
Write 2 sucessive 32bit value to VP_N32 address 0x0002 0000
Successive_read AA 83 Add:4 Len:1 or Value:n CC 33 C3 3C
(0x83) e.g. [host]: AA 83 00 08 00 00 03 CC 33 C3 3C
Read 3 sucessive 16bit value from VP_N16 address start at 0x0008 0000
e.g. [host]: AA 83 00 02 00 00 02 CC 33 C3 3C
Read 2 sucessive 32bit value from VP_N32 address start at 0x0002 0000
STR_write AA 42 Add:4 Text:n CC 33 C3 3C
(0x42) e.g. [host]: AA 42 00 00 00 80 54 4F 50 57 41 59 00 CC 33 C3 3C
(write string “TOPWAY“ to VP_STR address 0x0000 0080 (string should end with "\0"))
STR_read AA 43 Add:4 or Text:n CC 33 C3 3C
(0x43) e.g. [host]: AA 43 00 00 00 80 CC 33 C3 3C
(request for VP_STR address 0x0000 0080 content value)
e.g. [LCM]: AA 43 54 4F 50 57 41 59 00 CC 33 C3 3C
(the feedback content value is "TOPWAY" (string end with "\0"))
STR_fill AA 46 Add:4 Len:2 Text:n CC 33 C3 3C
(0x46) e.g. [host]: AA 46 00 00 00 80 00 03 54 4F 50 57 41 59 00 CC 33 C3 3C
(fill 0x0003 VP_STR as "TOPWAY" (string should end with "\0")
Start form the VP_STR address 0x00000080)
N16_write AA 3D Add:4 Value:2 CC 33 C3 3C
(0x3D) e.g. [host]: AA 3D 00 08 00 00 00 32 CC 33 C3 3C
(write a 16bit value 0x0032 into VP_N16 address 0x0008 00000)
N16_read AA 3E Add:4 or Value:2 CC 33 C3 3C
(0x3E) e.g. [host]: AA 3E 00 08 00 00 CC 33 C3 3C
(read VP_N16 address 0x0008 0000's 16bit data content)
e.g. [LCM]: AA 3E 00 32 CC 33 C3 3C
(feed back the VP_N16 content value 0x0032)
N16_fill AA 3F Add:4 Len:2 Value:2 CC 33 C3 3C
(0x3F) e.g. [host]: AA 3F 00 08 00 00 00 03 00 32 CC 33 C3 3C
(fill 0x0003 VP_N16 with 0x0032 start form VP_N16 address 0x0008 0000)
N32_write AA 44 Add:4 Value:4 CC 33 C3 3C
(0x44) e.g. [host]: AA 44 00 02 00 00 00 00 00 32 CC 33 C3 3C
(write a 32bit value 0x0000 0032 into VP_N32 address 0x0002 0000)
N32_read AA 45 Add:4 or Value:4 CC 33 C3 3C
(0x45) e.g. [host]: AA 45 00 02 00 00 CC 33 C3 3C
(read VP_N32 address 0x0002 0000's 32bit data content)
e.g. [LCM]: AA 45 00 00 00 32 CC 33 C3 3C
(feed back the VP_N32 content value 0x0000 0032)
N32_fill AA 47 Add:4 Len:2 Value:4 CC 33 C3 3C
(0x47) e.g. [host]: AA 47 00 02 00 00 00 03 00 00 00 32 CC 33 C3 3C
(fill 0x0003 VP_N32 with 0x0000 0032 start form VP_N32 address 0x0002 0000)
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 60 of 99
Handbook Smart LCD - SGTools
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 61 of 99
Handbook Smart LCD - SGTools
Step3 Link the page with image Step4 Compile and download
① Click on the working area of the page, its properties will ① Connect the Smart LCD with ② In tool bar, click on download(or F9)
show on the right. PC by using an mini USB cable ③ click “Start Download”
② In Properties window DP0000 in the Background Image. to download the project to LCM
-- done --
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 62 of 99
Handbook Smart LCD - SGTools
Step1 Start a New Project Step2 Built 2 pages, import 2 pictures as background
(please refer to the previous examples) (please refer to the previous examples)
Step3 Link the page (PG0000)with the Step4 Built a Touch Key (TPK)
image ① In tools bar, select Touch Key
① Click on the working area of the page, its properties will show ② create a rectangle touch key area on PG0000
on the right. ③ In touch key properties, set Target as PG0001
② In Properties window, select DP0000 in the Background Image.
-- done --
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 63 of 99
Handbook Smart LCD - SGTools
Step1 Start a New Project Step2 Built a page, import a pictures as background
(please refer to the previous examples) (please refer to the previous examples)
Step3 Link the page with the image Step4 Import an icon
③ Click on the working area of the page, its properties will show on ① In Resources window, right click Icons select Import Icon.
the right. ② Select a icon file
④ In Properties window, select DP0000 in the Background Image. ③ select "Open"
-- done --
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 64 of 99
Handbook Smart LCD - SGTools
-- done --
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 65 of 99
Handbook Smart LCD - SGTools
Step1 Start a New Project Step2 Built a page, import a pictures as background
(please refer to the previous examples) (please refer to the previous examples)
Step3 Link the page with the image Step4 Import pictures as Animation
① Click on the working area of the page, its properties will show on ① In resources window, right click Animations, select "Create
the right. Animation"
② In Properties window, select DP0000 in the Background Image. ② In resources window, right click on ANI001 select "Property"
③ In Animation Property's window click “Import Images”
④ select a series of animation-pictures (in same size)
⑤ click "OPEN"
⑥ click “OK”
Step5 Built a Animation Element Step6 Link the Animation with the Element
① In tool bar, select animation element ③ In Animation Element properties, set Loop-Play as True
② Creata a rectangle animation element on page ④ In Animation Element properties, select the Animation import in
step4
-- done --
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 66 of 99
Handbook Smart LCD - SGTools
-- done --
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 67 of 99
Handbook Smart LCD - SGTools
Step5 Built a String Element and linke with VP Step6 Built a Touch Key (TPK) to call out English
① In tools bar, select String Element Keyboard
② Create a rectangle String Element area on PAGE ① In tools bar, select Touch Key
③ In String Element properties set Transparent as “True” ② Create rectangle touch key area on the PAGE
④ In String Element properties, set Font as: "32_ASCII_SysBold" ③ In touch key properties,
⑤ In String Element properties, set VP Address link to VP_STR set "CALL" as "Keyboard English"
0x000080 ④ set "Title/Value" as “Input”
⑤ set "VP Address" as 0x000080
note: Keyboard English will send a confirmed input to host
-- done --
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 68 of 99
Handbook Smart LCD - SGTools
Step1 Start a New Project Step3 Link the pages with the IMG_BKGs
(please refer to the previous examples) ① Click on the working area of each Page, the properties will
show on the right.
② In Properties window, select the imported Background image
Step2 Built 3 pages, import 3 pictures as where DP0000 for login, DP0001 for login failed, DP0002 for
IMG_BKG successfully login
(please refer to the previous examples)
Step6 Built a Virtual Touch Key (VPK) to trigger Step7 Page Function that action at Page loading
a page jump (copy the BUFF value that input by password keyboard to the
Monitor-VP)
① In tool bar, select Virtual Touch Key
① Right click on the empty area of DP0001
② Create rectangle VPK area on the PAGE
select "Page Functions”
③ In Touch Key properties,
② Click on "Add”
set "Monitor-VP" as "0x020000"
③ select the Functions List ID:0
④ set "Monitor-Value" as "12345"(*1)
④ set "Call" as "VP:=BUFF"
⑤ set "Target" as "PG0002"
⑤ set "VP Address" "0x020000"
⑥ Built a retry TPK on DP0001 (login failed) page for jump back to
⑥ click "Close" to finish
PG0000 (login page)
*1. If 0x020000 value equal to "12345", it jump to PG0002
-- done --
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 69 of 99
Handbook Smart LCD - SGTools
Step3 Link the page with the IMG_BKG Step4 Import a Font Face
(please refer to the previous examples)
① Click on the working area of the PAGE, its properties will show on ① In menu bar, Tools-->Options-->Font Setting.
the right. ② Right click on font 44 then “Select”
② In Properties window, select the imported Background Image. ③ Select “64_NUM_SevenSegment(40x64)"
④ Click “Select”
⑤ Click “OK”
Step5 Built a RTC on screen RTC Step6 Built a Touch Key (TPK) to call RTC
Keyboard
① In tools bar, select RTC ① In tool bar, select Touch Key
② Create a rectangle area on page ② Creat a rectangle touch key area on the PAGE
③ In Touch Key properties, ③ In touch key properties,
set "Font Color" as "0x00FFFF" (CYAN) set "Call" as "Adjust RTC"
④ set "Transparent" as "True”
⑤ set "Font" as "64_NUM_SevenSegment(40x64)"
⑥ set "Date/Time Format" as "YYYY-MM-dd HH:mm:ss"
-- done --
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 70 of 99
Handbook Smart LCD - SGTools
Step4 Allocate a VP_STR and show on page Step5 Built a Touch Key (TPK) to call PIP Menu
① In Resources Window, right click on String Variables, select ① In tools bar, select Touch Key
"New VP" ② Create rectangle touch key area on the PAGE
② In tools bar, select String Element ③ In Touch Key properties,
③ Create rectangle string element area on the PAGE set "Call" as "PIP Menu"
④ In String Element properties, ④ set "VP Address" as "0x000080"
set "Font Color" as "0xFF0000"
⑤ set "Transparent" as "True"
⑥ set "Font" as "32_ASCII_SysBold"
⑦ set "Align" as "Center"
⑧ set "VP Address" as "0x000080"
Step6 Built 5keys in PIP menu page (PG0001) Step7 PIP Menu window configuration
① In tools bar, select Touch Key ① click on PIP Menu window
② Create 5 rectangle touch keys area on the PAGE ② In PIP WIN properties,
③ In Touch Key properties set "Pop Area of Page" as "PG0001"(the menu page)
set all 5 TPKs' "On Press Down" as "Inverse Color" ③ set "PIP WIN X/Y" pop up position
④ set all 5 TPKs' "Target" as "PG0000" (hold the Ctrl key with mouse to shift the PIP window content area)
⑤ set all 5 TPKs' "Call" as "VP:=value" (After selected the TPK by mouse click, PIP window will show on page)
⑥ set all 5 TPKs' "VP Address" as "0x000080"
⑦ set each TPK "Title/Value" as "RMB", "HKD", "USD". "YAN"
and "GBP"
-- done --
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 71 of 99
Handbook Smart LCD - SGTools
Step6 PIP Keyboard configuration Step7 Built PIP keyboard's keys and its setting
① In POP TITLE properties
① In tools bar, select Touch Key
set "Font Color" as "0xFF0000"
② Create 13 rectangle touch keys area on the PAGE
② set "Transparent" as "True"
③ In Touch Key properties
③ set "Font" as "32_ASCII_SysBold"
set all 13 TPKs' "On Press Down" as "Cropped BgImg"
④ In POP WIN properties,
④ set all 13 TPKs' "Icon" as DP0002
set "Pop Area of Page" as "PG0001" (keyboard page)
⑤ set the 10 numeric TPKs' "Call as "Buf:=Con(Buff,Cap/Nom(Byte0/Byte1))"
⑤ set "PIP WIN X/Y" pop up position
set "Title/Value" as its own value(*1)
(hold the Ctrl key with mouse to shift the POP window
⑥ set the “X” TPK's "Call" as "vp:=DelLastchar(vp)"
content area)
⑦ set the “ESC” TPK's "Call" as "Call=Esc"
⑧ set the “OK” TPK's "Call" as "Call=Enter"
*1. Key and code
value
Key Code
Value
0 0x30
1 0x31
2 0x32
: :
8 0x38
9 0x39
-- done --
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 72 of 99
Handbook Smart LCD - SGTools
*1 TPK Title/Value
Step6 PIP Keyboard configuration Step7 Built PIP Keyboard's keys and its Key Code Upper Lower
0x4161 A a
① In POP TITLE properties setting 0x4262 B b
set "Font Color" as "0xFF0000" 0x4363 C c
① In tools bar, select Touch Key 0x4464 D d
② set "Transparent" as "True" ② Create 45 rectangle touch keys area on the PAGE
0x4565
0x4666
E
F
e
f
③ set "Font" as "32_ASCII_SysBold" ③ In Touch Key properties 0x4767 G g
0x4868 H h
⑥ In POP WIN properties, set all 45 TPKs' "On Press Down" as "Inverse Color" 0x4969 I i
0x4A6A J j
set "Pop Area of Page" as "PG0001" (keyboard page) ④ set the 40 TPKs' "Call as 0x4B6B K k
0x4C6C L l
set "PIP WIN X/Y" pop up position "Buf:=Con(Buff,Cap/Nom(Byte0/Byte1))" 0x4D6D M m
(hold the Ctrl key with mouse to shift the POP window set "Title/Value" as its own value(*1)
0x4E6E N n
0x4F6F O o
content area) 0x5070 P p
⑤ set the other 5 TPKs "Call" as special functions 0x5171 Q q
0x5272 R r
as "CapLock" / "vp:=DelLastchar(vp)" / "Enter" / "Move 0x5373 S s
Cursor Right" / "Move Cursor Left" 0x5474
0x5575
T
U
t
u
0x5676 V v
0x5777 W w
0x5878 X x
0x5979 Y y
0x5A7A Z z
0x7E60 ~ ‘
0x2131 ! 1
0x4032 @ 2
0x2333 $ 3
0x2423 # 4
0x2535 % 5
0x5E36 ^ 6
0x2637 & 7
0x2A38 * 8
0x2839 ( 9
0x2930 ) 0
0x5F2D _ -
0x2B3D + =
0x3F2F ? /
-- done --
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 73 of 99
Handbook Smart LCD - SGTools
Step6 Built a Number Element and link with VP Step6 Built 4 Touch-Key (TPK) on screen
② In tools bar, select number element ① In tools bar, select Touch-Key element
③ Create a rectangle Number element area on page ② Create 4 rectangle Touch-Key element on page
④ In Number Element properties, ③ In Touch-Key element properties
set "Font Color" as "0x00FFFF" set "On Press Down" as "Inverse Color"
⑤ set "Transparent" as “True” ④ set "VP Address" as "0x020000"
⑥ set Font" as "80_NUM_Sys" ⑤ set 1st TPK "Call" as "VP:=VP+Value", "Title/Value" as "10"
⑦ set "Align" as "Right" ⑥ set 2st TPK "Call" as "VP:=VP-Value", "Title/Value" as "1"
⑧ set "VP Address" as "0x020000" ⑦ set 3st TPK "Call" as "VP:=VP*Value", "Title/Value" as "2"
⑧ set 4th TPK "Call" as "VP:=VP/Value", "Title/Value" as "5"
-- done --
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 74 of 99
Handbook Smart LCD - SGTools
-- done --
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 75 of 99
Handbook Smart LCD - SGTools
Step5 Built a Progress Bar on screen Step6 Config the Progress Bar and link to VP
① In tools bar, select Progress Bar element ③ In Progress Bar element properties
② Create 2 rectangle Progress Bar area on screen set "Format" as "Vertical:Down to Up"
④ set "Forecolor 1" as "0xFF0000"
⑤ set "Forecolor 2" as "0xFF0000"
⑥ set "Gap Color" as "0xFF0000"
⑦ set "VP Max" as "100"
⑧ set "VP Address" as "VP 0x080000"
⑨ repeat the above to the second Progress Bar with another color
-- done --
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 76 of 99
Handbook Smart LCD - SGTools
-- done --
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 77 of 99
Handbook Smart LCD - SGTools
Note: Editor supports BMP, JPG, PNG. In this case a 800x480 picture
could be best fit to the display. or Editor will resize it to fit the display
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 78 of 99
Handbook Smart LCD - SGTools
Step6 Compile and download to the Smart LCD (please refer to the previous examples)
note. value outside 0~28 will hide the TCM form the screen
-- done --
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 79 of 99
Handbook Smart LCD - SGTools
note. value outside 0~6 will hide the TCM form the screen
-- done --
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 80 of 99
Handbook Smart LCD - SGTools
note. value outside 0~12 will hide the TCM form the screen
-- done --
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 81 of 99
Handbook Smart LCD - SGTools
Note:
1st 2nd ... 10th 11th 12th
icon icon icon icon icon
...
-- done --
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 82 of 99
Handbook Smart LCD - SGTools
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 83 of 99
Handbook Smart LCD - SGTools
Note:
Bitmap data 1 for Foreground Color, 0 for Background Color
Data Example:
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 84 of 99
Handbook Smart LCD - SGTools
Step3 Link the page with the IMG_BKG Step4 Built a Swap Page Element
○
1 Click on the working area of the PAGE, ○
1 select the Swap Page Element
its properties will show on the right ○
2 put it inside any empty area of the PAGE
○In Properties window, select the imported Background Image
2 ○
3 set the Swap Page Element properties’
PG0000 link asDP0000, Left side Page and Right Side Page
PG0001 link as DP0001, PG0000: Left Side Page=PG0001, Right Side Page=PG0002
PG0002 link as DP0002 PG0001: Left Side Page=PG0002, Right Side Page=PG0000
PG0002: Left Side Page=PG0000, Right Side Page=PG0001
Note:
This element work for full page,
its Width, Height are not related to its functionality.
PD0000 is show at power on On PD0000, sweep form left to right On PD0000, sweep form right to left
and show the PD0001 and show the PD0002
- Done -
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 85 of 99
Handbook Smart LCD - SGTools
- Done -
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 86 of 99
Handbook Smart LCD - SGTools
- Done -
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 87 of 99
Handbook Smart LCD - SGTools
- Done -
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 88 of 99
Handbook Smart LCD - SGTools
- Done -
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 89 of 99
Handbook Smart LCD - SGTools
Step2 Built a page, import pictures as IMG_BKG Step4 Built a page, import pictures as
IMG_ICO
Step5 Built Touch Switch Element Step6 Built Bit Icon Element
○
1 Select Touch Switch Element Tool ○
1 Select Bit Icon Element Tool
○
2 Align 4 elements on switches area ○
2 Align 4 elements on LEDs area
○
3 set Properties-Visual Effect, Display Effect=Show Cropped BgImg ○
3 set Properties-Visual Effect, Bit=1 Display Effect=Show Icon
Properties-Visual Effect, Icon/BgImg=DP0001 Properties-Visual Effect, Bit=1 Icon/BgImg=DIDP0001
Properties-Content, VP Address=0x080000 Properties-Visual Effect, Bit=0 Display Effect=Show Icon
Properties-Content, Bit Position=1,2.3,4 for each switch Properties-Visual Effect, Bit=0 Icon/BgImg=DIDP0000
Properties-Content, VP Address=0x080000
Properties-Content, Bit Position=1,2.3,4 for each LED
- Done -
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 90 of 99
Handbook Smart LCD - SGTools
- Done -
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 91 of 99
Handbook Smart LCD - SGTools
○
3 Set the RMP, km/h, TEMP, GAS properties
(see right side table)
○
4 Slide the left slider ○
5 Slide the right slider
rpm and km/h hands move accordingly TEMP and GAS hands move accordingly.
As they are having different range, The two hands set as anticlockwise
Their rotate refer to its Max Min value When VP value higher than its max,
it stay as max (see GAS hand as example)
- Done -
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 92 of 99
Handbook Smart LCD - SGTools
9.18 - Done -
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 93 of 99
Handbook Smart LCD - SGTools
10 Appendix
10.1 SGTools Shortcut Keys
File Tools Image Element Tools
icon Name Shortcut Key icon Mnemonic Name Shortcut Key
New Project Ctrl + N
ICO Static Icon Ctrl + Shift + I
Vertical Distribute --
String
STR Ctrl + T
Element
N16
Number
N32 Ctrl + M
Element
N64
Timer
TMR --
Display
Real Time
RTC Ctrl + R
Clock
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 94 of 99
Handbook Smart LCD - SGTools
≤10000/project
IMG_BKG Background Image -- -- DP0000 ~ DP9999
(*1)
≤10000/project
IMG_ICO Icon -- -- DI0000 ~ DI9999
(*2)
≤1000/project
IMG_ANI Animation -- -- ANI000 ~ ANI999
(*2)(*3)
VP_N16 16bit Integer Variable -- -- ≤32512 / project 32512(MAX) x (2)byte 0x080000 ~ 0x08FDFE
VP_N32 32bit Integer Variable -- -- ≤16128 / project 16128(MAX) x (4)byte 0x020000 ~ 0x02FBFC
VP_N64 64bit Integer Variable -- -- ≤7936 / project 7936(MAX) x (8)byte 0x030000 ~ 0x03F7F8
16384(MAX) x (8)byte
VP_G16 16bit Graph Variable -- -- ≤16384 / project 0x060000 ~ 0x07FFF8
(dynamic array allocation)
2048(MAX) x (64)byte
VP_BP1 Bitmap Variable -- -- ≤2048 / project 0x060000 ~ 0x05FFBF
(dynamic array allocation)
Note:
*1. IMG_BKG must >1/2 of Full-Screen (Editor auto resize to fit screen)
*2. IMG_ICON and IMG_ANI Size Limit
Project resolution Size Limit
320x240 320x240 max. (Full-Screen)
480x272 480x272 max. (Full-Screen)
640x480 131072pixels (42% of Full Screen)
800x480 131072pixels (34% of Full Screen)
800x600 131072pixels (27% of Full Screen)
1366X480 131072pixels (20% of Full Screen)
*3. 1~64frame max.
*4. Memory Size may vary by model.
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 95 of 99
Handbook Smart LCD - SGTools
VP_N16 (*2)
VPK Virtual Key -- ≤64 / PAGE -- 0 ~ 63 (each page)
VP_N32 (*2)
N16 VP_N16 --
N32 Number Element VP_N32 -- ≤120 / PAGE -- 0 ~ 119 (each page)
N64 VP_V64 --
VP_N32
TMR Timer Display -- ≤8 / PAGE -- 0 ~ 7 (each page)
(timer only)
VP_N16 2(MAX) x
IDX_BIT Bit Icon ≤64 / PAGE -- 0 ~ 63 (each page)
VP_N32 IMG_ICON
10000(MAX) x
IDX Indexed Icon VP_N16 --
IMG_ICON
≤64 / PAGE 0 ~ 63 (each page)
181(MAX) x
TCM Tachometer VP_N16 --
IMG_ICON
VP_STR
QRC QR Code Element -- ≤4 / PAGE -- 0 ~ 3 (each page)
VP_N16 (in seq.)
Note:
*1. IMG_ICO for key-down display, IMG_BKG will be cropped to key size for key-down display
*2. Monitoring values
*3. Element display Size: 8x8 (MIN), except Bitmap Element
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 96 of 99
Handbook Smart LCD - SGTools
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 97 of 99
Handbook Smart LCD - SGTools
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 98 of 99
Handbook Smart LCD - SGTools
12 Revisions
Rev. Descriptions by Release Date
0.01 - Draft Release K.C. 2019-01-24
1.00 - Preliminary New Release K.C. 2019-10-10
TOPWAY reserves the right to update the functionality of the products without prior notice. Document Name: TOPWAY_SmartLCD(SGTools)User_handbook(en)Rev100.doc
URL: www.topwaydisplay.com Page: 99 of 99