Donut Properties

Property icon The Donut supports the following properties, which are available via the Properties pane and the Canvas script editor. Click next to any property name in the Properties pane to see a short description for the selected property.

See Accessing Screen Objects for more information about how to view control objects in script in the Canvas application.

Categorizing, Sorting, and Finding Properties

You can click Categorize (Categorize), click Alphabetize (Alphabetical within Category) or click Search (Search) within the properties using the features located immediately above the properties list. The search box is useful to help locate a property when an object contains many properties. For clarity, when you enter a search term, items matching your entry string remain displayed and non-matching items are temporarily hidden. Clear the search box to display the full properties list again.

You can expand and collapse each property category by clicking Down arrow or Up arrow next to the group name or simply clicking anywhere in the category heading.

Donut Properties

The following tables describe the property names visible in the Properties pane user interface (UI) and the corresponding script property name.

UI Property Script Property Description
Name Type Style

Name

ControlName

The Name property specifies the unique identifier for this control. Valid characters are A-Z, 0-9, and underscore (_). Special characters and spaces are not permitted. Names cannot start with a number; an underscore will be prefixed if the control name starts with a number. The default value is the object name and the numeric instance. The control's Name is also displayed on the Controls view of the Screen pane.

Type

ControlType

The read-only Type property displays the type for the control: Button, Chart, CygNet Grid, Edit Box, Object Container, Search Box, Tag Chooser, etc. … The control's Type is also displayed on the Controls view of the Screen pane.

Style

 

Not supported by TWC The Style property defines the style sheet applied to an object on a screen. A style sheet consists of a predetermined list of properties and property values configured for a particular control type.

  • Click Down arrow to reveal a drop-down menu of predetermined styles configured for the selected control.
  • Select a desired style and its properties will be applied to the control.
  • Alternately, you can create a new style based on other property values configured for the control.
  • Or you can select <None> to remove subscription to any style.

Styles are created in two ways:

  • In the control's Properties pane. Click Add a new style (Add a new style based on this control) next to the Style property, after you have configured property values in the Properties pane. See Add a new style based on a control for more information.
  • In the Canvas Settings in the Backstage view. The default style for any control is configured in the Backstage view. See Manage style sheets in the Backstage view for more information.

Tip: You can also change a control's Style on the Controls view of the Screen pane.

LocationBack to top

Height

Height

The Height property specifies the height of the control (or screen).

Tip: You can also change the height of a control using the Settings pane (click on the Settings icon (Settings) to the right of the control in design mode) or on the Controls view of the Screen pane.

Horizontal resize mode

HorizontalResizeMode

The Horizontal resize mode property specifies whether and how the control dynamically moves or resizes horizontally when the screen is resized in run mode. Options include:

  • None — No resizing occurs.
  • Shift — The object will shift horizontally.
  • Expand — The object will expand or shrink horizontally the same number of pixels as the screen.
  • Proportional — The object expands or shrinks proportionally to the screen.

The default value is None.

Layer

Layer

Not supported by TWC The Layer property specifies the name of the layer to which this object is assigned. Layers can be used to show, hide, and edit multiple controls on one layer without affecting controls on another layer.

  • Type the name of the layer into the Layer field (the name can be a previously created layer or a new layer).
  • All layers are listed on the Layers pane, where you can manage the layers for the screen in design mode and run mode.

Tip: You can also edit a control's Layer on the Controls view of the Screen pane.

Note: Layer visibility can be controlled at runtime via the AddLayer, HideLayer, SetLayerVisibility, and ShowLayer methods on the Screen object.

Lock

IsLocked

Not supported by TWC The Lock property indicates whether the control is locked to the current position. A locked control cannot be moved via click and drag, or nudged with the arrow keys, or resized.

Tip: You can also toggle the lock setting of a control using the Settings pane (click on the Settings icon (Settings) to the right of the control in design mode).

Vertical resize mode

VerticalResizeMode

The Vertical resize mode property specifies whether and how the control dynamically moves or resizes vertically when the screen is resized in run mode. Options include:

  • None — No resizing occurs.
  • Shift — The object will shift vertically.
  • Expand — The object will expand or shrink vertically the same number of pixels as the screen.
  • Proportional — The object expands or shrinks proportionally to the screen.

The default value is None.

Visible

IsVisible

Not supported by TWC The Visible check box indicates whether the control is visible in run mode.

Tip: You can also change a control's Visible setting on the Controls view of the Screen pane.

Width

Width

The Width property specifies the width of the control (or screen).

Tip: You can also change the width of a control using the Settings pane (click on the Settings icon (Settings) to the right of the control in design mode) or on the Controls view of the Screen pane.

X

X

The X property specifies the location of the control along the horizontal axis. Use the up, down, left, and right arrow keys to nudge a control by 1 pixel. Arrow moves a control by 1 pixel. Ctrl+Arrow moves a control by 10 pixels. Ctrl+Shift+Arrow moves a control by 100 pixels.

Tip: You can also change the location of the control using the Settings pane; click on the Settings icon (Settings) to the right of the control in design mode.

Y

Y

The Y property specifies the location of the control along the vertical axis. Use the up, down, left, and right arrow keys to nudge a control by 1 pixel. Arrow moves a control by 1 pixel. Ctrl+Arrow moves a control by 10 pixels. Ctrl+Shift+Arrow moves a control by 100 pixels.

Tip: You can also change the location of the control using the Settings pane; click on the Settings icon (Settings) to the right of the control in design mode.

Z index

ZIndex

The Z index property is used to determine the order in which controls are layered on top of each other. Controls with higher values will draw on top of those with lower values. The newest control added to a screen will always have the highest value and will be the top layer. Two or more controls can be on the same index (layer).

Tip: You can also change the Z index of a control using the Settings pane (click on the Settings icon (Settings) to the right of the control in design mode) or on the Controls view of the Screen pane.

ScriptBack to top

Include in script

Scripting is not supported by TWC The Include in script check box indicates that the control will appear in the objects collection of the screen (if scripting is enabled). To optimize performance, best practice dictates that you only include the controls you need to manipulate via script. Other controls should be excluded. When you add an event to a control, it will be automatically added to script and the Include in script property (and the In Script check box on the Controls view) will be set to True.

Tip: You can also change the Include in Script setting on the Controls view of the Screen pane.

FontBack to top

Font size (bottom)

FontSizeBottom

The Font size (bottom) property specifies the font size of the bottom text on the control. Only applies if Font size mode is set to Fixed.

Font size (main)

FontSizeMain

The Font size (main) property specifies the font size of the main text on the control. Only applies if Font size mode is set to Fixed.

Font size (top)

FontSizeTop

The Font size (top) property specifies the font size of the top text on the control. Only applies if Font size mode is set to Fixed.

Font size mode

FontSizeMode

The Font size mode property specifies the method used to size the text on the control. Options include:

  • Auto — Automatically size the text relative to the size of control.
  • Fixed — Size the text using the values specified in the Font size property.

The default value is Auto. The default value for the Text Tool is Fixed.

Text style

TextStyle

The Text style property specifies the style to use for the text that appears on the control or map visual. Options include: Normal, Italic, or Oblique. The default value is Normal.

Text weight

TextWeight

The Text weight property specifies the weight to use for the text that appears on the control or map visual. Options are: Normal or Bold. The default value is Normal.

MarkerBack to top

Marker height

MarkerHeight

Not supported by TWC The Marker height property specifies the height of the triangular marker for the point value on the Donut.

Marker width

MarkerWidth

Not supported by TWC The Marker width property specifies the width of the triangular marker for the point value on the Donut.

Show value marker

ShowValueMarker

Not supported by TWC The Show value marker check box indicates whether to show a triangular marker for the point value on the Donut. The marker's color is configurable:

Not supported by TWC The Marker color property specifies the color used for the value marker on the Donut.

See Color configuration: Marker color for more information.

TooltipBack to top

Tooltip

TooltipText

Not supported by TWC The Tooltip property specifies the text that will appear on the tooltip. The text display a static text string, such as a label, legend, tooltip, or a dynamic text string based on point or facility attributes. Dynamic text is built using tokens, which can represent real-time CVS point properties, point configuration properties, and facility properties. In run mode, the tokens are replaced with the attribute's value. Click Open dialog box to configure the static text and/or property tokens using the CygNet Property String dialog box.

Note: A tooltip can be single-line or multi-line.

Type any text, select tokens, and press Enter to separate the lines. If more than five lines are entered, a scroll bar will appear in design mode. The scroll bar does not display in run mode.

Also see the Tooltip Opening event for controls that support tooltips.

 

Tooltip example

Multi-line tooltip example

Tooltip enabled

TooltipEnabled

TooltipDuration

TooltipBetweenShowDelay

TooltipInitialShowDelay

Not supported by TWC The Tooltip enabled property indicates whether to display a tooltip when the mouse hovers over the control or map visual.

Tooltip mode

TooltipMode

Not supported by TWC The Tooltip mode property specifies how the tooltip will be displayed. Options include:

  • Text — The tooltip displays as plain and/or tokenized text defined in the Tooltip property, using resolved point and facility properties.
  • Object — The tooltip displays as a Canvas object, passing in the facility tag of the control.
  • Script — A TooltipOpening event is fired to allow script to create a custom tooltip.

The default value is Text.

Tooltip object path

TooltipObjectPath

TooltipObjectSource

Not supported by TWC The Tooltip object path property specifies the path used for the tooltip when Object mode is selected. Click Open dialog box to select a path and file from the Open / Open File / Select File dialog box, where you can access:

DisplayBack to top

Bottom information text

BottomInformationText

The Bottom information text property specifies the text that will appear on the bottom information area on the control. The control can display a static text string, such as a label, legend, tooltip, or a dynamic text string based on point or facility attributes. Dynamic text is built using tokens, which can represent real-time CVS point properties, point configuration properties, and facility properties. In run mode, the tokens are replaced with the attribute's value. Click Open dialog box to configure the static text and/or property tokens using the CygNet Property String dialog box. The default value is the %Units% token.

Text

Text

The Text property specifies the text that will appear on the face of the control. The item can display a static text string, such as a label, legend, tooltip, or a dynamic text string based on point or facility attributes. Dynamic text is built using tokens, which can represent real-time CVS point properties, point configuration properties, and facility properties. In run mode, the tokens are replaced with the attribute's value. Click Open dialog box to configure the static text and/or property tokens using the CygNet Property String dialog box. For most controls there is no default. For the Detail, Donut, and Tile View controls the default value is the %Value% token.

Top information text

TopInformationText

The Top information text property specifies the text that will appear on the top information area on the control. The control can display a static text string, such as a label, legend, tooltip, or a dynamic text string based on point or facility attributes. Dynamic text is built using tokens, which can represent real-time CVS point properties, point configuration properties, and facility properties. In run mode, the tokens are replaced with the attribute's value. Click Open dialog box to configure the static text and/or property tokens using the CygNet Property String dialog box. The default value is the %Description% token.

ValueBack to top

Color configuration

ColorConfiguration

The Color configuration drop-down contains all options required to specify the color properties of the control. Click Down arrow to reveal a set of color options where you can specify the source of the color to be used for the elements of the control. The Color configuration box consists of the following options.

Color config >

Background color

ColorConfiguration.BackgroundSource

ColorConfiguration.BackgroundSelfColor

The Background color property specifies the color used for the background of the control.

The color can be sourced from one of three options provided in the Source drop-down menu:

  1. The color will automatically follow the selected client theme regardless of the underlying color palette (by selecting Auto). The default value is Auto.
  2. The color will be sourced from the point state of the associated point (by selecting Point State).
  3. The color can be customized (by selecting <Self>).

Options include:

For each color property select the Source and Color:

  • Source — Click Down arrow to reveal three options:
    • Auto — The color will automatically follow the selected client theme regardless of the underlying color palette (by selecting Auto). Where applicable, color-related properties will default to this configuration, allowing them to automatically follow the theme of the current client rather than fixing them to the one used when the screen was created. By using Auto for the color configuration, a screen developer can work in their preferred theme without affecting the presentation of the final screen when displayed by the user—avoiding display problems such as white text over a very light background, etc.

      Note:  Not supported by TWC  Auto is not supported as a color source in TWC screens. If a property specifies Auto for color configuration, the screen will use the <Self> color that is specified in the Canvas file during the publishing process. See Color on TWC Screens.

    • Point State — Select Point State to specify that the source of the color corresponds to the point state color defined for the point represented in the element. The default point state colors for a CygNet system are defined by the system’s point scheme.
    • <Self> — Select <Self> to explicitly configure the color. When <Self> is selected a Color field is automatically displayed beneath the Source field and must be configured.
  • Color — Only displays if the Source is <Self>. Click Down arrow to customize the color using the color picker.

Note: You can override the default point state colors for this element by creating a custom color palette. See Configuring Color Palettes and Color palette for a screen or object for more information. Not supported by TWC

Color config >

Text color

ColorConfiguration.TextColorSource

ColorConfiguration.TextSelfColor

The Text color property specifies the color used for the text on the control or map visual.

