Difference between revisions of "BarlevelGraphic"

From AdvancedHMI
Jump to: navigation, search
m
m
Line 1: Line 1:
 
== Bar Level Graphic ==
 
== Bar Level Graphic ==
This control shows an analog value in the form of graphic filling to a corresponding level. The graphics can be a gray scale PNG with a transparent background or the BarImage can be set to None to use a rectangle shape.
+
This control shows an analog value in the form of graphic filling to a corresponding level. The bar graphic can be a gray scale PNG with a transparent background or the BarImage can be set to None to use a rectangle shape. The default image is a jagged bar that simulates a cut out in a tank. By setting the BackgroundImage and using BarOffset and BarScale, you can create objects similar to the Tank.
  
 
{| class="wikitable"
 
{| class="wikitable"

Revision as of 10:53, 18 April 2019

Bar Level Graphic

This control shows an analog value in the form of graphic filling to a corresponding level. The bar graphic can be a gray scale PNG with a transparent background or the BarImage can be set to None to use a rectangle shape. The default image is a jagged bar that simulates a cut out in a tank. By setting the BackgroundImage and using BarOffset and BarScale, you can create objects similar to the Tank.

}
Properties
ComComponent Points to the driver instance for reading its values through
BarColorOverHighLimits The color of the bar when the value is higher than the value set in BarColorHighLimitValue
BarColorHighLimitValue The value at which the bar color will switch to the color defined by BarColorOverHighLimits
BarColorInLimits The color of the bar when Value is <= BarColorHighLimitValue AND >= BarColorLowLimitValue
BarColorLowLimitValue The value at which the bar color will switch to the color defined by BarColorUnderLowLimits
PLCAddressKeypad If a valid PLC address is put in this property, during run-time a keypad will pop up when the control is clicked. The value entered into the keypad will be written to the address as defined in this property.
PLCAddressValue The register in the PLC to read for the value to display and deteremine the text color as defined in the ForeColorXXX properties
ValueLimitUpper Determines at what value to switch the text color to ForeColorOverLimit. Also works with VisibleControl property