This system data logger is used to log internal OS/app events which is useful in performing failure analysis of a configuration when a display crashes.
This example configuration will create a system log text file that runs continually and a Pidin text file which will list all the processes running. These files can then be copied to a USB flash drive then emailed to Enovation Controls for review. Since the files are written to FLASH memory they will survive power cycles.
There are some shell scripts and compiled c code that must be included in customer extensions in the library as well as some scripting code and events that need to be added to your configuration. Use the Export/Import Configuration components tool to make this process easy.
In this example screen buttons are used to start the logger as well as save to USB. Depending on the issue under investigation these actions can be fired automatically at start up if needed.
The system logger logs all data since the last power up cycle and will continue logging system events as they occur. The Pidin file will contain a list of all processes that are running. These files file will remain in FLASH memory and can be output to USB on the next power up cycle if a new log is not initiated.
A snapshot version is available for events you wish to capture at the moment they occur. This version will log the system data since power up and stop. Simply replace the capture shell script in customer extensions with the one labeled for snapshot logging, modify the name in the Snapshot.CaptureSnapshot script-> system command, then fire it the script event from a user event.
This configuration was created in version 4.797. Additional notes are available in the configuration tab.
Customer Extensions Files
Include these files in the customer extension tab of the library.
- Capture System Log - Snapshot shell script
- Capture System Log - Continuous shell script
- MoveSnapshot shell script
- GetScreenshot compiled code
- GetVariable compiled code
- SendEvent compiled code
Comments
0 comments
Please sign in to leave a comment.