The color can be sourced from one of three options provided in the Source drop-down menu:

  1. The color will automatically follow the selected client theme regardless of the underlying color palette (by selecting Auto). The default value is Auto.
  2. The color will be sourced from the point state of the associated point (by selecting Point State).
  3. The color can be customized (by selecting <Self>).

Options include:

For each color property select the Source and Color:

  • Source — Click Down arrow to reveal three options:
    • Auto — The color will automatically follow the selected client theme regardless of the underlying color palette (by selecting Auto). Where applicable, color-related properties will default to this configuration, allowing them to automatically follow the theme of the current client rather than fixing them to the one used when the screen was created. By using Auto for the color configuration, a screen developer can work in their preferred theme without affecting the presentation of the final screen when displayed by the user—avoiding display problems such as white text over a very light background, etc.

      Note:  Not supported by TWC  Auto is not supported as a color source in TWC screens. If a property specifies Auto for color configuration, the screen will use the <Self> color that is specified in the Canvas file during the publishing process. See Color on TWC Screens.

    • Point State — Select Point State to specify that the source of the color corresponds to the point state color defined for the point represented in the element. The default point state colors for a CygNet system are defined by the system’s point scheme.
    • <Self> — Select <Self> to explicitly configure the color. When <Self> is selected a Color field is automatically displayed beneath the Source field and must be configured.
  • Color — Only displays if the Source is <Self>. Click Down arrow to customize the color using the color picker.

Note: You can override the default point state colors for this element by creating a custom color palette. See Configuring Color Palettes and Color palette for a screen or object for more information. Not supported by TWC

Color config >

Ring color

ColorConfiguration.RingColorSource

ColorConfiguration.RingSelfColor

The Ring color property specifies the color used for the outer ring that represents the point value in the Donut.

The color can be sourced from one of three options provided in the Source drop-down menu:

  1. The color will automatically follow the selected client theme regardless of the underlying color palette (by selecting Auto). The default value is Auto.
  2. The color will be sourced from the point state of the associated point (by selecting Point State).
  3. The color can be customized (by selecting <Self>).

Options include:

For each color property select the Source and Color:

  • Source — Click Down arrow to reveal three options:
    • Auto — The color will automatically follow the selected client theme regardless of the underlying color palette (by selecting Auto). Where applicable, color-related properties will default to this configuration, allowing them to automatically follow the theme of the current client rather than fixing them to the one used when the screen was created. By using Auto for the color configuration, a screen developer can work in their preferred theme without affecting the presentation of the final screen when displayed by the user—avoiding display problems such as white text over a very light background, etc.

      Note:  Not supported by TWC  Auto is not supported as a color source in TWC screens. If a property specifies Auto for color configuration, the screen will use the <Self> color that is specified in the Canvas file during the publishing process. See Color on TWC Screens.

    • Point State — Select Point State to specify that the source of the color corresponds to the point state color defined for the point represented in the element. The default point state colors for a CygNet system are defined by the system’s point scheme.
    • <Self> — Select <Self> to explicitly configure the color. When <Self> is selected a Color field is automatically displayed beneath the Source field and must be configured.
  • Color — Only displays if the Source is <Self>. Click Down arrow to customize the color using the color picker.

Note: You can override the default point state colors for this element by creating a custom color palette. See Configuring Color Palettes and Color palette for a screen or object for more information. Not supported by TWC

Color config >

Empty ring color

ColorConfiguration.EmptyRingColorSource

ColorConfiguration.EmptyRingSelfColor

 

The Empty ring color property specifies the color used for the empty or unused ring in the Donut.

The color can be sourced from one of three options provided in the Source drop-down menu:

  1. The color will automatically follow the selected client theme regardless of the underlying color palette (by selecting Auto). The default value is Auto.
  2. The color will be sourced from the point state of the associated point (by selecting Point State).
  3. The color can be customized (by selecting <Self>).

Options include:

For each color property select the Source and Color:

  • Source — Click Down arrow to reveal three options:
    • Auto — The color will automatically follow the selected client theme regardless of the underlying color palette (by selecting Auto). Where applicable, color-related properties will default to this configuration, allowing them to automatically follow the theme of the current client rather than fixing them to the one used when the screen was created. By using Auto for the color configuration, a screen developer can work in their preferred theme without affecting the presentation of the final screen when displayed by the user—avoiding display problems such as white text over a very light background, etc.

      Note:  Not supported by TWC  Auto is not supported as a color source in TWC screens. If a property specifies Auto for color configuration, the screen will use the <Self> color that is specified in the Canvas file during the publishing process. See Color on TWC Screens.

    • Point State — Select Point State to specify that the source of the color corresponds to the point state color defined for the point represented in the element. The default point state colors for a CygNet system are defined by the system’s point scheme.
    • <Self> — Select <Self> to explicitly configure the color. When <Self> is selected a Color field is automatically displayed beneath the Source field and must be configured.
  • Color — Only displays if the Source is <Self>. Click Down arrow to customize the color using the color picker.

Note: You can override the default point state colors for this element by creating a custom color palette. See Configuring Color Palettes and Color palette for a screen or object for more information. Not supported by TWC

Color config >

Marker color

ColorConfiguration.MarkerColorSource

ColorConfiguration.MarkerSelfColor

Not supported by TWC The Marker color property specifies the color used for the value marker on the Donut.

The color can be sourced from one of three options provided in the Source drop-down menu:

  1. The color will automatically follow the selected client theme regardless of the underlying color palette (by selecting Auto). The default value is Auto.
  2. The color will be sourced from the point state of the associated point (by selecting Point State).
  3. The color can be customized (by selecting <Self>).

Options include:

For each color property select the Source and Color:

  • Source — Click Down arrow to reveal three options:
    • Auto — The color will automatically follow the selected client theme regardless of the underlying color palette (by selecting Auto). Where applicable, color-related properties will default to this configuration, allowing them to automatically follow the theme of the current client rather than fixing them to the one used when the screen was created. By using Auto for the color configuration, a screen developer can work in their preferred theme without affecting the presentation of the final screen when displayed by the user—avoiding display problems such as white text over a very light background, etc.

      Note:  Not supported by TWC  Auto is not supported as a color source in TWC screens. If a property specifies Auto for color configuration, the screen will use the <Self> color that is specified in the Canvas file during the publishing process. See Color on TWC Screens.

    • Point State — Select Point State to specify that the source of the color corresponds to the point state color defined for the point represented in the element. The default point state colors for a CygNet system are defined by the system’s point scheme.
    • <Self> — Select <Self> to explicitly configure the color. When <Self> is selected a Color field is automatically displayed beneath the Source field and must be configured.
  • Color — Only displays if the Source is <Self>. Click Down arrow to customize the color using the color picker.

Note: You can override the default point state colors for this element by creating a custom color palette. See Configuring Color Palettes and Color palette for a screen or object for more information. Not supported by TWC

Color config >

Range color: Use point state color?

ColorConfiguration.UseRangeColor

The Use point state color? check box indicates whether to use the point state color for the alarm limit range. The default point state colors for a CygNet system are defined by the system’s point scheme.

Note: The default colors used for the Donut and Value Indicator alarm range colors are drawn from a set palette and are therefore not theme-specific. See themes for more information.

Context menu items

CustomContextMenuItems

Not supported by TWC The Custom Context Menu Configuration dialog box is where you configure any custom context menu items that will appear in the right-click context menu for the screen or control. Each custom context menu item will call an event into script so that you can customize screen or control behavior.

The custom context menu options will appear at the bottom of the fixed context menu options, separated by a line.

Each custom context menu item has a title and an event script ID; items can be designated as a separator; and custom context menus support nested menu items.

Click Configure custom context menu items to open the Custom Context Menu Configuration dialog box.

Context menu items > Title

Not supported by TWC The Title property specifies the menu name to be displayed in the runtime context menu.

Context menu items > Is separator

Not supported by TWC The Is separator check box indicates whether this menu item will be a separator line in the menu at runtime. Once saved the separator has no configuration and no children. Separators do not have event IDs. Any event ID on a menu item when it’s converted to a separator is deleted. You can give it a title of 'Separator" or "----------" if desired.

Context menu items > Script event ID

Scripting is not supported by TWC The Script event ID specifies the event ID that will be called when the menu item is selected from the runtime right-click context menu. The event ID is passed in as a parameter into the Custom Context Menu Action event, along with other relevant information in the context of the click, for example, facility or point tag, as appropriate.

Date and time format

DateTimeFormat

The Date and time format property specifies the format for a point's timestamp using any of the valid .NET standard or custom numeric format strings. The date and time format applies to any point's timestamp property. Use this property to override the Default date format, which is configured in the Application settings page of the Backstage view. The default date format is YYYY/MM/DD HH:MM:SS.fff, which corresponds to 2024/01/01 10:20:30.0001. All timestamps are local client time.

If an invalid format is configured for the Date and time format, the control will automatically use the format configured for the Default date format saved in the global settings file, and configured in the Backstage view.

