The Connection Manager is the Visualizer used to manage connections. You can make connections using:
- serial ports
- UDP (WiFi or Ethernet)
- TCP/IP Client or Server(WiFi or Ethernet)
- XBee Series 2 Pro wireless
Data and commands sent through the connection will be displayed by all the visualizers linked to the connection.
Creating a Connection Manager Visualizer
Open a Connection Manager by selecting it from the visualizer tool or docker.
By default, you will see a single serial connection. MegunoLink supports multiple connections; simply select the type of connection you would like to add from the Add Connection menu.
A new panel will be added for each connection. The panel lets you configure the connection.
Configure the Serial Connection
Use the connection’s panel in the Connection Manager visualizer to configure connections.
For a serial connection you can set:
- Name: the name of the connection. It is to help you keep track of multiple connections and can be anything you like. The name is displayed in the connection selector shown on visualizer toolbars.
- Port: the COM port the Arduino is connected to
- Baud rate: the baud-rate your Arduino is using. Make sure that the baud rate selected matches the value set when your Arduino program calls
Serial.begin(9600). The most common value is 9,600 baud.
- Connect/Disconnect: opens and closes the the connection to your device.
- Reset: restarts the program running on the Arduino for supported devices.
The Connection Selector is used to manage visualizer connections. It can be found in the toolbar at the top of every visualizer. Each visualizer processes data and commands for the selected connection.
Select the connection linked to a visualizer by clicking the arrow to open the Connection Selector drop down. Select the connection you wish to use from the list of available connections.
Click the Connection Selector button to connect and disconnect the serial connection.
Each serial connection can be used by any visualizer. You don’t need to create a separate connection for each visualizer. This lets you quickly change the physical COM port a connection uses without updating each visualizer separately.