History DB trend

<< Click to Display Table of Contents >>

Navigation:  Project > Screens > Graphical objects > History DB library >

History DB trend

Previous pageReturn to chapter overviewNext page

historydbtrend

Property

ST script field

Description

History DB

historydbname

Choose History DB you want to bind to the trend.

Line width

linewidth

Width of the border's line.

Color

color

Color of the border's line.

Fill

fill

Select fill or not fill trend.

Fill color

fillcolor

Fill color of the trend.

Auto refresh

autorefresh

Check it if you want to update trend every time when new tag’s value added into database.

Curves


After clicking Collection you’ll see window:

curves

Where:

Tag -  tag that you want to bind to this curve.

Name - name of the curve.

Line with - curve's line width.

Color - curve's line color.

Type - line's type:

1.Type 1 -  just draw the line.

2.Type 2 -  draw line with filling till axis X.

3.Type 3 -  draw a ladder line.

4.Type 4 -  draw a filled ladder line.

Default period (min)

defaultperiod

Default time period of the trend (end time - begin time).

Also History DB Trend object has several properties that you can’t setup by using settings dialog box, but you can setup by using ST script:

1. begin - start time for trend information. Time represented in minutes from current period. (start time = current time - begin).

2. end - finish time for trend information. Time represented in minutes from current period. (finish time = current time - end).

3. filename - name of the report’s file.

4. savereport - when this value become true trend’s report will be created.

         5. begindatetime - start time for trend information. Time represented in milliseconds from 1 January 1970.

         6. enddatetime - finish time for trend information.  Time represented in milliseconds from 1 January 1970.  

         7. disablesavereport - disable "Save report" button in the dialog.

         8. disableprint -  disable "Print" report button in the dialog.

         9. duration - duration of the history time line in minutes. It works only when auto refresh is enabled. End time will be current time and begin time will be current time minus duration in minutes.