Creating a Hyperlink to a Trend, X-Y Plot, X-Y-Z Plot or Dynagraph

By using hyperlinks, you can allow a Mimic to provide access to a Trend, X-Y Plot, X-Y-Z Plot or Dynagraph without the need for an embedded display. This is useful when it is unsuitable to embed a Trend, X-Y Plot, X-Y-Z Plot or Dynagraph due to the Mimic’s design. For example, a complex Mimic that contains a lot of information or graphics may not have enough space to contain an appropriately sized embedded display.

The method(s) that you can use to create hyperlinks to Trends partially depends on the type of Trend. For information on the types of Trend that ClearSCADA supports, see Pre-Configured Trends and Ad Hoc Trends in the ClearSCADA Guide to Trends. (X-Y Plots and X-Y-Z Plots are special types of Trend. For information on these types of Trend, see the ClearSCADA Guide to X-Y Plots, and the ClearSCADA Guide to X-Y-Z Plots respectively.)

To create a hyperlink to a pre-configured Trend, X-Y Plot, X-Y-Z Plot or Dynagraph:

  1. Display the Mimic that is to contain the new hyperlink. You need to display the Mimic in Design mode (see Displaying a Mimic).
  2. Either:

    Or:

    • Use the Pick Action Wizard to create a hyperlink to a pre-configured Trend, X-Y Plot, or X-Y-Z Plot (set the pick action to Hyperlink and use the Link to Object option to select the required Trend, X-Y Plot, X-Y-Z Plot or Dynagraph). For more information, see Using the Pick Action Wizard to Create a Hyperlink.

    Or:

    • Use the Animations feature to create a hyperlink (set the PickParam value to the address of a pre-configured Trend, X-Y Plot, X-Y-Z Plot or Dynagraph and enter the PickType number that corresponds to the type of hyperlink you require). For more information, including a list of PickType numbers, see Using Animations to Create a Hyperlink.
  3. Save the Mimic.

To create a hyperlink to a ‘standard’ ad hoc Trend:

  1. Use the point or master station accumulator’s Display Current Trend or Display Historic Trend pick action to display the required ad hoc Trend (see Display an Ad Hoc Trend in Run Mode in the ClearSCADA Guide to Trends).
  2. Select the Edit tab on the ViewX ribbon.
  3. Select the Copy Shortcut command from the relevant command group.
  4. Display the Mimic that is to contain the hyperlink to the ad hoc Trend. You need to display the Mimic in Design mode (see Displaying a Mimic).
  5. Either:
    • Paste the contents of the clipboard onto the Mimic.
      A text box is added to the Mimic. It is automatically configured to act as a hyperlink to the ad hoc Trend.

    or:

  6. Save the Mimic.

With a ‘custom’ ad hoc Trend, you produce the Trend’s definition using ClearSCADA’s proprietary specification language, TrendSpec (see Using TrendSpec to Produce Ad Hoc Trends in the ClearSCADA Guide to Trends).

To create a hyperlink to a ‘custom’ ad hoc Trend:

  1. Display the Mimic that is to contain the hyperlink to the ad hoc Trend. You need to display the Mimic in Design mode (see Displaying a Mimic).
  2. Either:
    • Use the Pick Action Wizard to create a hyperlink to the ad hoc Trend (set the pick action to Hyperlink and paste the TrendSpec definition into the URL field). You need to include the SCX:////Trend/ prefix before the start of the definition in the URL field. For an example that demonstrates the type of content that might be included in an URL field, see Use TrendSpec to Define an Ad Hoc Trend’s Colors in the ClearSCADA Guide to Trends.

    or:

    1. Include the TrendSpec definition as a script subroutine on a Mimic that has the Script feature enabled.
    2. Use the Pick Action Wizard to create a hyperlink to run the script (set the pick action to Script and specify the name of the Script subroutine in the Function field).

      For information on writing Mimic scripts, see Mimic Scripts in the ClearSCADA Guide to Scripting. For examples of TrendSpec definitions, including definitions used in Mimic scripts, see Example Configuration in the ClearSCADA Guide to Trends.

  3. Save the Mimic.

When the Mimic is displayed in Run Mode, selecting the 'trigger' object will cause the 'target' Trend, X-Y Plot, or X-Y-Z Plot to be displayed in a new window or in place of the currently displayed Mimic (depending on the type of hyperlink you have configured).


If you want to link to the Form of a pre-configured Trend, X-Y Plot, or X-Y-Z Plot instead of the graphical display, see Creating a Hyperlink to a Form.


Disclaimer

ClearSCADA 2017 R3