Configure the Slider Command and Navigation Properties

For this example, an Analog Output COV_Increment data point property is used.

NOTE:
If you create a command control element in a symbol instead of on a graphic, follow the steps below, replacing the Target and any other hard-coded references with * substitutions in the Evaluation Editor. For more information, see Symbol Property Substitutions.

  • You have reviewed the Command and Navigation Properties and have a full understanding of the fields and the options available to you for configuring the Command and Navigation properties.
  • You have drawn and configured a Slider command control on the graphic and configured the Command Control properties.
  1. Select the Slider Control on the canvas, and from the Property View, expand the Command and Navigation properties.
  1. In the Target field, drag a designated data point from System Browser. If the target’s designation does not contain a property, the default property is targeted. Otherwise you must specify the property by typing a period (.) and then the property name after you drag the data point into the Target field, for example: CCProject.LogicalView:Logical.PXRack.B.Block.Hcrv;.Property_Name.
  • For this example, drag an Analog Output data point into the Target field and at the end of the data point path, type the following: COV_Increment.
    NOTE: If you have the data point selected in System Browser, or you have selected a symbol instance of the data point on the canvas, the data point information is displayed in the Operations and Extended Operations tab, from there, drag the property you want to target into the Target field. The property name is added automatically.
  1. From the Command Name drop-down menu, select or type the command rule that you want to apply to the property. In this example, select or type: Write
    NOTE:
    The Command Name must match the Name of the command in the Models and Functions Command Configuration section. This field is case-sensitive.
  1. In the Parameter field, do one of the following:
  • Select the value from the drop-down menu.
    NOTE:
    For a stand-alone command control, if you have multiple parameters, only one parameter receives the value from the control itself and all other parameter values must be hard-coded.
  • For this example, delete everything but the parameter name, which in this case is: Value.
  1. For Slider controls, commands are sent by moving the Slider thumb. The Trigger drop-down menu is irrelevant for this control.
  1. (Optional) In the Description field, type a brief description of the command that will appear in the tooltip.
  1. In the Element Tree view, click the Thumb element of the Slider, and in the Property view navigate to the Command and Navigation property and from the Cursor drop-down menu, select the cursor preference that you want to display when the command is active. The cursor must be set in the thumb’s element properties, if you want the specified cursor to display when the cursor moves over the thumb.
  1. In Element Tree view, click the Slider element and then in the Property View, navigate back to Command and Navigation property and select the Command Trigger check box to enable the command control to initiate and send a command.
  1. (Optional) To disable the command control, check the Disabled check box, and from the Disabled Style drop-down menu, select how the disabled command control displays when disabled. For example, if the selected data point is Out of Service and the command is disabled, the selected Disabled Style will be active at runtime to reflect this.
  1. The Extended Tooltip check box is selected by default. It displays the following command object details: Target, Command Name, and Parameter. If enabled, the extended tooltip is added to any existing tooltips configured for the element.
  1. (Optional) With the Slider control selected, from the Property View, expand the Colors properties, and in the Background field, type the name of a color for the background.
    NOTE: If you create basic elements around the Slider to enhance the visual, you must make sure that the Slider is in front of any other elements. Right-click the Slider and from the Order context menu, select Bring to Front.
  1. Click Save As.
  1. To test the Slider in Runtime mode, from the Home tab, in the Modes group, select Runtime mode.
  1. If you created a symbol and you want to designate it as the default command symbol for an object type, Designating and Adding a Default Command Symbol to a Graphic.