Chapter 6 FactoryTalk Event Archiver
87
4. FactoryTalk Event Archiver logs all archiving activities to a log file.
5. When Reporting Services is installed, reports can be generated from
event data stored in the database.
Use the following instructions to run the FactoryTalk Event Archiver to insert
batch record data.
To run the FactoryTalk Event Archiver to insert batch record data:
1. The operator or Manufacturing Execution System (MES) starts a
batch. If it is to run in the incremental mode, the FactoryTalk Event
Archiver must be enabled as a Windows service.
2. An electronic batch record file (.evt) is created.
3. The electronic batch record file's name is added to the electronic batch
record directory file, EventDir.txt.
4. The FactoryTalk Batch Server incrementally writes to the work queue
file in FactoryTalk Event Archiver, ArchQue.txt. The data in this file
consists of the path to the electronic batch record file and, if the batch
has been removed from the batch list, a tab and the word REMOVED
follows the file name.
• End-of-Batch Archiving: When a batch is removed from the batch
list, the FactoryTalk Batch Server sends a message to the
FactoryTalk Event Archiver to start running. The FactoryTalk Event
Archiver must be enabled.
• Incremental Archiving: The FactoryTalk Event Archiver runs on a
pre-defined schedule. The FactoryTalk Event Archiver must be
active at all times during batch processing.
5. The FactoryTalk Event Archiver reads the ArchQue.txt file for the
name of the electronic batch record file and the status of the batch.
6. The FactoryTalk Event Archiver reads the electronic batch record file.
7. The FactoryTalk Event Archiver inserts records into the database.
8. If electronic batch record data is successfully inserted into the
database, the file’s name is removed from the ArchQue.txt file.
Steps 4 through 7 are repeated until the FactoryTalk Event Archiver has
attempted to insert each electronic batch record file listed in the ArchQue.txt
file into the database.
Run the FactoryTalk Event
Archiver to insert batch
record data