Menu

Great Scott! Data Visualization in Great Cow BASIC!!!

Anobium
2022-11-17
2022-11-17
  • Anobium

    Anobium - 2022-11-17

    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:

    • 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:

        // Send the ADC data to the DataVisualizer application
        DataVisualizer_sendFrame ( ReadAD12( ANA0) )
    

    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!

    Graph of ADC Data

    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

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.