Vai al contenuto

Oscilloscope

The Oscilloscope allows you to plot the evolution of the values of a set of variables. Being an asynchronous tool, the Oscilloscope cannot guarantee synchronization of samples.Opening the Oscilloscope causes a new window to appear next to the right-hand border of the GF_ProjectVX code frame. This is the interface for accessing the debugging functions that the Oscilloscope makes available. The Oscilloscope consists of three elements, as shown in the following picture. Oscilloscope-image_0The toolbar allows you to better control the Oscilloscope. A detailed description of the function of each control is given later in this chapter.The Chart area includes several items:
  • Plot: area containing the curve of the variables.
  • Vertical cursors: cursors identifying two distinct vertical lines. The values of each variable at the intersection with these lines are reported in the corresponding columns.
  • Scroll bar: if the scale of the x-axis is too large to display all the samples in the Plot area, the scroll bar allows you to slide back and forth along the horizontal axis.
The lower section of the Oscilloscope is a table consisting of a row for each variable.