LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

lxi

controls LXI compatible test equipment such as oscilloscopes, spectrum

TLDR

Find LXI instruments on the network
$ lxi discover
copy
Ask an instrument to identify itself
$ lxi scpi --address [192.168.1.50] "*IDN?"
copy
Send any SCPI command and print the reply
$ lxi scpi --address [192.168.1.50] "[MEASure:VOLTage:DC?]"
copy
Allow longer for a slow instrument to answer
$ lxi scpi --address [192.168.1.50] --timeout [5000] "*IDN?"
copy
Grab a screenshot, detecting the model automatically
$ lxi screenshot --address [192.168.1.50]
copy
Grab one using a named plugin, when detection guesses wrong
$ lxi screenshot --address [192.168.1.50] --plugin [rigol-1000z]
copy
Measure request and response latency
$ lxi benchmark --address [192.168.1.50]
copy

SYNOPSIS

lxi command [options]

DESCRIPTION

lxi controls LXI (LAN eXtensions for Instrumentation) compatible test equipment such as oscilloscopes, spectrum analyzers, multimeters, and other measurement instruments over Ethernet.LXI is an instrumentation standard that extends the GPIB/IEEE-488 interface over TCP/IP networks. The tool uses SCPI commands to communicate with instruments, allowing remote control, data acquisition, and automation of measurements.The screenshot feature supports various instrument brands through plugins, automatically detecting the appropriate capture method when possible.

PARAMETERS

discover

Scan the network for LXI-compatible instruments
screenshot
Capture a screenshot from an instrument's display
scpi
Send SCPI (Standard Commands for Programmable Instruments) commands
benchmark
Test communication performance with an instrument
-a, --address _ip_
Specify the IP address of the target instrument
-p, --plugin _name_
Use a specific screenshot plugin for the instrument model

INSTALL

sudo apt install lxi-tools
copy
sudo dnf install lxi-tools
copy
brew install lxi-tools
copy
nix profile install nixpkgs#lxi-tools
copy

CAVEATS

Requires network connectivity to LXI instruments. Discovery may not find instruments on different subnets. Screenshot plugins must match the instrument model for proper display capture. SCPI command syntax varies between manufacturers.

HISTORY

The lxi-tools project was created to provide open-source tools for communicating with LXI-compatible test equipment, supporting the LXI 1.4+ specification for network-based instrumentation.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid