AnalogValueDisplay

From AdvancedHMI
Jump to: navigation, search

Analog Value Display

This control displays an analog value and has specific functionality geared toward representing the value in different formats.

Properties
ComComponent Points to the driver instance for reading its values through
ForeColorInLimits The color of the text when the value is within ValueLimitLower and ValueLimitUpper
ForeColorOverLimit The color of the text when the value is greater than ValueLimitUpper
ForeColorUnderLimit The color of the text when the value is less than ValueLimitLower
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
PLCAddressValueLimitLower Used to dynamically set ValueLimitLower from a value in the PLC
PLCAddressValueLimitUpper Used to dynamically set ValueLimitUpper from a value in the PLC
ValueLimitLower Determines at what value to switch the text color to ForeColorUnderLimit. Also works with VisibleControl property
ValueLimitUpper Determines at what value to switch the text color to ForeColorOverLimit. Also works with VisibleControl property
VisibleControl Determines when the control is shown. Defaults to Always, but can make it hide in determination with the ValueLimit properties