EDRUINO - Terminal

Each project can open its own serial terminal window.

term.png

When open, the terminal window consists of following parts:

The terminal can work in two modes:

Standard mode

In standard mode, all incomming data are displayed in the Read window.

CR / LF handling

As a default, CR character (0x13) is handled as a new line command and LF (0x10) is ignored. This behaviour can be changed by clicking on two blue buttons on the toolbar. Third blue button switches displaying of CR, LF and STX in symbolic form.

Channel data

Channel data use following data format:

[*Xvalue]

example of valid data: Serial.print("[*A128]"); Serial.print("[*C25]"); Serial.print("[*S1023]");

As a default range 0..1023 is set for bar-graph. This range can be changed by Channel range command sent by Arduino. Format is similar to data format, only instead of * uses !

Example: Serial.print("[!A512]")" sets range for A-channel to 512

As the channel data mode displays only the last data, data logging can be switched on the Log channels tab.

Graphical representation of channel data - "oscilloscope"

First three channel data can be displayed in a form of graph.

termgraph.png termgraph1.png

Channel data values can be graphically summed up so that A+B, A+C, B+C and A+B+C can be displayed.

Oscilloscope can be used in two modes which are switched from po-up menu activated by right-clicking the graph. In normal mode, graph is updated only when data comes from Arduino. Free-run mode is analogous to osciloscope with free running time base.

Terminal data setting

Terminal settings is read from the project configuration file if it exists and can be modified by the Setup dialog.

termconfig.png

Opened terminal list

On the left panel, there is a tab marked Terminals. It keeps the list of all opened terminal windows and clicking in terminal name activates it.

Terminal as a stand-alone program

The terminal is bundled with the Edruino program under MjTerm.exe name. It can be used without starting Edruino as a universal serial line terminal.