Create a diagnostics list
At runtime, the diagnostics list displays messages to give the operator information about system activity:
- Information messages, such as messages about tag assignments, tag read and write activity, and macro usage.
- Warning messages.
- Error messages, such as messages about communication errors, invalid values, and unassigned controls.
When you create your project, the application creates a default graphic display called [DIAGNOSTICS] that contains a diagnostics list. The display also contains buttons for scrolling through the list, clearing messages, and closing the list.
You can use the [DIAGNOSTICS] display as is, or modify the appearance of the diagnostics list and buttons in the display. Or, you can create your own graphic display containing a diagnostics list and buttons that you create.
If you set up your own graphic display, use an On Top display, otherwise an error will be generated when the runtime application is created. You can also select the Cannot Be Replaced option. This means that, when a message occurs, your display will open on top of the current display, and will remain open until the operator closes it. You can use the diagnostics buttons with the diagnostics list object. You can also use all of the key buttons except Move Left, Move Right, Backspace, and Enter.
TIP:
- Specify the graphic display to use for diagnostics messages, and the types of messages to display, in theDiagnostics Setupeditor.
- You can configure the display to open automatically whenever a new message occurs, using the options in theDiagnostics Setupeditor. Or, you can create a goto display button that the operator can press to open the display containing theDiagnosticslist.
- You can place a diagnostics list on any display in the project, not just on a diagnostics display.
To create a diagnostics list
- In theGraphics Displayeditor, selectAdvanced > Diagnosticsfrom theObjectsmenu, then chooseDiagnostics List.
- Drag the mouse to position and draw a rectangle the general size and location you want the list to be.
- Double-click the list to open itsPropertiesdialog box.
- In thePropertiesdialog box, specify how the list looks.
Provide Feedback