To create a readout-table, dial, or meter item:
Choose: KB-workspace > New Display > display-item
Among others, G2 provides these displays:
![]() |
Readout-table - Shows a variable, parameter, or expression, and its value. G2 also provides a digital-clock, which is a special kind of readout table that displays the time according to the scheduler.
Note: Unlike most items, G2 does not display the name of a display adjacent to it on the workspace.
Specifying Tracing and Breakpoints
The Tracing-and-breakpoints attribute lets you override the display item's default settings for these facilities.
Specifying the Display Expression
The Expression-to-display attribute specifies the variable or parameter, or expression you want the display to show. Some examples are:
Q + 1
the level of tank-1
Default-update-interval attribute indicates how long G2 waits before updating the display. For example, if you specify 3 seconds, G2 updates the display every three seconds.
Display-wait-interval attribute specifies the amount of time, after KB start-up, that G2 waits before updating the display. We recommend that you give readout-tables different
Display-wait-intervals to stagger updating and even out the CPU load after start-up.
Display-update-priority attribute defines the display update priority. G2 schedules the execution of tasks according to priority, executing those with the highest priority (1) first.
Show-simulated-values? attribute determines whether to display the simulated value of the variable referenced in the Expression-to-display attribute. The G2 Simulator, which can supply simulated values, is a superseded capability. For more information, see Appendix F, Superseded Practices.
Common Attributes of Readout Tables, Dials, and Meters
Readout tables, dials, and meter displays each have the following attributes: