Skip to main content

IAR Embedded Workbench for RL78 5.20

Sampled Graphs window

In this section:

The Sampled Graphs window is available from the C-SPY driver menu.

SampledGraphs_DataSample_Too65_2.png

Use this window to display graphs for up to four different variables, and where:

  • The graph displays how the value of the variable changes over time. The area on the left displays the limits, or range, of the Y-axis for the variable. You can use the context menu to change these limits. The graph is a graphical representation of the information in the Data Sample window, see Data Sample window.

  • The graph can be displayed as levels, where a horizontal line—optionally color-filled—shows the value until the next sample. Alternatively, the graph can be linear, where a line connects consecutive samples.

  • A red vertical line indicates the time of application execution stops.

At the bottom of the window, there is a shared time axis that uses seconds as the time unit.

To navigate in the graph, use any of these alternatives:

  • Right-click and choose Zoom In or Zoom Out from the context menu. Alternatively, use the + and – keys to zoom.

  • Right-click in the graph and choose Navigate and the appropriate command to move backward and forward on the graph. Alternatively, use any of the shortcut keys: arrow keys, Home, End, and Ctrl+End.

  • Double-click on a sample to highlight the corresponding source code in the editor window and in the Disassembly window.

  • Click on the graph and drag to select a time interval. Press Enter or right-click and choose Zoom>Zoom to Selection from the context menu. The selection zooms in.

Tip

Hover with the mouse pointer in the graph to get detailed tooltip information for that location.

See also Getting started using data sampling.