6.2 How to Configure MPLAB® X Data Visualizer to Decode Data Stream Protocol

  • In Data Visualizer, click the Plot Data button and select Data Stream Protocol.
    Figure 6-3. MPLAB® X Data Visualizer Data Format
  • Click Next and in the second screen, configure the frame format for the two fields in the payload.
    Figure 6-4. MPLAB® X Data Visualizer Data Stream Protocol Payload Configuration
  • Click Next and then Plot, as the default name for the Decoder works well the way it is generated. As soon as this is done, given the device is correctly programmed with the example code and is connected to the PC, the plots should start showing in real time.
    Figure 6-5. MPLAB® X Data Visualizer Displaying Plots