Scroll to navigation

lxi(1) User Commands lxi(1)

NAME

lxi - a tool for managing LXI compatible instruments.

SYNOPSIS

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

DESCRIPTION

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

OPTIONS

Display help

Display program version

COMMANDS

discover [<options>]

Search available networks for LXI devices

scpi [<options>] <scpi-command>

Send SCPI command

screenshot [<options>] [<filename>]

Capture screenshot

benchmark [<options>]

Benchmark

run <filename>

Run Lua script

DISCOVER OPTIONS

Timeout in seconds

Search via mDNS/DNS-SD

SCPI OPTIONS

IP address of LXI device

Use port

Timeout in seconds

Print response in hexadecimal

Enter interactive mode

Use raw/TCP protocol

SCREENSHOT OPTIONS

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

BENCHMARK OPTIONS

IP address of LXI device

Use port

Timeout in seconds

Number of request messages

Use raw/TCP protocol

EXAMPLES

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.

WEBSITE

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

AUTHOR

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

2023-02-21 lxi-tools 2.7