RTAP Historical Archiver

The Historical Archiver converts RTAP historian tables into CSV (Comma Separated) files with the following format:
        YYYY-MM-DD_<hist>.csv

where:
    YYYY = year (eg. 1994)
    MM = month (eg. 07)
    DD = day of month (eg. 01)
<hist> = historian table's alias with spaces converted to '_'
</listing>

The data is saved as follows to the file:

<listing>
"<time>",item 1,item 1 quality,item 2,item 2 quality,...
"<time>",item 1,item 1 quality,item 2,item 2 quality,...

where:
<time> = time of sample
    item 1 = value of item one
    item 1 quality = quality of item 1
<time> = time of sample
    item 2 = value of item two
    item 2 quality = quality of item 2
</listing>


The number of items is dependant upon how many items have been configured for the history table.
These archived historical files can then be viewed through the RTAP trending sub-system using an rtsh script. For more information see the hist2csv(1) and histDisplay(1) man pages.