Linear Gauge (Horizontal) and Linear Gauge (Vertical)

Linear Gauge Horizontal icon Linear Gauge Vertical icon The two Linear Gauge controls are CygNet-aware single-value controls that display real-time point data on a horizontal or vertical object. Two separate controls are supported: the Linear Gauge (Horizontal) the Linear Gauge (Vertical). Data is represented by a bar that fills the control to a calculated value between a lower and upper bound. The source of the lower value bound and upper value bound can be either hard-coded to an explicit value, or dynamically determined for each facility by sourcing the value from an attribute of the associated point (using an Indexed field, General data field, Minimum setpoint value (analog only) or Maximum setpoint value (analog only)). A gauge on a templated screen supports different bounds for each source facility. By using a point attribute to store the bounds (for example, Indexed 1 for the lower value bound and Indexed 2 for the upper value bound), you can have a templated screen without having to script the control.

Both Linear Gauges support a linear or logarithmic scale, with the scale values displayed along the bar from the lower to upper bound. Several other configurable properties are supported, including:

This control is supported in the Canvas Native view and the CygNet TWC web view.

Linear Gauges Example

The following image shows a Tag Chooser, a vertical Linear Gauge, a horizontal Linear Gauge, and a CygNet Grid.

Canvas Linear Gauge Control

Sample vertical and horizontal Linear Gauge controls
with data passed in from Tag Chooser

Property Inheritance

Property Inheritance

Property inheritance, or sending and receiving, is a widely used concept in Canvas. The application supports an explicit relationship between screens, objects, and controls, where certain property values, such as facilities and SiteService details, are passed from one element to another via an inheritance framework. Screens, objects, and controls can be configured as property senders or property receivers and provide configuration options where you can explicitly define the source of the facility and SiteService. Depending on how you have your screens, objects, and controls configured, the facility and SiteService may be received from any one of the following sources:

Broadcasting

Screens and objects support an additional notification option to broadcast their facility and SiteService selection changes to other open screens. If configured, a <Broadcast> option is available to source the screen's facility and SiteService properties from another open screen.

For example, a Text Tool can be configured to get its facility from the screen and the screen can be configured to get its facility from a Tag Chooser. Or Screen_A might source its facility from Screen_B, which gets its facility from a Tag Chooser.

Receiver or Sender

The Linear Gauge controls support property inheritance as a receiver of their SiteService and facility:

Receive from Send to
SiteService Facility SiteService Facility
self
screen
self
screen
other controls
none none

The Linear Gauge controls does not send their SiteService or facility to other controls.

Related Topics