TSignalDBChart, palette SmartSCADA Controls, unit SignalControls.pas

   This component also shows graphical view of signals values. Difference to TSignalChart is that TSignalDBChart shows values that read from database. Scope of values that can be displayed depends on size of database.

At upper panel, navigation buttons are placed. These buttons are enabled if field LastValues is not checked. It this box is checked, graph shows last values recorded to database and fills graph to the left with data from database..

 

Figure 53. DB graph in run time

 

 

 

PROPERTIES

Signals: TStrings

                 Signal list linked to this component. Signals are linked to component by special editor. Only TFloatSignal and                  TIntegerSignal type can be linked.

 

ButtonsVisible: boolean

                 Determines if navigation buttons will be visible or not.

 

WAY OF USE

Put TTable component  to form

Set DataBaseName property to alias PROCESS

Set TableName property to  FloatTable.db

Create fields for all signals from database (by click TTable – standard way).

Connect TSignalDBChart to TTable, (property Table)

Connect TSignalDBChart to signals (property Signals).

 

POPUP DIALOG

                 Right click on object linked to signal will bring up popup dialog

Value

Description

ifsNone

No interaction with ini file

ifsReadDS

Reading values from ini file in design time

ifsWriteDS

Writing values to ini file in design time

ifsReadWriteDS

Reading and writing values from ini file in design time

ifsReadRT

Reading values from ini file in run time

ifsWriteRT

Writing values to ini file in run time

ifsReadWriteRT

Reading and writing values from/to ini file all the time