The JMRI Manual
Download
Getting Started
Using DecoderPro®
DecoderPro® Programming Modes
The Basic Programmer
The Comprehensive Programmer
The Advanced Programmer
DecoderPro® Main Window
Creating a Decoder Definition
Error Messages

DecoderPro® Main Window

Communications Monitor Window

Back

Back to Index


DecoderPro provides a communications monitor window so that you can see what is happening on the communications link between the program and the layout hardware.

When the monitor window opens, it will automatically display all traffic on the communications link.

The Title bar will display the name of your DCC systems communications link.

monitor window

The messages that are sent and received over the communications link are displayed in the main pane of the window.

Controls at the bottom of the window.

Clear screen button— Erases the log area of the screen where the messages are displayed.

Freeze screen button—Stops acquiring new information, so that the captured information stops scrolling.

Show raw data—Normally, the monitor displays the program's interpretation of what it's seeing. If you want to see the raw bytes, check this box.

Show timestamps—Normally, the program just displays the data from the communication link.. If you would like each message to be preceded by the time it was sent or received, check this box.

Window always on Top -- Always displays the Monitor window.

Auto scroll -- Scrolls the data in the window continuously.

Filter Bytes:

You can filter unwanted messages from the window by entering each message's first hex value into the "Filter Bytes" field. This can be especially helpful when there is a lot of routine comm traffic. Separate multiple values by spaces. e.g. "B0 D0 CC". This example will suppress any messages whose raw data starts with "B0", "D0" or "CC" You can determine the available hex values by turning on "Show raw data."

Choose log file button -- Log monitor data to a file for recovery for diagnostics, and sharing data with others.

Start logging button -- Starts sending data in Monitor Window to selected file.

Stop logging button -- Stops sending data in Monitor Window to selected file.

Logging to a File

Sometimes, it is useful to capture the events that are happening. If a problem occurs, then the information capture in the log file can be sent to the group for analysis of the problem. Small amounts of information can be copied from the display pane of the monitor window. If more information is needed than is provided by the window, you need to write the information to a log file on your computer's disk.

To do this:

  1. Click the Choose log file button. This opens a Save dialog on your computer, locate the folder where you would like to save the log file, give the log file a name ( if you use the name of an existing file, it will be overwritten). Click on Save button.
  2. When you are ready to capture the data that you want to save, click on the Start logging button on the monitor window.
  3. When done, click the Stop logging button to store the data and close the file.

Adding Message

button 

Type your message in the Add Messge text box, then clidk on the Add Message button to add your message to the log file.


Back

Back to Index