6 Plotting Graph in Data Visualizer

The following instructions show how to plot USART data in Data Visualizer by using the Data Stream protocol.
Note: For detailed information on Data Visualizer, refer to the Data Visualizer User's Guide.
  1. Open Data Visualizer.
  2. Open Configuration > External Connection > Serial Port in Data Visualizer.
  3. Select the Curiosity Virtual COM port, Baud rate: 115200, and then select Connect.
  4. Open Configuration > Protocols > Data Streamer.
  5. In the Data Stream Control Panel, under Configuration, browse to the configuration file and then select Load.
    Note: In this case, the configuration file is tiny2_PIR_datastreamer.cfg and can be found in the example source code project folder.
    Note: For more details on the Data Stream Protocol, refer to Data Visualizer User's Guide, Data Stream Protocol section.
  1. Open Configuration > Visualization > Graph.
  2. Drag the connections, as shown with red arrows in the figure below, to plot the graph.
Figure 6-1. Data Stream Graph in Data Visualizer

To adjust the Y-axis in the graph, follow the steps below:

  1. Under Configuration in Graph, deselect Automatically Fit Y.
  2. Click somewhere inside the plot area.
  3. Scroll the mouse-wheel while pressing or holding the Ctrl key.

To adjust the X-axis in the graph, follow the steps below:

  1. Click somewhere inside the plot area.
  2. Scroll the mouse-wheel while pressing or holding the Shift key.
Note: For more details on Data Visualizer > Graph, refer to the Data Visualizer User's Guide, Graph section.