Graphics Elements: Difference between revisions

From Smart LCD
Line 119: Line 119:


[[File:TCM Donut note04.png|640x640px]]
[[File:TCM Donut note04.png|640x640px]]
== Tachometer - Icon Mode (TCM) ==
[[File:TCM.png|128x128px]]

Revision as of 10:54, 29 May 2025

Tachometer - Hand Mode (HND)

General
Show the basic information of the element
X and Y is the location of element on screen, reference point is element top-left corner
Width and Height are in pixels
top-left corner of the screen = 0,0
Style
Mode options are Hand / Donut Mix Color / Donut Discolor / Icon Rotation / Icon Open / Pseudo Icon Rotation / Pseudo Icon Open
Direction options Clockwise / CounterClockwise
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 
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 display only. 
It show beside the Major Marking
Foreground
Hands Type options are Line / Quadrangle / Trangle
Hands Color is for the pointer hand color
Center Mark Color is color at the center of the meter
Rotation Center Point
Rotation Center options are Auto / Advance
Rotation Center X, Y define the the rotation reference point
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 can be shown
(value smaller than this value will stop at the min location)
Max Value is the top value that can be shown 
(value larger than this value will stop at the max location)
Properties Control (advance feature)
Enable VP is none by default (element operate normally)
Select a VP for real time element control. 
VP value will set to 1 as enable at power-on. It can be disabled (hidden) by a zero value
Base Color VP, Hands Color VP, Center Mark Color VP, Major Marking Color VP, Minor Marking Color VP and Label Color VP are none by default (using the above selected color)
Select a VP for real time base color adjustment
VP value will copy the above selected color at power-on
Hands Type VP, is none by default (using the above selected color) Select a VP for real time base color adjustment VP value will copy the above selected color at power-on
Preview
Preview Value is only for displaying text in SGTools environment

Note

*1. Radius and Angle Definition

Tachometer - Donut Mode (R16, R32)

General
Show the basic information of the element
X and Y is the location of element on screen, reference point is element top-left corner
Width and Height are in pixels
top-left corner of the screen = 0,0
Style
Mode options are Hand / Donut Mix Color / Donut Discolor / Icon Rotation / Icon Open / Pseudo Icon Rotation / Pseudo Icon Open
Direction options Clockwise / CounterClockwise
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
Background
Show Base Color show the Donut shape background even at min value
(in Mix Color Mode, Background color is the Gap color)
Base Color is the Donut background color
(Mix Color Mode, Background color is the Gap color)
Internal Radius define the middle hole of the Donut
Edge Width can selected as an outline over the Donut
Foreground
Step Width is for adjust display Levels color size
Gap Width 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, Rotation Center 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) 
Properties Control (advance feature)
Enable VP is none by default (element operate normally)
Select a VP for real time element control.
VP value will set to 1 as enable at power-on. It can be disabled (hidden) by a zero value.
Color Array VP is for changing the color for visual effect
VP value will copy the above selected Color at power-on.
Preview
Preview Value is only for displaying text in SGTools environment

Note

*1. Definition of Radius and Angle *2. example: Direction = Clockwise; Start Angle = 255°; Sweep Angle = 270

*3. Donut Mix Color Mode example

*4. Donut Discolor Mode example

Tachometer - Icon Mode (TCM)