Format of archive files

Previous chapterNext chapter Show allShow all    Hide allHide all

Archives have the following file structure: The Archive Name is a connection of short term, carrier storage time in UTV in the format YYMMDDhhmmss and the file extension ARX.

The archive file ARX contains the canal definitions and numerical data. The ARS file contains the String data. The archive header contains the archive definition and may or may not contain values of batch variables. The memory that is reserved for the value of the batch variable is - in case the batch variable is a string - dependent on the string length; in case of numerical variables 32 characters. Batch strings are stored in Unicode. If no batch variable is defined, no memory is reserved.

The data record in ARX files has a length of 24 bytes and offers the possibility to store double values. The status information is 64 bit.

Due to this new file structure, archives an be stored each second. For cyclic archives however we recommend saving cycles of > 30 seconds.

As the format of the archive files has changed, there is a check at the start of the Runtime if there are any archive files (they are recognized by the file extension ARV) in the Runtime directory. After the confirmation the files are converted to the new format. This conversion is done for all projects, before the projects start.

Following file structure: The Archive Name is a connection of short term, carrier storage time in UTV in the format YYMMDDhhmmss and the file extension ARX. The time detail of the ARX Date depends on the time zone, in which the Windows settings were made.

Example Example

A1070405071200.ARX

A1

Name of the archive

07

Year

04

Month

05

Day

07

Hour (UTC)

12

Minutes

00

Second

 

Change from winter time to daylight saving time

In this case, a 'gap' appears in the archive because one hour is added to the time.

Change from daylight saving time to winter time

In this case, there is an overlap in the archive because one hour is subtracted from the time. The name of the archive begins with Z.