Controllers manage IBM® Rational® Rhapsody®-built
devices through the Internet, remotely invoking real-time events within
the device.
After web-enabling, running a Rational Rhapsody model,
and connecting to the device in a web browser, controllers can view
and control a device through the Rational Rhapsody web
GUI, using aggregate tables.
Aggregate tables contain name-value pairs of Rational Rhapsody web-enabled
elements that are visible and controllable through Internet access
to the machine hosting the Rational Rhapsody model.
Navigate to aggregate tables in the Rational Rhapsody web
GUI by browsing to classes selected on the Objects Navigation page.
The following figure shows an example of the name-value
pairs as they appear in an aggregate table. This table shows the name
of each element within the aggregates, and whether the values are
readable or writable.
You can monitor a device by reading the values in
the dynamically populated text boxes and combination boxes. When a
string value extends beyond the width of the text field, position
the mouse arrow over the text field to display a ToolTip, as shown
for the sendstring element.
You can control a device in real time by clicking
the Activate button, which initializes an event,
or by editing writable text fields (the text boxes that do not have
a gray background). An input box displays a red border while being
edited, indicating that its value will not refresh until you exit
the field.
The web GUI uses different fields and folders to
indicate types of values and their read and write permissions. The
following table lists the way name-value pairs are displayed.
Table 1. How name-value pairs are displayed| Name-Value |
Read/Write Indication |
| Numeric values |
Readable values dynamically populate the text box. Write-protected values display in a text box with a
gray background; otherwise, the value is writable.
To
send a changed value, type the value in the text box and either press Enter or
exit the box by clicking outside of it.
|
| String values |
Readable values dynamically populate the text box. Write-protected values display in a text box with a
gray background; otherwise, the value is writable.
To
send a changed value, type the value in the text box and either press Enter or
exit the box by clicking outside of it.
|
| Boolean variable |
Writable values display in a combination box containing True and False values. |
| Activation buttons |
Clicking these buttons initializes the corresponding event
in the model. |
| Tan folders |
Denote child aggregates; clicking a folder displays the selected
aggregate within. |
| Blue folders |
Denote user-created views nested within aggregates; clicking
a folder displays the selected contents within. |