Note: You can also use the Microsoft .NET Standard Date and Time Format Strings to define the text representation of a date and time value in Canvas. For example, "d" is the short date pattern and corresponds to 1/1/2024, "F" is the full date/time pattern and corresponds to Monday, January 1, 2024 1:45:30 PM.

Display alarm ranges

DisplayAlarmRanges

Ranges

The Display alarm ranges check box indicates whether to display alarm ranges for the setpoints for the associated point on the Donut. The colors depicted for the ranges are randomly chosen from a predefined set of colors.

Hide invalid tag

HideInvalidTag

The Hide invalid tag check box indicates whether to hide the element (a control, button, image, or map visual item) if it resolves to an invalid or unknown tag.

Note: Invalid point tags and relative facility resolution work in the following way for single-value controls: when a point tag is invalid or unknown, the tag can be hidden using the Hide invalid tag property. In this situation, a control with only facility-based tokens that has a valid relative facility resolution, but results in an invalid point tag, then the point tag will be treated as an invalid tag and displayed accordingly.

There may be a scenario where you want to hide a control when using facility-based attributes and relative facilities. Say you have a templated screen with a Text Tool displaying a Gas Meter, but not all Wells have an associated Gas Meter. You could hide the control for a Well that does not have an associated Gas Meter, and by not specifying a UDC, you can always show (or hide) a facility resolution with facility-based attributes only.

Point configuration

PointConfiguration

The Point configuration property is used to configure the CygNet point associated with the control. Click Down arrow to reveal a drop-down area where you can configure the Selection mode, source Facility tag, source SiteService, source Facility, and the UDC or Long Point ID for the point. Each option is described below.

Point config >

Selection mode

PointConfiguration.SelectionMode

The Selection mode property is used to determine how the control will receive CygNet information from other controls or from itself. Two options are available; click the desired radio button:

  • Facility tag — The Facility tag selector consists of a Source chooser and Resolve to a relative facility check box. If the Source is <Self> a Facility tag selector and relative facility options are also displayed. Facility tag is the default option.
  • SiteService / Facility — The SiteService / Facility selector consists of Source and SiteService and facility choosers.

Sending and receiving facility tags

Some controls on the same screen allow for the sending of facility information from one control to another.

  1. On the sending control configure the Facility sender mode property to send facility tag information to another control on the same screen.
  2. On the receiving control configure the Selection mode property (in either CygNet connection or Point configuration section) to Facility tag and select the Facility Source to the sending control.
  3. On the receiving control configure a display tag that associates to a facility property, e.g., %FacilityTag%.

Example

Add a control to a screen (e.g., a Tag Chooser or Grid) and configure it as a facility sender to send a facility to the screen. Add another control to the screen (e.g., a Text Tool or Donut) and configure it to receive the facility from the screen. In this scenario the Tag Chooser or Grid will send a facility to the screen and the screen will then send the facility to a Text Tool or the Donut.

Point config >

Facility tag

Point config >

Facility

FacilityID

FacilitySender

FacilityTag

IsRelativeFacilityResolutionEnabled

PointConfiguration.Facility

PointConfiguration.FacilityTag

PointConfiguration.SourceFacilityTag

The Facility tag or Facility property is where you specify the source of the facility for the control (or screen) to use. The source for the facility can be explicitly configured for this control or it can be received from another control on the same screen, or from the screen, or from another screen. Click Down arrow to reveal the Facility tag or Facility selector. Options include:

  • Source — Options include <Self>, Screen (default), or a list of Sender controls.
    • <Self> — Select <Self> to explicitly configure the facility for this control. A Facility tag or Facility selector is displayed, depending on the Selection mode:
      • Facility — The Facility property specifies the facility for which the control (or screen) is to display data. Click Open dialog box to select a facility using the Select Facility dialog box.
      • Facility Tag — The Facility tag property specifies the full facility tag identifier for which the control (or screen) is to display data. Click Open dialog box to select a facility using the Select Facility Tag dialog box.
    • Screen — Select Screen to inherit the facility from the screen for this control. By default, the sender is the Screen control if no other senders have been configured. Once Screen is selected Inherited from Screen will display for the Facility property.
    • Sender — A list of sender controls that have been configured with a facility will be displayed. Select the name of the control that will send its facility to this control. By default, the sender is the Screen control if no other senders have been configured. Once a sender control has been specified its name will display in the Source field.
  • Resolve to a relative facility — The Resolve to a relative facility check box redirects the source of the facility to a relative facility, overriding the configured source facility. Once selected a list of configured Relative links is displayed. See Using Relative Facilities in Canvas for more information about configuring and scripting relative facility links.
    • Relative link — The Relative link property specifies a list of all available relative facility paths. Click Down arrow to reveal a drop-down menu of all available relative facility definitions (relative links). Select a link from the list. If an order-in-type attribute is specified for the selected link, the Order in type field will display.
    • Order in type — The Order in type property specifies the attribute value used to represent the order in type (facility ordinal) if the relative facility definition is configured for one. It is possible to have multiple relative facility definition sets with the same definition name. In this case, if the specified Relative link is configured for ordinalization, then you need to configure the attribute value in the box.

Point config >

SiteService

PointConfiguration.SiteService

SiteService

SiteServiceSender

The SiteService property is where you specify the source of the SiteService for the control (or screen) to use. The source for the SiteService can be explicitly configured for this control or it can be received from another control on the same screen, or from the screen, or from another screen. Click Down arrow to reveal the SiteService selector. Options include:

  • Source — Options include <Self> or Screen (default):
    • <Self> — Select <Self> to explicitly configure the SiteService for this control or screen element. A SiteService selector is displayed:
      • SiteService — The SiteService property specifies the SiteService for which the control (or screen or screen element) is to display data. Click Open dialog box to select a service using the Select Service dialog box.
    • Screen — Select Screen to receive the SiteService from the screen for this control or screen element. By default, the sender is the Screen control if no other senders have been configured.

Point config >

Point

LongPointID

PointConfiguration.LongPointID

PointConfiguration.PointSelectionMode

PointConfiguration.PointTag

PointConfiguration.UDC

Points

PointTag

UDC

The Point property is used to determine how the CygNet point will be configured. Click the appropriate radio button to reveal the desired field.

  • UDC — The UDC property specifies the UDC for which the control is to display data. Click Open dialog box to select a UDC using the Select UDC dialog box.
  • Long point ID — The Long point ID property specifies the long point ID of the CygNet point for which the control is to display data. Type the tag into the field.

Show context menu

ShowContextMenu

The Show context menu check box indicates whether a right-click context menu will be available or suppressed in run mode. The default context menu will allow alarm acknowledgment, access to point history and alarm history, point configuration, and facility configuration.

Note: The CygNet Thin Web Client supports its own context menu in the web view. When activated the context menu appears on the right side of the page. From the CygNet TWC web view context menu you can view point values, acknowledge a point in alarm, view and edit alarm values, and add a selected point to an ad-hoc chart. See Using the Thin Web Client Context Menu.

Value format

ValueFormat

The Value format property specifies the format for the point's value using any of the valid .NET standard or custom numeric format strings. The value format applies to a point's Value, Primary Value, and Alternate Value properties. The default value format is #,##0.00, which corresponds to 123,456,789.12. Formats use # and 0, with a period (.) as the decimal separator and comma (,) as the thousands separator. Add additional zeros to show more decimal places.

BoundsBack to top

Hide invalid bounds

HideInvalidBounds

The Hide invalid bounds property specifies whether to hide the value ring and alarm ranges on the Donut if any misconfiguration is detected. By selecting this property you can choose to hide the value ring and alarm ranges and show a warning label if invalid value bounds are detected. The options are:

  • If Hide invalid bounds is not selected, Canvas will hide the Donut’s value ring and alarm ranges and show an "Invalid bounds" label under the control. This is the default setting.
  • If Hide invalid bounds is selected, Canvas will hide the Donut’s value ring and alarm ranges and hide the "Invalid bounds" label.

Invalid bounds can include any of the following conditions: the lower bound value is greater than the upper bound value, the lower bound value is equal to the upper bound value, the lower bound value and upper bound value are zero, either the lower bound value or the upper bound value is non-numeric, or if a Point Attribute is selected as the Source but no Attribute is selected in the Value.

Note: Any configured Text properties (top, middle, bottom) will continue to display on the Donut even if the value bounds are invalid.

Value bounds

ValueBoundsConfiguration

The Value bounds configuration box contains the options required to specify the lower and upper bound of the control. The source of the bounds can be either hard-coded to an explicit value (using <Self>), or dynamically determined for each facility by sourcing the value from one of the following attributes of the associated point (using Point Attribute):

  • Indexed field (3)
  • General data field (3)
  • Minimum SetpointNote: Applies only to Analog point types.
  • Maximum SetpointNote: Applies only to Analog point types.

