8.7 Visualizing Scope Data
Captured scope data can be visualized using the standard visualization tools in MPLAB Data Visualizer.
X2Cscope Panel
Variables added to the Scope Channels table are also listed in the Variables section of the X2Cscope panel. From here, variables can be quickly added to visualizations using shortcut buttons.
It is also possible to drag a variable from this area to the desired plot or terminal.
Time Plots
- Open the Time Plot panel if it is not already opened.
- In the data source selector on the right, find the X2Cscope Scope Channels variables.
- Select the variable to plot. The plot updates after each capture completes.
Multiple scope variables can be plotted together for comparison. Add separate axis or plot variables on the same axis as a preferred.
See View Data in the Time Plot for more information.
Terminal Output
Scope data can also be displayed in the terminal for numerical inspection. Select the X2Cscope scope variables as terminal data sources.
See View Data as Text in the Terminal for more information.
Update Rate
Unlike continuous streaming protocols, X2Cscope visualizations update after each complete buffer capture. This means the plot and terminal shows the data of the captured time window on each update, rather than scrolling/updating in real-time.
