Back

Topic

[KB1129]HDS Files list

Tags: HDS

2 months ago
By HOTE
Options
Print

Applies to:

PcVue 15 onwards

Summary:

This article lists all the files managed by the HDS.
Warning 1: Modifying manually these files can cause irreversible damage.
Warning 2: This article is only for internal usage, see with the referent before recommending any modification of these files.

The format of these files is explained in more detail in article KB1130 (HDS Files format PcVue 15).

Details:

      1.HDS.ini

This optional file is located in the executable Bin directory.

This file describes the general behaviour of the HDS regardless of the project.

      2.HDSConf.dat

This file is located in [ProjectDir]\C directory.

It describes all the HDS configuration of the project (databases, tables, loglists, trend groups…) except parameters about trends.

      3.HDSTrend.dat

This file is located in [ProjectDir]\C directory.

It contains trend configuration, one line per variable.

      4.HDS.log

This file is located in [InstallDir]\Bin\Log Files directory.

The HDS records error messages and other operational information in log files. In the event of a malfunction, these files may be used as an aid to diagnose the cause of the problem. Refer to KB1131.

      5.WatchDog.dat

This file is located in [ProjectDir]\HDS directory.

It is a temporary file deleted when HDS stops.

The HDS periodically stores in this file the last trend timestamp written. When the HDS restarts, if it didn’t stop properly (i.e. the “WatchDog.dat” file has not been deleted), a new file is created in the Database directory with .inv extension, and an invalid point is recorded for each trend with the last timestamp.

 6. “.HDS” files

When the HDS cannot manage to write a record in the database (if the database is disconnected for instance), it stores this record in a text file. Periodically, the HDS tries to insert these records in the database when connected.

These files are located in [InstallDir]\Databases directory. Their names are the concatenation of the database name plus underscore plus the table name. The extension is “.hds”, for instance:

SampleProject_DB1_TRENDTABLE1.hds

When the HDS exits, files with a zero length are deleted. More information available on KB654 (How .hds files work ?)

Created on: 10 Sep 2024