PV Widgets
Any widget that is able to display PV value or write value to one or more PVs is PV Widget.
For example, Text Update, Combo Box, XY Graph and so on. Generally, they have PV Name
property.
Operations
Right click a PV widget, you will be able to
- Open other CSS tools from
CSS
context menu
by sending the PV name on the widget to those applications.
- Show PV Info (Only available to Runtime). Show the detail information about the PVs on the widget.
- Copy PV Name to Clipboard.
Properties Common to most PV widgets
-
PV Name(pv_name). The name of the main PV associated with the widget.
-
Limits From PV(limits_from_pv). Load the Maximum, Minimum, HIHI, HI, LOLO, LO limits from PV. This property is only
available to PV widgets with scale on them.
-
Border Alarm Sensitive(border_alarm_sensitive). If yes, border color and style will change to alarm border style and
color when PV is in alarm.
-
ForeColor Alarm Sensitive(forecolor_alarm_sensitive). If yes, foreground color will change to corresponding alarm color
if PV is in alarm.
-
BackColor Alarm Sensitive(backcolor_alarm_sensitive). If yes, background color will change to corresponding alarm color
if PV is in alarm.
There is also an invisible property:
pv_value
, which is the value of the PV.
Note: Changing pv_value property with rule or script will not
write value to the PV. It only change the graphical value on the widget which is similar as calling method
widget.setValue(Object value)
.
Methods Common to PV Widgets
See Access Widget in Script