Difference between revisions of "BarlevelGraphic"
m |
m |
||
(3 intermediate revisions by the same user not shown) | |||
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 | + | 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" | ||
Line 7: | Line 7: | ||
||ComComponent | ||ComComponent | ||
|Points to the driver instance for reading its values through | |Points to the driver instance for reading its values through | ||
+ | |- | ||
+ | |BackgroundImage | ||
+ | |A static image in which the bar level graphic will be over layed | ||
+ | |- | ||
+ | |BarImage | ||
+ | |A gray scale image, preferably PNG with transparent background that will be the shape of the bar to be filled | ||
|- | |- | ||
|BarColorOverHighLimits | |BarColorOverHighLimits | ||
Line 24: | Line 30: | ||
|- | |- | ||
|PLCAddressValue | |PLCAddressValue | ||
− | |The register in the PLC to read for the value | + | |The register in the PLC to read for the value that determines the bar level |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
|ValueLimitUpper | |ValueLimitUpper |
Latest revision as of 09:59, 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 |
BackgroundImage | A static image in which the bar level graphic will be over layed |
BarImage | A gray scale image, preferably PNG with transparent background that will be the shape of the bar to be filled |
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 that determines the bar level |
ValueLimitUpper | Determines at what value to switch the text color to ForeColorOverLimit. Also works with VisibleControl property |