DOKK / manpages / debian 11 / lxi-tools / lxi.1.en
lxi(1) General Commands Manual lxi(1)

lxi - a tool for controlling LXI compatible instruments.

lxi [--help] [--version] <command> [<args>]

lxi is a commandline tool for controlling LXI compatible instruments such as modern oscilloscopes, power supplies, spectrum analyzers, etc.

Display help

Display program version

discover [<options>]

Search available networks for LXI devices

scpi [<options>] <SCPI-command>

Send SCPI command

screenshot [<options>] [<filename>]

Capture screenshot

benchmark [<options>]

Benchmark

run [<options>] <filename>

Run Lua script

Timeout in seconds

Search via mDNS/DNS-SD

IP address of LXI device

Use port

Timeout in seconds

Print response in hexadecimal

Enter interactive mode

Run script (plain text file with one SCPI command per line)

Use raw/TCP protocol

IP address of LXI device

Timeout in seconds

Use screenshot plugin by name

If this option is omitted the tool will automatically try to select the most suitable plugin.

List available screenshot plugins

IP address of LXI device

Use port

Timeout in seconds

Number of request messages

Use raw/TCP protocol

Timeout in seconds

lxi discover

lxi discover --mdns

lxi scpi --address 10.0.0.42 "*IDN?"

lxi scpi --address 10.0.0.42 "*IDN?" > response.txt

lxi screenshot --address 10.0.0.42 --plugin rigol-1000z

Or by using screenshot plugin autodetection simply:

lxi screenshot --address 10.0.0.42

Note: Some LXI devices are slow to process SCPI commands, in which case you might need to take care to increase the timeout value.

Visit https://lxi-tools.github.io

Written by Martin Lund <martin.lund@keep-it-simple.com>

March 2018