A control on a templated screen can support 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.

Click Down arrow to reveal a set of options where you can specify the source and value of the lower and upper bound. The Value bounds configuration box consists of the following options.

Value bounds >

Lower value bound

ValueBoundsConfiguration.LowerBoundPropertyId

ValueBoundsConfiguration.LowerValueBound

ValueBoundsConfiguration.LowerValueBoundSet

ValueBoundsConfiguration.LowerValueBoundSource

The Lower value bound property specifies the lower value to use when filling the control.

The value bound can be explicitly configured (by selecting <Self>) or the value can be sourced from an attribute of the associated point (by selecting Point Attribute). The following fields are available to store an attribute that can be used to indicate the value bound.

Options include:

  • Source — Click Down arrow to reveal two options:
    • <Self> — Select <Self> to explicitly configure the value bound in the Value field.
    • Point Attribute — Select Point Attribute to specify that the source of the value bound corresponds to a point attribute of the associated point represented in the control.
  • Value — Configuration depends on the source:
    • If the Source is <Self>, select a number using the spin control. The default value is 0.
    • If the Source is Point Attribute, click Down arrow to select from the following point attribute options:
      • Indexed 1, 2, 3 attributes — An application-specific point property of the associated point. The property that is included in a defined PNT index. This can be free-form text up to 15 characters. Three indexed fields are available for configuration on the Application page of the PNT Editor.
      • General 1, 2, 3 data field attributes — An application-specific property of the associated point. The point property can be free-form text up to 20 characters. Three data fields are available for configuration on the Application page of the PNT Editor.
      • Minimum setpointNote: Applies only to Analog points types.
        • For Analog Output points, this specifies the minimum allowable setpoint for the associated point.
        • For Analog Input points, this specifies the low range for point values for the associated point.
        • Configured on the Analog page of the PNT Editor.
      • Maximum setpointNote: Applies only to Analog points types.
        • For Analog Output points, this specifies the maximum allowable setpoint for the associated point.
        • For Analog Input points, this specifies the high range for point values for the associated point.
        • Configured on the Analog page of the PNT Editor.

Additional Resources

For more information about point configuration with the PNT Editor, see:

Value bounds >

Upper value bound

ValueBoundsConfiguration.UpperBoundPropertyId

ValueBoundsConfiguration.UpperValueBound

ValueBoundsConfiguration.UpperValueBoundSet

ValueBoundsConfiguration.UpperValueBoundSource

The Upper value bound property specifies the upper value to use when filling the control.

The value bound can be explicitly configured (by selecting <Self>) or the value can be sourced from an attribute of the associated point (by selecting Point Attribute). The following fields are available to store an attribute that can be used to indicate the value bound.

Options include:

  • Source — Click Down arrow to reveal two options:
    • <Self> — Select <Self> to explicitly configure the value bound in the Value field.
    • Point Attribute — Select Point Attribute to specify that the source of the value bound corresponds to a point attribute of the associated point represented in the control.
  • Value — Configuration depends on the source:
    • If the Source is <Self>, select a number using the spin control. The default value is 0.
    • If the Source is Point Attribute, click Down arrow to select from the following point attribute options:
      • Indexed 1, 2, 3 attributes — An application-specific point property of the associated point. The property that is included in a defined PNT index. This can be free-form text up to 15 characters. Three indexed fields are available for configuration on the Application page of the PNT Editor.
      • General 1, 2, 3 data field attributes — An application-specific property of the associated point. The point property can be free-form text up to 20 characters. Three data fields are available for configuration on the Application page of the PNT Editor.
      • Minimum setpointNote: Applies only to Analog points types.
        • For Analog Output points, this specifies the minimum allowable setpoint for the associated point.
        • For Analog Input points, this specifies the low range for point values for the associated point.
        • Configured on the Analog page of the PNT Editor.
      • Maximum setpointNote: Applies only to Analog points types.
        • For Analog Output points, this specifies the maximum allowable setpoint for the associated point.
        • For Analog Input points, this specifies the high range for point values for the associated point.
        • Configured on the Analog page of the PNT Editor.

Additional Resources

For more information about point configuration with the PNT Editor, see:

GenericBack to top

String

String

Not supported by TWC The String property specifies a generic string property that can be used when scripting this control. Type a string and reference it in your script as necessary.

Yes/No

YesNo

Not supported by TWC The Yes/No property specifies a generic Boolean yes/no property that can be used when scripting this control. Click the check box to enable the property and reference it in your script as necessary.