Back to Serial Studio

Command-Line Interface

doc/help/Command-Line-Interface.md

4.0.14.9 KB
Original Source

Command-Line Interface

Serial Studio accepts command-line arguments for automation, headless operation, and benchmarking. Pass --help to print the full list, or --version to print the version and exit.

serial-studio [options]

Options marked (Pro) are available only in commercial builds.

General

OptionArgumentDescription
-v, --versionPrint the application version and exit.
-r, --resetReset all application settings.
-f, --fullscreenLaunch the dashboard in fullscreen.
--headlessRun without a GUI (headless / server mode).
--api-serverEnable the API server on startup (port 7777).
--dump-api-schemafileWrite the API command registry (name, description, parameter schema per command) to a JSON file and exit. Input for SDK generators.
-p, --projectfileLoad the specified project file.
-q, --quick-plotEnable quick-plot mode (auto-detect CSV data).
-t, --fpsHzSet the visualization refresh rate.
-n, --pointscountSet the number of data points per plot.

Data Sources

OptionArgumentDescription
--uartportSerial port (e.g. /dev/ttyUSB0, COM3).
--baudrateSerial baud rate (default 9600).
--tcphost:portConnect to a TCP server.
--udpportBind to a local UDP port.
--udp-remotehost:portUDP remote target.
--udp-multicastEnable multicast mode for UDP.

Hotpath Benchmark

OptionArgumentDescription
--benchmark-hotpathRun the in-process frame-extraction throughput benchmark and exit.
--min-fpsfpsMinimum frames/sec the benchmark must sustain (default 256000).
--benchmark-framescountFrames to push through the benchmark (default 1000000).
--benchmark-secondssecondsWall-clock seconds the benchmark must sustain (default 10).
--benchmark-outputfileFile the benchmark report is written to (default: stdout only, no file).

Passing any of --min-fps, --benchmark-frames, or --benchmark-seconds also runs the benchmark; --benchmark-hotpath alone uses the defaults shown above.

This is the headless form used in CI and deployment gating. For the interactive version with a per-phase results table, run it from the GUI via About > Benchmark; see the Benchmark Dialog. Both run the same HotpathBenchmark engine over the same pipeline.

Operator & Export (Pro)

OptionArgumentDescription
--no-toolbarHide the main window toolbar at startup.
--runtimeOperator runtime mode: hide toolbar, quit on disconnect.
--shortcut-pathpathPath of the shortcut that launched the process.
--csv-exportEnable CSV export on startup.
--mdf-exportEnable MDF4 export on startup.
--session-exportEnable session database export on startup.
--console-exportEnable console log export on startup.
--actions-panelShow the actions panel in operator runtime mode.
--file-transmissionAllow the File Transmission dialog in operator runtime mode.
--taskbar-modemodeOperator taskbar visibility: shown, autohide, or hidden.
--taskbar-buttonsidsComma-separated taskbar pin IDs for operator mode.
--themenameOverride the application theme by name (e.g. Default, Fluent Dark, Fluent Light, System).

Licensing (Pro)

OptionArgumentDescription
--activatekeyActivate a license key and exit.
--deactivateDeactivate the current license instance and exit.

Modbus (Pro)

OptionArgumentDescription
--modbus-rtuportConnect to a Modbus RTU device.
--modbus-tcphost[:port]Connect to a Modbus TCP server (port defaults to 502).
--modbus-slaveaddressSlave address (1-247, default 1).
--modbus-pollintervalPoll interval in ms (50-60000, default 100).
--modbus-baudrateRTU baud rate (default 9600).
--modbus-paritytypeRTU parity: none, even, odd, space, mark (default none).
--modbus-databitsbitsRTU data bits: 5, 6, 7, 8 (default 8).
--modbus-stopbitsbitsRTU stop bits: 1, 1.5, 2 (default 1).
--modbus-registerspecAdd a register group type:start:count; type is holding, input, coils, or discrete; start 0-65535, count 1-125 (repeatable).

CAN Bus (Pro)

OptionArgumentDescription
--canbusplugin:interfaceConnect to a CAN bus (e.g. socketcan:can0, peakcan:pcan0).
--canbus-bitraterateCAN bus bitrate in bps (default 500000).
--canbus-fdEnable CAN-FD mode.