Device Monitoring Studio - TODO
Docs

Serial Terminal

Serial Terminal module implements the serial terminal emulation, which is built into the Device Monitoring Studio user interface.

You can configure as many serial terminal sessions as you need, with a maximum of one session for every serial device installed on your computer. The Serial Terminal supports various serial port settings, including baud rate, parity, flow control, etc.

Create a new terminal session using the Tools » Serial Terminal » New Terminal Session command. The Serial Terminal Session Configuration Window is displayed to let you configure new session. After the session is created, it is added as an entry in the Serial Terminal root menu. The session window is opened in client area.

In addition, you may right-click the serial device in Devices Tool Window and select the Start Terminal… command.

Immediately after the session is created, the Serial Terminal starts listening for incoming data from the serial device. All received data are displayed in the terminal window.

To send data to the serial device, start typing it on the keyboard. The echo option, which is controlled by the corresponding option in a context menu, governs the echoing of the sent characters. You may find it useful in some situations. It is recommended, although, to turn off the option if the device you are communicating with provides its own echoing.

You can also send the contents of a text files to the serial device by using the Send File… command in the context menu. You can select one of the two send methods. First of them will split file contents to multiple lines and send them to device sequentially (with 0x0D symbol in the end of each line). Second method will send the file contents without splitting (but using fixed size buffers). To select the method please go to Tools » Settings, General Tab and check the “Send text lines to file one by one” option.

The data from file is sent as sequential blocks of some finite size. You can specify the block size with the Block size option (“Serial Terminal” group in Tools » Settings, General Tab). The minimum value is 1 and maximum is 65535 bytes. The default block size is 1024 bytes.

Use the Advanced Send option in context menu to enter the pattern to send. In addition to pattern, you may specify delays and looping conditions.

Integration with Serial Monitoring

The Serial Terminal module works independently from the serial monitoring module, allowing you to see the “low-level” of established serial terminal session. It may be useful to use both modules at the same time for a single serial device to solve a number of tasks, including the following:

Scripting Support

The Serial Terminal module exposes the fully scriptable object to be used by scripts running in the Device Monitoring Studio environment. Please consult to the Scripting section for more information on built-in scripting and to the Serial Terminal Object section for description of the interfaces, exposed by the Serial Terminal module.