About GTRACKBAR

LINEAR INDICATOR (GTRACKBAR) is a user control used on EOS SCADA screens to visually represent a numerical value on a linear scale. The control can operate horizontally or vertically and shows the current value's position on the scale between the minimum and maximum limits of the value range.


The LINEAR INDICATOR helps operators quickly perceive the level of a process value within a specific operating range. Its appearance can be configured according to process requirements using major and minor ticks, numerical labels, the indicator head, a value box, colors, and visual formatting options.

150150 120120 9090 6060 3030 00
0

Scale + Value + Indicator Head

The example shows a 0–150 range on a vertical scale, minor and major ticks, numerical tick labels on both sides, and a red indicator head near the bottom.

This is a typical example of how GTRACKBAR can represent a value through its position on a linear scale, rather than through the amount of a bar that is filled.

Basic Operating Principle

Minimum value → scale → current value → maximum value. As the value changes, the slider/indicator head moves to the corresponding position on the scale. In the EOS source code, the minimum and maximum values and the indicator head's shape, size, and colors can be configured separately.

Horizontal and Vertical Orientation

The Orientation property determines the control's orientation on the screen.

Vertical

The Vertical option configures the value scale as a compact indicator that can be read from bottom to top or from top to bottom. The example provided by the user uses this orientation.

Horizontal

The Horizontal option allows the control to be used as a horizontal linear indicator. It may be suitable for wide screens or layouts that follow horizontal process flows around equipment.

Screen Layout

Orientation makes it easier to position the indicator according to the available space on the SCADA screen and the natural visual direction of the relevant process information.

Scale, Minimum, and Maximum Values

MinValue and MaxValue define the two limits of the linear indicator's measurement range. The default range in the provided source is 0–100.

0Minimum value
100Maximum value
×1Value multiplier
F2Value string format

The ValueMultiplier value is defined as 1 in the source. This property allows the displayed value to be scaled using a multiplier. ValueStrFormat specifies the numeric format used in the value box.

Choosing the Scale Is Important

The minimum and maximum values should match the process's actual operating range. An excessively wide range can visually compress small changes, while an excessively narrow range may cause normal operating values to extend beyond the scale. The scale should therefore be selected by considering process engineering requirements and screen design together.

Ticks and Scale Labels

One of GTRACKBAR's distinguishing features is the ability to enhance the linear scale with minor ticks, major ticks, and numerical labels.

Property EOS English Equivalent Default Description
MinorTickColor Minor Tick Color DarkGray Specifies the color of the minor scale marks.
MinorTickType Minor Tick Type Middle Specifies the position of minor ticks relative to the scale.
MinorTickInterval Minor Tick Interval 5 Specifies the value interval between minor ticks.
MinorTickOffset Minor Tick Offset 0 Specifies the positional offset of minor ticks.
MinorTickWidth Minor Tick Width 20 Specifies the width of the minor tick lines.
MinorTickThickness Minor Tick Thickness 1 Specifies the thickness of the minor tick lines.
MajorTickColor Major Tick Color SaddleBrown Specifies the color of the major scale marks.
MajorTickType Major Tick Type Middle Specifies the position of major ticks.
MajorTickInterval Major Tick Interval 20 Specifies the value interval between major ticks.
MajorTickOffset Major Tick Offset 10 Specifies the starting positional offset of major ticks.
MajorTickWidth Major Tick Width 20 Specifies the width of the major tick lines.
MajorTickThickness Major Tick Thickness 2 Specifies the thickness of the major tick lines.

Tick Labels

The appearance of numerical values on the scale is controlled by the TickLabel... properties.

Property EOS English Equivalent Default
TickLabelFontColor Tick Label Font Color Red
TickLabelFont Tick Label Font Arial Narrow, 8.25 pt
TickLabelType Tick Label Type Both
TickLabelXOffset Tick Label X Offset 0
TickLabelYOffset Tick Label Y Offset 0
TickLabelRotate Rotate Tick Labels false
TickLabelStrFormat Tick Label Format ""

In the provided example, the numerical labels appear on both sides of the scale, clearly illustrating the visual effect of setting TickLabelType=Both.

Slider and Indicator Head

The moving part that indicates the value's position on GTRACKBAR is configured through the slider/indicator head properties.

Property EOS English Equivalent Default Description
SliderHeadShape Slider Head Shape UpTriangle Specifies the geometric shape of the value indicator.
SliderHeadSize Slider Head Size 20 × 20 Specifies the size of the indicator head.
SliderHeadColor1 Slider Head Color 1 Red Specifies the first color of the indicator head.
SliderHeadColor2 Slider Head Color 2 AliceBlue Specifies the second color of the indicator head.
SliderBorderColor Slider Border Color Blue Specifies the border color of the indicator head.
SliderHeadOffset Slider Head Offset 0 Specifies the positional offset of the indicator head.
SliderCapEnd Slider End Cap Flat Specifies the end geometry of the slider.
SliderCapStart Slider Start Cap Flat Specifies the starting geometry of the slider.

A Visual Indicator Is Not the Same as Operator Interaction

The GTRACKBAR source code explicitly defines the shape and visual properties of the slider head. However, the supplied source excerpt does not show a separate event, method, or input property indicating that an operator can drag the control to write a value to a tag. Therefore, this page treats the indicator head strictly as a visual value indicator. In general HMI slider controls, changing a process value by dragging the slider is common; this does not establish that EOS GTRACKBAR definitely supports the same behavior.

Color, Gradient, Theme, and Visual Style

The control consists of more than scale lines. Properties such as background, border, gradient, glass effect, and opacity allow the indicator to be adapted to the overall design of a SCADA screen.

Property EOS English Equivalent Default
BrushStyle Brush Style Path
BrushDirection Brush Direction ForwardDiagonal
BackgroundTheme Background Theme Gradient
BackColor1 Background Color 1 AntiqueWhite
BackColor2 Background Color 2 FloralWhite
BorderColor Border Color DarkGoldenrod
CurveMode Curve Mode All
BorderStyle Border Style Fixedsingle
BorderWidth Border Width 2
Curvature Curvature 5
GlassColor Glass Color Orange
Opacity Opacity 50

Value Box

The displayed numerical value can optionally be presented in a separate box. This is particularly useful on small screens or on SCADA screens where the value on the scale needs to be read quickly.

Property EOS English Equivalent Default
ValueBoxAlignment Value Box Alignment None
ValueBoxSize Value Box Size 40 × 20
ValueBoxBackColor Value Box Background Color Black
ValueBoxFontColor Value Box Font Color AliceBlue
ValueBoxBorderColor Value Box Border Color MediumBlue
ValueBoxFont Value Box Font Arial Narrow, 8.25 pt
ValueBoxShape Value Box Shape Rectangle
ValueStrFormat Value String Format F2

Indicator Label

The DisplayLabel property controls whether an additional description or label is displayed on the control.

Property EOS English Equivalent Default
DisplayLabel Display Label false
LabelAlighnment Label Alignment Center
LabelText Label Text ""
LabelColor Label Color MediumBlue
LabelFont Label Font Arial Narrow, 12 pt, Bold
LabelPadding Label Padding 0,0,0,0

General Properties

The basic user control properties of GTRACKBAR are listed below:

Property EOS English Equivalent Default Description
UCType Control Type GTRACKBAR Defines the type of the user control.
UpdateInterval Update Interval 1000 ms Specifies the control's update interval.
DecimalPoint Decimal Places 0 Specifies the number of decimal places used to display numerical values.
UCBackColor Control Background Color Transparent Specifies the control's default background color.
UCForeColor Control Foreground Color Black Specifies the control's default text color.
UCFont Control Font Arial Narrow, 8.25 pt Specifies the control's default font.
Orientation Orientation Vertical Specifies whether the control is oriented horizontally or vertically.
ValueMultiplier Value Multiplier 1 Scales the displayed value using a multiplier.
MaxValue Maximum Value 100 Specifies the upper limit of the scale.
MinValue Minimum Value 0 Specifies the lower limit of the scale.

Enumerations

Various visual behaviors in the GTRACKBAR source code are defined through enumerations.

Enumeration Options
GNOrientasyon Horizontal, Vertical
GTGradyanTuru Linear, Linear, Path
SHGradyanTuru None, Horizontal, Vertical, Forward Diagonal, Backward Diagonal
GTTema None, Glass, Gradient
GNCerceveTuru None, Fixed Single, Fixed 3D
GNYatayMetinHizalama Left, None, Right
GTSekil Ellipse, Rectangle
GTIgne Ellipse, Rectangle, Up Triangle, Down Triangle, Up Arrow, Down Arrow
RMSekilTuru Flat, Square, Round, Triangle, No Anchor, Square Anchor, Round Anchor, Diamond Anchor, Arrow Anchor, Anchor Mask, Custom
GTTikKonum None, Top Right, Bottom Left, Both Sides, Middle
GTHizalama Near, Center, Far

Applications in SCADA and HMI Systems

In industrial HMI/SCADA software, linear indicators and slider-like controls are used to monitor process values within a defined range, view their positions on a scale, and, in some products, allow operators to adjust values. Siemens WinCC Unified documentation explains that its Slider object can monitor and adjust process values within a defined range, and describes configurations such as minimum/maximum scale limits, a current-value indicator, and color-coded thresholds or ranges. citeturn0search0turn0search3

Process Value Monitoring

Quickly displaying the position of pressure, temperature, level, flow rate, speed, or similar continuously varying values within a defined range.

Linear Value Display

Visually displays the position of a numerical process value on a linear scale between the specified minimum and maximum limits. As the value changes, the indicator head moves accordingly along the scale.

Level and Flow Rate

Provides a suitable visual format for showing the position of values such as tank level, reservoir level, flow rate, and fluid flow on a scale.

Electrical Quantities

Compactly displaying the level of numerical values such as voltage, current, power, or power factor within a defined range.

Equipment Status

Visually representing the operating range and current position of continuously varying parameters such as motor speed and valve position.

Limit and Threshold Monitoring

Supporting the recognition of normal operating regions through major scale ticks and visual color differences.

Using Linear Indicators Effectively on SCADA Screens

  1. Match the scale to the process: Minimum and maximum values should represent the actual operating range.
  2. Use enough ticks: Too few ticks make values difficult to read, while too many can clutter the display.
  3. Use the value box when needed: It is useful when an exact numerical value must be read quickly in addition to its position on the scale.
  4. Use colors meaningfully: Linking color changes to process conditions rather than decoration can improve readability.
  5. Choose the orientation to suit the screen layout: The same information may be easier to read in different layouts depending on its orientation.
  6. Keep the indicator large enough: Tick labels and the indicator head should be large enough for operators to distinguish them easily.