Joined on 09-23-2003
Error Logger (Message Queue Logger) Example Control Strategy and Display Project
We have a new example PAC Control strategy and PAC Display project called Message Queue Logger. It is available on our Web site here:
Samples & Freeware
You can also get there by going to www.opto22.com, then choosing the Support tab, then the Downloads link (near the upper-left corner of the page), and then â€œSamples & Freewareâ€ in the lower-middle section of the page.
It is called â€œMessage Queue Loggerâ€ because the error queue now supports information and warning messages as well as errors, so the error queue is now referred to as the â€œmessage queue.â€
Purpose of Message Queue Logger:
The message queue logger Control strategy copies message queue entries to a persistent string table. The related message logger Display project logs each new index of the persistent string table to the computerâ€™s hard drive.
This provides greater visibility and insight into your system and makes it significantly easier to troubleshoot problems when they arise. By implementing message logging in your system from the beginning, all error, warning, informational, and user messages are automatically logged to your computerâ€™s hard drive as they occur. This provides a history of how your system runs under normal conditions.
When problems occur, you will have a history of normal messages as well as error messages to help troubleshoot the cause.
If you periodically review the files logged to the computerâ€™s hard drive, you may be able to identify problems before you even notice symptoms. Also, when a problem does occur, it will be helpful to be able to review the log files of when the system was functioning correctly.
This example was created using ioProject Basic 7.0 so that it would be available to customers using 7.0 or newer (ioProject and PAC Project), including both Basic and Pro.
Starting with the PAC Project release 8.2002, this example is part of the PAC Project install.