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.