ProSoft Technology ProSoft i-View User Manual
Page 28

Data Source Files
ProSoft i-View ♦ Mobile Process Monitoring and Control Application
User Manual
Version 2.0.2
Page 28 of 106
ProSoft Technology, Inc.
September 29, 2011
TAG ATTRIBUTE
TYPE
DESCRIPTION
Color
special text
Indicates a color to apply to a variable value or
control. Colors can be specified by name as listed in
http://www.w3schools.com/css/css_colornames.asp.
Colors can also be given by RGB value in
hexadecimal format. The Color_bounds attribute
determines when the color will be applied. Supported
values also include "TextDefault", "BarDefault" and
"DefaultGreen," which are the colors used by default
on texts, bars and boolean tags.
Examples: color := "red"; color := "olive" ; color
:=#FF3300;
Color
Expression
Numeric
Numeric Expression. The color attribute used in this
way expects a 32 bit integer value containing the
RGB color coordinates in the three lower significance
bytes, with the B value in the least significant byte.
The method SM.color can be used for convenience to
generate a color from its RGB coordinates or name.
Tint_color
special text
Indicates an alternate color to apply. The
Color_bounds and Tint_color_bounds attributes
determine color application ranges. Refer to the Color
attribute for valid color values.
Example: tint_color := "red";
Color_bounds
Value list
A two-element array in the form {low,high} where low
and high are numeric values determining the range of
values for the tag where the color will NOT be
applied, also known as an exclusion range.
Examples:
color_bounds := {-inf,50};. This will exclude tag
values below 50 from displaying in the color set in the
Color attribute. Therefore, tag values will be displayed
in the specified color when they are above 50.
color_bounds := {-50,50};. Tag values from -50 to
50 will be excluded from displaying in the color set in
the Color attribute. Therefore tag values will be
displayed in the specified color only when they are
below -50 or above +50, effectively enabling coloring
for edge conditions.
For boolean tags the color_bounds attribute has a
predetermined value that will always make the tag
appear in the color color for the On state.