4.8.2.3.1 Read Variables

The Read Variables widget is a button that reads values from variables defined on a protocol session. It can only be used with a protocol session that supports loading an ELF file, which must be loaded before configuring the widget.

Selecting Variables

To select which variables this widget is connected to, press the button in the Edit Variables field of the widget configuration. This opens a dialog where protocol session can be selected. If a symbol file has been loaded for this protocol session, the associated variables can be browsed in the dialog by typing its name in the Add New Variables field. The selector that opens operates as described in Selecting Symbols. Variables that have been added are shown in the dialog, where they can be removed by pressing the X icon. Click Ok in the dialog to apply the changes.
Figure 4-66. Selecting Variables in the Edit Variables Dialog

Reading Variables

For input widgets added to the dashboard, variables selected as described above will appear in the sink selection list. Once other widgets are connected, pressing the button will read the symbols from the target and send their values to the connected widgets.

Configuration

The Read Variables widget shares some of the configuration fields with the Button widget. See the tables in Button for details on the fields. In addition, it has an Edit Variables field described in more detail above. Hover over parameters in visualizer for more information.