Programming a Trend

If you edit the properties of the trend you can modify the display of the trend recording. The trend wizard, which also edits the properties of the trend, additionally accesses the properties of the control elements.

Editing the assigned application

The visualization task and the trend recording task generally run under the same application. If this is not the case, then the application containing the visualization task requires a data sources manager.

  1. Select a trend in the active visualization editor.

    The properties of the trend element are displayed on the right side.

  2. Double-click the value field Properties ‣ Application.

  3. Use the input assistant ( dc7400cd77e8ab99c0a8640e0034a7d0_2be833ef7deb1e6ec0a8640e0056e76c ) to select the application. You can also specify the name of the application directly.

See also

Editing control elements

  1. Select a trend in the active visualization editor.

  2. Click Visualization ‣ Insert elements for controlling trend.

    The Trend wizard dialog box opens.

  3. Double-click in the configuration table on the Element type of the element

    A drop-down list appears.

  4. Select an element type.

  5. Click in the configuration table on the Instance name of an element

  6. Enter the new name.

    The name is accepted by clicking OK to closed the dialog box.

  7. Double-click in the configuration table on the Position of the element.

    A drop-down list appears.

  8. Select a position. You must select the position so that there is no overlap with other elements. Overlapping is indicated by an error message.

After closing the dialog box by clicking OK, the control element is moved to the new position.

See also

Editing the trend recording

  1. Select a trend in the active visualization editor.

    The properties of the trend element are displayed on the right side.

  2. Click the value field of Properties ‣ Trend recording

    Select trend recording appears. The trend recordings available application-wide are listed under Available trend recordings.

  3. Select a trend recording under Available trend recordings.

  4. Click dc7400cd77e8ab99c0a8640e0034a7d0_f82f627ffc257675c0a8640e0172793b .

    The trend recording is located under Selected trend recording.

  5. Click OK to confirm the entry.

    The selected trend recording appears in Values in Properties ‣ Trend recording.

See also

Deleting a control element

Note

A control element that was added with the help of the Trend wizard cannot be deleted via the Trend wizard dialog.

  1. Select the control element of a trend in the active visualization editor.

  2. Delete the element with Del or Delete.

  3. Select the trend in the active visualization editor.

  4. Delete the assigned value in Properties ‣ Assigned control elements ‣ <control element>.

    Attention

    It is absolutely necessary to delete this reference manually. The property is not deleted automatically by deleting the control element.

Add a further control element

  1. Select a trend in the active visualization editor.

  2. Click Visualization ‣ Insert elements for controlling trend.

    The Trend wizard dialog box opens.

  3. By default, all three control elements are activated in the dialog.

  4. Determine the position of the control element.

  5. Select an element type.

  6. Edit the instance of the control element.

  7. Click OK to close the dialog box.

    The configured control element is added.

See also

Configuring the coordinate system of the trend diagram

  1. Select a trend in the active visualization editor.

  2. Use the command Visualization ‣ Configure appearance of trend.

    The Edit appearance dialog box opens.

  3. Change the settings.

See also

Reads a trend value at runtime

  1. Open View ‣ Element properties.

  2. Select a trend element in your visualization.

    The properties of the trend element are displayed on the right side.

  3. Activate the option Properties ‣ Show cursor and Show tooltip.

    A cursor is drawn in the coordinate system.

  4. Activate the option Properties ‣ Show tooltip.

  5. Load the application to the controller and start it.

  6. Note

    If the diagram “runs”, then the date range has been placed in such a way that its end time is the current time.

    Select the date range such that the diagram does not run. If necessary, drag the scrollbar to an earlier date range.

    A cursor is available. The tool tip of the cursor informs you of the trend values. For each trend variable, the legend displays the value at the point in time at which the cursor is positioned.