Let's start with the archiving of values, for which it is necessary to create at least one archiver for the required type of storage and the values periodicity. In general OpenSCADA includes two archiving modules — to the file system FSArch and to the database DBArch. Here we will consider only the module of archiving on the file system, as the most universal and effective one. Concerning the value periodicity for the "high-quality" archiver, it is preferable to choose the periodicity of the values of the slowest source of data in our system, which we have one and we specified the periodicity for him in 1 second. To create a value archiver, open the archiving module page "Start"->"Archives-History"->"Module"->"Archiver on the file system" and through the context menu we will create an object of the value archiver "1s". Note the value of the "Item type" field in the creation dialog, which should be the Value archiver! Configuration page of the resulting object of the value archiver (Figure 4.5.1) contains the "State" section of status and operative control, the configuration section "Configuration" and the "Additional options" section of specific settings of the archiver module. In general we have:
- The section "State":
- start the archiver for execution — set the sign opposite the corresponding field, only running archiver performs the archiving;
- we can control the current and maximum time of the archiving session;
- specify the storage — leave the "Generic Storage" of the project;
- we can control the total archive files size of this archiver.
- The section "Configuration":
- set starting the archiver when the program is started — set the sign opposite the corresponding field;
- set address of the archive folder — "ARCHIVES/VAL/1s", which is by default;
- set period of values — 1 (one) second;
- set the archiving period — 60 seconds, by default and usually it is the same for archivers with any periodicity of values.
- Save the object.