i4SCADA Knowledge Base

SmartEditor Historical Data tutorials

Abstract

If you are planning to design a Historical Data project, check out these articles and learn more details about the settings required for achieving your goal.

Note

Prerequisites for these guides:

  • i4SCADA 3.8.7 running the demo project

  • i4SCADA SmartEditor

Setting up a Historical Data project
Abstract

Check out this article and learn how to design your Historical Data project, from scratch. Should be easy if you follow the steps described here.

To design and publish a simple Historical Data project, follow the steps below:

Note

The present demonstration will use the "Temperature 1" and "Temperature 2" in the default WEBfactory i4SCADA Demo project.

  1. Open the i4SCADA SmartEditor with Administrative privileges.

  2. A new project is opened and ready to use. Go to the Toolbox panel and add the i4-core extension to your project page.

  3. Return to the Toolbox panel and add the wf-historical-data-chart extension to your project page.

    start_project.jpg
  4. Visit the Object Properties panel of the wf-historical-data-chart extension and fill in the following general configuration settings:

    chart_things.jpg
    1. Fill in the Group Name property, adding the name of the group containing the Signals to be added as data series to the chart.

    2. Fill in the Control Name, that will be used as namespace for the serial chart provider.

  5. Start adding the data series under the collection property Series Configuration.

    Add_series.jpg
  6. By clicking the Add button of the Series Configuration panel, the Edit Item window is opened, allowing to configure the data series, as follows:

    1. Add the Signal Name to be used as data series for the Historical Data project.

    2. Add the Log Tag name used by the previously added Signal.

    3. Add the Name corresponding to the data series.

    4. Select the Axis on which the data series will be plotted at run-time.

    5. Configure the layout and appearance properties of the data series, as desired.

    6. Optionally, fill in Horizontal lines as described in the Historical Data Chart article.

    7. If Cursors are also needed, fill in the Cursors property as described in the Historical Data Chart article.

  7. Preserve the settings by clicking the OK button until the Object Properties panel is closed.

  8. Next, add the wf-historical-data-cursor extension on the project page.

  9. Open the Object Properties panel of the wf-historical-data-cursor extension and organise the following settings:

    cursor_things.jpg
    1. Fill in the Group Name property, adding the name of the group containing the Signals to be added as data series to the chart.

    2. Fill in the Control Name, that will be used as namespace for the serial chart provider.

    3. Preserve the changes by clicking the OK button of the Object Properties panel.

  10. Add the wf-historical-data-series extension on the project page.

  11. Open the Object Properties panel of the wf-historical-data-series extension and organise the following settings:

    Series_things.jpg
    1. Fill in the Group Name property, adding the name of the group containing the Signals to be added as data series to the chart.

    2. Fill in the Control Name, that will be used as namespace for the serial chart provider.

    3. Preserve the changes by clicking the OK button of the Object Properties panel.

  12. Open the i4SCADA Service Manager and start the i4SCADA Server.

    Service_Manager.jpg
  13. Return to the i4SCADA SmartEditor and press the toolbar button Publish.

  14. The HTML output is generated and published.

  15. Open the published website.

  16. The Historical Data project can be further managed at run-time as described in the the Historical Data at run-time articles.

    Published_project.jpg