Define the Columns on the Key

You can determine which of the available columns are displayed in the Trend key. The columns categorize the various types of information that can be shown in the key for each trace.For information on the individual columns, see Trend Key.

To define which columns are shown on the Key, you need to use the Select Columns window. There are two ways of displaying the Select Columns window:

To set the default columns for all Trends:

To set the columns for a specific Trend:

 

To configure the key:

  1. Display the Trend that has the key that you want to configure (see Display a Trend in Design Mode).
  2. Display the Select Columns window using one of the procedures described at the start of this section. Remember that custom columns are only available for individual Trends.

    The Select Columns window contains a Predefined list of columns (see Trend Key) and a Custom section that you can use to add your own columns.

    Select Columns

    Some columns are only suitable for Historic Trends, for example, the Algorithm column can only show data when used on a Historic Trend. This is because algorithms are not applied to current data.

  3. Select the columns that you want to be shown in the Trend Key:
    • Select the check boxes for those predefined columns that you want to be displayed in the Trend key.
    • Clear the check boxes for those predefined columns that you want to exclude from the Trend key.

    If you have displayed the Select Columns window via the Columns option on the Key’s context sensitive menu, you can use custom columns. If you want to use custom columns, proceed to step 5. If you have no requirement for custom columns on the Trend, proceed to step 12.

    If you have displayed the Select Columns window via the Options window, you can only use the default (predefined) columns. Proceed to step 12.

  4. Select the Add button to display the Add Custom Column window.

    Add Custom Column

    You can use the Add Custom Column window to create new columns that can be shown on the Trend’s key. The columns use expressions to define the value that they display, similar to animations on Mimics. As with animations, the expressions can refer to OPC tags and can use functions and so on, in the expressions syntax. For more information on expressions, see Welcome to the Guide to Expressions.

  5. Enter the column Name (it should describe what the column will contain).
  6. In the Expressions list, select the trace for which you want to enter the expression.
  7. Select the Edit button.
    The Expression window is displayed.

    Expression Window

  8. Define an Expression for the trace. The expression defines the source of the data that is shown in the custom column for the selected trace. Typically, the source is a property of a specific point. For example, if you created a custom column to show whether the source of the trace is under exclusive control, you could create the following expression:

    "System:AI1.ExclusiveCtrlActive"

    Where System is the name of your system, AI1 is the name of the database point that provides the data for the trace (the trace’s source) and ExclusiveCtrlActive is the property of the point. The value of the ExclusiveCtrlActive property indicates whether the point is under exclusive control and will be shown in the custom column for the trace. (The custom column will show 0 if the point is not under exclusive control or 1 if the point is under exclusive control).

    For more information on using the Expression window and creating an expression, see Using the Expression Editors.

  9. Select the OK button.
    The Expression window is closed and the expression is displayed in the Add Custom Columns window.
  10. Select the OK button to confirm the settings for the new column.
    The Add Custom Column window is closed and the new column is added to the Custom list on the Select Columns window.

    If you need to change the configuration of a custom column, select the custom column from the list and then select the Edit button to display the Edit Custom Column window. This window works in the same way as the Add Custom Column window (see step 5).

    If you need to remove a custom column, select the custom column from the list and then select the Delete button.

    When you are satisfied with your selection of predefined columns and custom columns, proceed to step 12.

  11. Select the OK button to confirm your choices and close the Select Columns window.
    The Select Columns window is closed and the Trend key displays the columns you selected.
  12. Save the configuration.

Disclaimer

Geo SCADA Expert 2019