Table of Contents

Text File Stream

The Text File Stream event source is used in situations where a SCADA is “printing” A&E data to a text file.

The event source monitors a specified directory, and will scan files for new rows.

Under the hood, the event source keeps a record of files in the directory, their “last modified” date, and how many rows it has already read. If the file is updated, the event source will pick up from the last row it previously read.

The complete row is passed to a Data Core event's “Message” property. That is, there is no parsing of the text file row other than where it starts and ends.

Key Settings

Tips

Archiving
To keep the event source lean, an independent process should archive files that no longer receive updates.