Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Trending of variables

Now you can proceed to the final step of the trend configuration - definition of variables that are to be trended:

- Select the "Data" tab in the "BoilerPlant/Boiler1/Data" object.
- Select the variable: "Temperature". Open the configuration window of this variable (by the Edit button or mouse doubleclick)
- Create a new data extension by the "Add" button and select: An extension for connection to the PmaTrendGroup object.




The Trend data extension configuration window opens now:

Target object (PmaTrendGroup): use the button with three dots to display the list of PmaTrendGroup objects that are present in your application.
Trend identifier: Enter temp1 here. This way you have also defined the column name in the table where the variable is going to be saved.
Name for displaying: Name of the variable that will be displayed for the user in the running application. It may contain diacritics, spaces, etc. Enter " Temperature of boiler no. 1" here.
Unit: The physical unit for displaying of the value, enter °C here. (press Alt + 0176 to get the degree character on English keyboard).
Color: You can press the colored button in order to choose the color of the variable to be used in the chart.


Leave the other items displayed in this window unaltered.

Confirm all changes by pressing the button .

Confirm the modifications. You have just defined that the "Temperature" variable will be trended with the period of one second. You can now use similar procedure in order to trend the variable named "Power". After starting the application, you can check the Data folder located in the application folder on the disk. You should find a folder named "trend", there containing data file(s) of the *.dbf type. These files can be easily opened (viewed) in MS Excel.

After following the procedure described above, you have created the application that saves the values of "Temperature" and "Power" variables into a database table of the *.dbf type every second. In the following chapter you will learn how to display the saved data.
PROMOTIC 9.0.16 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice