I have often 'pushed' the use of a serial terminal to help debug a program. Why? it can be difficult to troubleshoot data within your solution when your solution is running.
Using Data Visualizer you see the data in your your application change during runtime, e.g., visualize values
captured by some sensor on your development board.
The Data Visualizer tool can:
Capture data streamed from a running embedded target via serial port (CDC) or the Data Gateway Interface (DGI)
Monitor power data
Decode data fields at runtime using the Data Stream Protocol format
Visualize the raw or decoded data in a Graph as a time series or XY plot, or display the data in a terminal
Actively monitor data or input data to an application using widgets on the Dashboard
Save a plot snapshot to a CSV or JSON file
To use
Great Cow BASIC program
Add a data streamer constants and the function to your program. To use it looks like this:
Data Visualizer
Download and install the software, accepting all the agreements as required.
Open the application, allow the Data Visualizer to initialize.
Create the measurement variable, attach to the comport, set the scale and plot.
You get Data Visualization like this!
YouTube
Here is the URL to the YouTube video showing this in action.
I have often 'pushed' the use of a serial terminal to help debug a program. Why? it can be difficult to troubleshoot data within your solution when your solution is running.
Microchip have released a standalone version of the Data Visualization Tool - see https://gallery.microchip.com/packages/MPLAB-Data-Visualizer-Standalone(Windows)
This a must have tool.
Data Visualizer
Using Data Visualizer you see the data in your your application change during runtime, e.g., visualize values
captured by some sensor on your development board.
The Data Visualizer tool can:
To use
Great Cow BASIC program
Add a data streamer constants and the function to your program. To use it looks like this:
Data Visualizer
Download and install the software, accepting all the agreements as required.
Open the application, allow the Data Visualizer to initialize.
Create the measurement variable, attach to the comport, set the scale and plot.
You get Data Visualization like this!
YouTube
Here is the URL to the YouTube video showing this in action.
https://www.youtube.com/watch?v=odvFBgfSwqg
Very simple.
Enjoy Data Visualization
Last edit: Anobium 2022-11-17
See GitHub for an example of a Dashboard.
The ADC, a switch (state) and four LEDs (the state of each LED).
Very cool.
https://github.com/GreatCowBASIC/Demonstration_Sources/tree/main/data_visualization/adc_switch_4leds_solution