Skip to main content

SCADA History Archiving at Kennedy Space Center: Case Study

Supervisory control and data acquisition (SCADA) systems record large amounts of process history, but the vendor's tools are not always designed to export it for long-term storage. This case study describes how TextPipe filled that gap in a system being developed and used by NASA at the Kennedy Space Center.

Client

A SCADA system developed and used by NASA at the Kennedy Space Center.

The challenge

The master file data was not accessible through the tools provided with the SCADA product, and the system had no way to build a long-term history. Without that information, a long-term archival and retrieval system would be impossible. The team also had to sort through thousands of files to find the correct information.

The solution

TextPipe let the team build a filter that finds the required information inside the binary history files and writes it to another file for processing, without writing custom code. TextPipe is designed to work on binary as well as text data, so file headers and fixed positions can be read directly. See grep and pattern matching for the search features involved.

The process

The SCADA software creates a master history file (.hst) and a set of history data files for each trended value. The person building the system chooses how many files exist, based on how much online history is wanted. This installation wanted 90 days of history, using 90 files, one file for each 24 hours. In the near term the system will have about 10,000 trend values, which works out to roughly 91 x 10,000 files.

The workflow is automated end to end:

  1. The SCADA software calls TextPipe through a command line and runs the saved filter.
  2. TextPipe quickly reads all of the .hst files to work out the order of the history files.
  3. That order is written to a separate file.
  4. The SCADA software reads the file, selects the correct history file and sends it to the long-term data archive.

The results

  • Long-term history becomes possible. Data that could not be reached with the vendor's tools can now be located and archived.
  • No custom code. The filter was built in TextPipe without writing a program to parse the binary format.
  • Fully automated. Because TextPipe runs from the command line, the SCADA software triggers it without operator action, even across an estimated 910,000 files.

Why a command line filter suits automation

A filter that can be launched by another program removes the operator from the loop. The SCADA software decides when an archive run is due, starts TextPipe, waits for the ordering file and carries on. Because the filter is saved, the same logic runs every time, and it can be changed in one place if the history file layout changes.

Related reading

Other industrial uses are described on the industrial and manufacturing page, including the NASA circuit board data conversion, and the mining and telecommunications page shows how operational test files are standardized. The data mining and systems integration solution pages explain the general techniques, and for the industrial and IoT use case see data historian and IoT files.

Engineering organizations also keep large numbers of procedure documents in Word. WordPipe can revise them in batch, for example equipment specification and safety notice updates.