Serial / UART
The serial plugin opens a port, reads lines of delimited numbers and maps each column to a signal. A microcontroller printing one line per sample is enough. It is the only plugin where you do not need a signal file: the device names its own columns.
Several serial interfaces can run in one session, on different ports.
Config fields
Section titled “Config fields”| Field | Type | Default | Options |
|---|---|---|---|
| Serial Port | combo | first detected port | The ports present on the machine, refreshed when the form opens |
| Baud Rate | combo | 115200 | 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600 |
| Data Bits | combo | 8 | 5, 6, 7, 8 |
| Parity | combo | None | None, Even, Odd, Space, Mark |
| Stop Bits | combo | 1 | 1, 1.5, 2 |
| Flow Control | combo | None | None, RTS/CTS, XON/XOFF |
| Delimiter | combo | Auto | Auto, Comma, Semicolon, Tab, Whitespace, Custom |
| Custom Delimiter | text | empty | Shown only when Delimiter is Custom |
If the list shows (no ports found), no serial device was detected. Plug it in and reopen the
interface to rebuild the list.

The device describes its own signals
Section titled “The device describes its own signals”Plug in the device and press Connect. Nothing needs configuring first.
- If the first line is a header row, such as
time,rpm,temp, it becomes the signal list: one signal per column, in order, with the header’s names. - Without a header, the columns are named
Channel 1,Channel 2… from the first data line.
The discovered signals are saved with the session, so next time your dashboard is already wired up.
A line of all-text fields is treated as a header and skipped, so a device that reprints its header every hundred lines is fine.
A signal file is optional, and additive
Section titled “A signal file is optional, and additive”Loading one does two things:
- It adds what the wire cannot say. Where a name in the file matches a device column, the
file’s unit, description, range and type apply.
rpmbecomes Engine speed, 0–8000 rpm on your gauge. Matching ignores case and surrounding spaces. - It checks the device against what you expected and reports every disagreement.
The device always decides how many columns there are and their order.
When names match, the file’s spelling is kept. If you wrote Engine RPM, widgets and .vlog
columns use that, not the device’s rpm.
What you are told
Section titled “What you are told”| Situation | Severity | What it says |
|---|---|---|
| No file loaded | Info | How many signals were discovered and that units and ranges default to 0–100 |
| Device sends a column the file does not describe | Warning | Names them; they are added with default units and range |
| File has a signal no column matches | Warning | Names them; they will receive no data |
| Same names, different order | Info | The device’s order is used |
| A header field is blank | Warning | Listed as Channel N |
| Two columns share a name | Warning | The repeats are numbered, so every column keeps its own signal |
At most five names are listed per message, then “…and N more”.
Delimiters
Section titled “Delimiters”Auto is the default. It works out the separator from the first readable line, tells you which it picked, and keeps it for the rest of the connection:
Delimiter detected: comma. Every line is split the same way for the rest of this connection.
Auto tries comma, semicolon, tab and whitespace, in that order. A run of spaces and tabs counts as one separator, so tab- and space-separated instruments just work.
When the column count is known, from a header or a loaded signal file, Auto picks the candidate
that matches it instead of the widest split. That handles a decimal-comma locale: 1,5 2,5
for two signals gives three fields on comma and two on whitespace, and only the expected count
tells them apart. With no header and no file, Auto takes the widest split, so set the delimiter
explicitly for a decimal-comma device without a header.
Pick Custom to type your own separator. Backslash escapes work, so \t is a tab. An empty
custom value falls back to Auto.
The expected line format
Section titled “The expected line format”One sample per line, values separated by the delimiter, ending in \n, \r\n or \r.
23.4,1450,1,0- Values are decimal ASCII, with
.as the decimal separator unless your delimiter is something other than a comma. - Booleans are numbers:
0or1. - Whitespace around a value is ignored.
Position decides the mapping
Section titled “Position decides the mapping”Serial signals have no addressing fields. The Nth value on the line goes to the Nth signal, in the device’s column order.
Two strict rules stop a short line from putting plausible data on the wrong channels:
- The field count must equal the column count. Any other line is rejected whole.
- A value that is not a number rejects the whole line. There are no half-samples.
Both are counted and explained:
line has 5 field(s) but 4 column(s) are expected - check the delimiter and the signal listfield 3 is not a number: "n/a"The first of each is shown at once and the rest are summarized. Rejected lines still appear in the raw console.
Connection states
Section titled “Connection states”An open port does not mean the device is sending, so the states are:
| State | Means |
|---|---|
| Waiting for data… | The port is open. No line has been parsed yet |
| Connected | Lines are arriving and being read |
| Not receiving data! | No line has been parsed for three seconds |
| Connection failed… | The port could not be opened |
Pressing Connect on a connected interface reopens the port with the current settings. Use it to apply a new baud rate or delimiter without disconnecting.
A recoverable error, such as a framing or parity glitch on one byte, is reported but keeps the connection. Only a real failure, such as an unplugged device or a lost port, disconnects.
Example
Section titled “Example”For the device output:
MotorTemp,MotorRpm,MotorRunning,OverTempAlarm23.4,1450,1,0VizuaLog builds four signals by itself. To add units and ranges, load a file with matching names:
{ "dataSignals": [ { "name": "MotorTemp", "unit": "°C", "dataType": "float32", "minValue": 0, "maxValue": 150 }, { "name": "MotorRpm", "unit": "rpm", "dataType": "uint16", "minValue": 0, "maxValue": 3000 }, { "name": "MotorRunning", "dataType": "bool" }, { "name": "OverTempAlarm", "dataType": "bool" } ]}dataType is required in a signal file, but on serial it is advisory: values arrive as text
and are parsed the same either way. The type decides how the value is displayed and recorded. See
Types.
Limitations
Section titled “Limitations”- A header that changes mid-connection is reported, not applied, because a
.vlogfixes its column order when created. Disconnect and reconnect to pick up a new layout. - A device that never sends a line ending, usually from a wrong baud rate or binary output, fills a buffer capped at 64 KB. The buffer is then discarded with a warning naming the likely cause. The cap only applies to data with no line ending at all, so a large burst of good lines is never thrown away.
Troubleshooting
Section titled “Troubleshooting”| Symptom | Where to look |
|---|---|
| The port is not in the list | The device is not connected, or its driver is not installed. Reopen the interface to rebuild the list |
| Stuck on Waiting for data… | Wrong baud rate is the usual cause. Open the raw console: garbled characters mean the line settings are wrong, no characters mean nothing is arriving |
| Lines arrive but nothing updates | Read the message: it names the field count it got and the column count it expected. Usually the delimiter, or a line the device truncated |
| Columns came out in the wrong order | The device’s order wins. Check the header it sent in the raw console |
| Values are 10× off, or truncated | A decimal comma instead of a decimal point. Set Delimiter explicitly rather than leaving it on Auto |
Signals are named Channel 1, Channel 2… | The device sent no header. Load a signal file, or rename them in the app |
| Port opens on one machine, not another | On Linux the user needs access to the port (typically the dialout group); a port already open in another program cannot be opened twice |
All of these messages are kept in full in the event log after the toast has gone.