wRTOS Message Viewer
The wRTOS Message Viewer allows you to view debug/log messages generated during the execution of real-time applications. The workflow involves using the Channel Editor in Message Viewer to define message channels and formats and leveraging the Debug Message APIs (requires wRTOS SDK) to write messages. Finally, Message Viewer allows you to view these messages or save them to a text file. Optionally, you can use the filter function in Message Viewer to select only the messages you want to see.
Video available. See the Debug Message API and Analysis Console video on our YouTube channel for a demo of this tool.
There are three types of messages: Basic, Standard, and Trace. Each message type resides in its corresponding channel: Basic, Standard, and Trace, respectively.
- Basic message channel: This channel is designed for simple messages. All applications using the Debug Message APIs for sending basic messages will share the same Basic message channel. To display messages from each application separately, you must create a Standard or Trace message channel.
- Standard message channel: You can define multiple Standard message channels using the Channel Editor and then create them using the Debug Message APIs. This channel allows for the efficient transmission of custom-formatted messages and supports sending more message attributes than the Basic message channel, such as application instance, message type, etc. Defining message formats allows you to leverage these attributes for filtering or searching specific messages later.
- Trace message channel: You can define multiple Trace message channels using the Channel Editor and then create them using the Debug Message APIs. This channel is like the Standard message channel but is specifically designed to handle large volumes of messages sent in a short period, such as 10,000 messages in one second. You can save messages in this channel in a CSV format file for subsequent data analysis. Due to the large volume of messages in the channel, messages on the screen will not update automatically. You must update it manually by selecting the Refresh icon on the Message Viewer.