Navigation: Quick Start >

Serial Data

 

 

 

 

Serial data is usually a key component to using MakerPlot-J as you want to plot incoming data from a microcontroller.

 

The Serial Control is used to establish connection with a controller via a COM port (USB one normally these days).

 

Select the correct COM port, ensure the data sent from the controller is properly formatted (next topics down) and the Baud Rate matches between the microcontroller and MakerPlot-J's Serial Control.

 

 

DTR Enabled is commonly used to reset the controller on connect.

 

The Serial Control, by default, resets the analog plot on connect. Uncheck Use Conn Str to disable this feature.

 

The Refresh button may be used to refresh the COM port list of available devices.

 

Use the Connect Button to open the connection to the device. NOTE: Only one application may access a COM port at any time. Ensure other applications do not have serial windows open to them, and disconnect on MPJ prior to connecting with other applications.

 

RX and TX show the status of received and transmitted data by blinking.

 

There are 2 status bars under the Connect Button:

The top one shows the amount of serial data in the buffer awaiting processing.

The bottom shows the number of data strings awaiting processing by MPJ.

If either fills significantly, data lag may occur and eventually they may flush the data in them. If this happens, decrease the speed of data being sent or the amount, or the amount of instructions through controls the software is performing.

 

Multiple Serial Controls per interface are allowed, but a good understanding of how data processing is performed is important. Please see Serial Control for more information.

 

The Debug/CLI (Command Line Interface) Window (F4 to open) is a great way to monitor serial data arriving or being sent (Check the Serial box), and the text entry box may be used to test data arriving for processing.

 

"Terminal" may be checked to send and receive strings directly with the controller. Data is not processed in this mode.

 

 

It is also a great way for operating MPJ through instructions and monitoring data for debugging or analysis. Please see Debug/CLI Window for much more information on this tool.

 

 

 

 

Copyright © 2024 SelmaWare Solutions, LLC