AbvDoArch

SUMMARY

The "DoArch" program is used to define the Data Objects to be archived.

CONTENTS

  1. Introduction
  2. Selecting Data Objects for archiving
  3. Start of Archiving

Introduction

The 'DoArch' program is used to define the Data Objects to be archived. The file "_doarch.dbf" is created, the values of the therein defined Data Objects are saved in runtime to the file "_archive.dbf"; the file is designed as a ring buffer with the max. size of 1GB.

Default Definitions
In the file Vision2000.ini,
Section [DoArch]
are defaults defined, respectively are saved there, when parameterizing the application.

Calling up the program
The ‘DoArch’ program is called via the icon .

A similar program window is opened:

Selecting Data Objects for archiving

In the left window in the middle "PointID (Source)" the Data Objects offered for archiving are displayed, the field "Objects:" shows the number of available objects.
In the right window in the middle "PointID(DoArch)" the selected ones are displayed, the field "Objects selected:" shows the number of selected objects.

The Objects offered for archiving may be qualified by filters.

Filters to qualify the selection
Data Objects can be members of a ‘Technology Group’. By mouse click to the select button, the available Tech-IDs are shown. You may select one or all Tech-IDs as a filter; via the check box aside the indication field the filter is activated or deactivated.
Note:
This filter is anded with the selected Object Type.


Data Objects are owned by a 'Station'. By mouse click to the select button, the available Stations are shown. You may select one or all Stations as a filter; via the check box aside the indication field the filter is activated or deactivated.
Note:
This filter is anded with the selected Object Type.


Data Objects can be members of a ‘Section’. By mouse click to the select button, the available Sections are shown. You may select one or all TSections as a filter; via the check box aside the indication field the filter is activated or deactivated.
Note:
This filter is anded with the selected Object Type.


Jedes Datenobjekt ist einem bestimmten Typ zugehörig, mögliche Typen sind:
 
MP  (Measuring Points)
PO  (Prozess Objekte)
PV  (Prozess Variables)
SO  (System Objects)
Ref (Reference Objekts)
Via the check box the selected Object Type is activated or deactivated.

Wild-cards may be used for filtering. Possible are "?", stays for a single character und "*" for a string.
Note:
Characters after the wild-card "*" are not recognized; filtering for '*Motor' is invalid, all Objects are shown.
Via the check box the selected Object Type is activated or deactivated.

Possible Actions
First, all Data Objects that should be archived are marked. (Using the Windows native mechanism)
Data Objects can be added to, - or deleted from existing lists.

The buttons got the following functions: Marked Data Objects are copied to the right window for archiving, or deleted from there.

The Data Objects in the right window and the defined parameters are saved to the "_doarch.dbf" database; Data Objects in that database are embedded for archiving by the compiler.

If a defined set of Data Objects with all defined parameters should be obtained, it may be saved as a template with an arbitrary file name and the file extension ".doarch".

A saved set of Data Objects may be loaded, all files with the ".doarch" extension are offered for loading.
Note:
To activate a loaded set for archiving it must be saved after loading. (The actual “_DOARCH” is overwritten thereby.)


The program is closed. If there is an unsaved set of Data Objects the closing of the program must be confirmed.

The defined parameters for triggering the archiving are adopted.

Parameters for triggering the recording.
For a set of Data Objects the conditions for writing values to the archive database must be defined.

There must be definitions for: Defines the value change needed for logging.
The definition "0" recognizes any value change.

Defines the time interval for checking the value (in seconds).
Note:
Value changes in-between that intervals are lost!

Is "0" defined any value change (also below one second) is archived in the correct order, but the time stamp changes only once per second.


If ticked the archiving is started with the runtime.

Start of Archiving

If the "_doarch.dbf" database was created new or modified it must be compiled prior the runtime is started.!

If the Archiving is not stated via the described check box “Initial archive” it can be controlled in runtime via the commands:

Obj_StartRecAll()
Obj_StopRecAll()

The program runs in back ground.

Note:
In addidion ALPHA-VISION® offers the program:
ZipArchives
This program zips and saves archive files continuously.