Widget Properties

Properties Sheet View The outlooking, behavior, location and size of widgets are called properties. The properties could be set in property sheet in editing mode, and also can be changed in the attached scripts during run mode. The value of the any property can be accessed with Property Macro via property_id.

In most cases, the property_id is following this convention corresponding to the property name:

  1. lower case of all characters
  2. eplace space to underscore.

For Example: The property_id of "Foreground Color" is "foreground_color".

Common Properties for most widgets

The common properties (PropertyName(Property_id)) for most of the widgets:

Common Properties for PV widgets

For the widget which has the property of "PV Name(pv_name)", "Readback PV(pv_name)" or "Control PV(control_pv)", we call it PV Widget. During runtime, right click a PV widget and then you will see the "CSS" context menu which allows it connecting with other CSS Applications. The PV name is the bridge of the connection.

The common properties for most of the PV widgets:

  1. PV Name(pv_name). The name of the main PV associated with the widget.
  2. Readback PV(pv_name). Same as PV Name.
  3. Control PV(control_pv). The name of the PV to be controlled.
  4. Limits From PV(limits_from_pv). Load the Maximum, Minimum, HIHI, HI, LOLO, LO limits from PV.
  5. Border Alarm Sensitive(border_alarm_sensitive). The border color and style will change to alarm border and color when PV is in alarm state.
  6. ForeColor Alarm Sensitive(forecolor_alarm_sensitive).
  7. BackColor Alarm Sensitive(backcolor_alarm_sensitive).

There is also an invisible property: pv_value, which is the value of the PV.