FAQ-01: Difference between revisions
From Smart LCD
| (2 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
=== What is SGTools? === | === What is SGTools? === | ||
* SGTools is an UI development software dedicated for TOPWAY Smart LCD. | |||
* SGTools is an upgraded version over the previous RGTools. | |||
* It supports all the Smart LCD with resistive touch or capacitive touch. | |||
=== How many background image can be store in to Smart LCD? === | === How many background image can be store in to Smart LCD? === | ||
* Most of the Smart LCD is having 256Mbyte Flash (vary by model) in the Smart LCD | |||
* The no. of background image can be preload is depends on the display resolutions (vary by model) | |||
* The Smart LCD is showing the interface by PAGE and pages can share the same background image | |||
* The maximum no. of PAGE is up to 1000 | |||
* It should be good enough for most of the UI design | |||
{| class="wikitable" | {| class="wikitable" | ||
|+ | |+ | ||
| Line 83: | Line 86: | ||
* In case no USB device found on the PC (Smart LCD connected), it is possible the Smart LCD USB drive was corrupted during previous download | * In case no USB device found on the PC (Smart LCD connected), it is possible the Smart LCD USB drive was corrupted during previous download | ||
* Use PC format tools to format the drive | * Use PC format tools to format the drive with FAT32 filesystem | ||
== Display Project Configuration == | == Display Project Configuration == | ||
Latest revision as of 13:44, 20 October 2025
General
What is SGTools?
- SGTools is an UI development software dedicated for TOPWAY Smart LCD.
- SGTools is an upgraded version over the previous RGTools.
- It supports all the Smart LCD with resistive touch or capacitive touch.
How many background image can be store in to Smart LCD?
- Most of the Smart LCD is having 256Mbyte Flash (vary by model) in the Smart LCD
- The no. of background image can be preload is depends on the display resolutions (vary by model)
- The Smart LCD is showing the interface by PAGE and pages can share the same background image
- The maximum no. of PAGE is up to 1000
- It should be good enough for most of the UI design
| Smart LCD resolutions | No. of background picture |
|---|---|
| 800x600 | ~270 |
| 800X480 | ~330 |
| 480X272 | ~1000 |
What kind of image can be use in the SGTools?
Background Image
- Recommend 24bit BMP
- Recommend matched resolution image
- SGTools will resize the un-matched resolution to fit the screen
Icons
- Recommend 24bit BMP
- Limit to 1/4 of the Smart LCD display resolutions
Animations
- Recommend 24bit BMP, Animated GIF supported
- Limit to 1/4 of the Smart LCD display resolutions
USB issue during display project download
Power off Smart LCD
- Ensure the Smart LCD is totally power off
- Disconnect the power supply cable of the Smart LCD
Cable issue
- Use a good quality USB cable
- Ensure USB power supply(500mA/5V USB supply)
- A dual USB-A to micro-USB cable, may help in some case
PC USB terminal
- Try another the USB terminal
- Connect to the PC motherboard directly (back side of the is better than the front)
Smart LCD cannot be recognized by PC…
Smart LCD USB access locked
- In case no USB device found on the PC (Smart LCD connected), it is possible than the Smart LCD USB access locked
- Connect the RS-232 terminal to the PCB
- In TOPWAY Command Tools, use the “Unlock USB drive” command with the correct password to unlock the USB access
Smart LCD USB access locked (forgot password)
- In case no USB device found on the PC (Smart LCD connected), it is possible the Smart LCD USB access locked
- Connect the RS-232 terminal to the PCB
- In TOPWAY Command Tools, use the “Format USB drive” command to format the USB drive and the USB access will be unlock at the same time
Abnormal USB drive found
- In case no USB device found on the PC (Smart LCD connected), it is possible the Smart LCD USB drive was corrupted during previous download
- Use PC format tools to format the drive with FAT32 filesystem
Display Project Configuration
How to config the screen saver?
- To Set the Screen Saver Mode...
- The Screen Saver Mode can be config in the SGTools Menu ⇒ Tools ⇒ Project Setting
Note. Dim down backlight can further extend the backlight LEDs life.
How to wake up form screen saver?
- To Wake-up form Screen Saver...
- Anywhere on screen being touched
- A page jump command received
- A data on screen was updated
How to shorten the power up “Starting RTC” time?
Install RTC battery
- Operate with RTC battery installed can shorten the power up time
RTC Mode Setting
- The RTC mode can be config in the SGTools Menu ⇒ Tools ⇒ Project Setting
- RTC Mode as follow
| RTC Mode | Operating with RTC battery | Operating without RTC battery | Descriptions |
|---|---|---|---|
| Enable | 1st power up takes 6s;
next power up takes 1s |
every power up takes 6s | RTC run with correct init |
| Disable | every power up takes 1s | every power up takes 1s | RTC stop |
| Engineering Mode | every power up takes 1s | every power up takes 1s | RTC run without init
RTC might not run correctly NOT suggest for production setting |
UI Elements and Functions
How to calibrate the resistive touch panel?
Power-on Calibration
- Touch and hold the top-right corner of the RTP
- Power on the Smart LCD
- The display will enter the calibrate mode
- Touch the cross on screen to do the calibration
Command Calibration
- Power on the Smart LCD
- Use a E4 command to enter the calibration mode (AA E4 55 AA 5A A5 CC 33 C3 3C)
- The display will enter the calibrate mode
- Touch the cross on screen to do the calibration
How to show Value with decimal point?
Integer Value (VP_N16, VP_N32, VP_N64)
- Data Type can be Signed or Un-signed
- Config the Integer Digits and Decimal Digits in the Number elements
- It will show integers with decimal point.
| VP's value(10's) | Interger Digits | Decimal Digits | Display Result |
|---|---|---|---|
| 15 | Auto | 3 | 0.015 |
| 23762 | Auto | 3 | 23.782 |
| 5629 | 5 | 1 | 00562.9 |
| -87913 | 3 | 2 | -879.13 |
| -13277 | 2 | 2 | -99.99 |
| 1758 | 3 | 0 | 999 |
Note. Over range value will show its max value
Floating Value (VP_N32)
- Data Type should be Floating Value
- Float type value is suggested to select: Integer Digits=Auto, Decimal Digits=1~9. to prevent over maximum value presentation error
Note. Float type value might rounded or truncated due to hex-dec conversion
How to hide an element in page?
Real Time Properties Control
- Enable VP is can be use to hide an element in page
- Enable VP is none by default (element operate normally)
- It can assign a VP address (VP_N16, VP_N32, VP_N64) to it as its Enable control register
- The VP value set to 1 as enable at power-on.
- It can be disabled (hidden) by a zero value
How to display Chinese Char?
- Smart LCD support GB2312, GBK, BIG5
- GB2312 support the most command 6763 simplified Chinese
- Select a Chinese Font Char set in the String ElementConfig a VP_STR with it
- Send a GB code string to the VP_STR to display it on screen
Note. It can generate custom font in SGTools (Menu ⇒ Tools ⇒ Font Setting ⇒ Font Config <2>)
Communications
How to config the terminal buadrate?
By Project setting
- The terminal baudrate can be config in the SGTools (Menu ⇒ Tools ⇒ Project Setting)
- default is115200 baud per second
By Command
- It is also possible to change the baudrate by using command.
- Use a E0 command to set sys config (AA E0 55 AA 5A A5 07 83 00 CC 33 C3 3C)
- Baud rate will back to project setting after next power on
How to resolve communication issue?
Physical Connections
- Check the terminal connections cable
- Ensure the GND is connection
- Confirm the cross wiring (Tx to Rx )
| Smart LCD TX ⇒ PC Rx |
| Smart LCD Rx ⇐ PC Tx |
| Smart LCD RTS ⇒ PC CTS |
Signal Levels
- Check the terminal signal of the Smart LCD
- There are three kind of Smart LCD terminal (depends on model) UART (3.3V) / RS-232C (±12V) / RS-485 (3.3V)
- The host and the Smart LCD must be have the same signal levels
- Only Smart LCD with RS-232C can interface to PC RS-232C signal(±12V)
Byte Packet Config
- Check the baud rate (115200 by default)
- Check the no. of bit, parity and stop bit (8N1 by default)
- All the command are in hex/binary (NOT ASCII)
What is the function of terminal RTS signal?
RTS signal
- RTS is an output signal of the Smart LCD, working like a busy signal
- It will be set, while the Smart LCD input buffer full When RTS set, host should stop sending data/command to prevent data/command lost
- As Smart LCD is having 32kbyte (various by model) input buffer
- In most of the case, it may not necessary to use RTS signal




