lxi(1)
๐ lxi(1) โ bestie's guide to the lxi command ๐
okay so real talk: this is the manual page for lxi, a User Commands situation, and it's literally your group chat with every LXI instrument you own. pull up a chair ๐ซถ
โจ 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. no cap, it's giving lab-bench main character energy โจ
๐ OPTIONS ๐
-h,--helpโ Display help. when you're lost, she's got you ๐ฅบ-v,--versionโ Display program version. the "who even am i" button ๐
๐ COMMANDS ๐
discover [<options>]โ Search available networks for LXI devices. it's giving detective ๐ต๏ธโโ๏ธscpi [<options>] <scpi-command>โ Send SCPI command. say it with your chest ๐ฌscreenshot [<options>] [<filename>]โ Capture screenshot. ๐ธbenchmark [<options>]โ Benchmark. let's see what you're working with ๐run <filename>โ Run Lua script. ๐ง
๐ DISCOVER OPTIONS ๐
-t,--timeout <seconds>โ Timeout in seconds. patience is a virtue bestie โณ-m,--mdnsโ Search via mDNS/DNS-SD. the fancy discovery route โจ
๐ฅ SCPI OPTIONS ๐ฅ
-a,--address <ip>โ IP address of LXI device. who are we talking to ๐-p,--portโ Use port.-t,--timeout <seconds>โ Timeout in seconds. โณ-x,--hexโ Print response in hexadecimal. nerd mode activated ๐งฎ-i,--interactiveโ Enter interactive mode. she wants a conversation ๐ฌ-r,--rawโ Use raw/TCP protocol. no filter, just vibes ๐
๐ SCREENSHOT OPTIONS ๐
-a,--address <ip>โ IP address of LXI device.-t,--timeout <seconds>โ Timeout in seconds. โณ-p,--plugin <name>โ Use screenshot plugin by name. pick your fighter ๐- If this option is omitted the tool will automatically try to select the most suitable plugin. she'll choose for you, trust ๐ค
-l,--listโ List available screenshot plugins. the menu ๐
To write screenshot image to stdout simply use '-' as the output filename. yes literally a dash, iconic behavior
โญ BENCHMARK OPTIONS โญ
-a,--address <ip>โ IP address of LXI device.-p,--portโ Use port.-t,--timeout <seconds>โ Timeout in seconds. โณ-c,--count <count>โ Number of request messages. how many times we goin' ๐-r,--rawโ Use raw/TCP protocol. ๐
๐ง EXAMPLES ๐ง
Search for LXI instruments:
lxi discover
Search for LXI instruments using mDNS/DNS-SD:
lxi discover --mdns
Send SCPI command:
lxi scpi --address 10.0.0.42 "*IDN?"
Send SCPI command and dump response to file:
lxi scpi --address 10.0.0.42 "*IDN?" > response.txt
Capture screenshot from a Rigol 1000Z series oscilloscope:
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. fr fr, don't blame the tool, blame the instrument ๐ญ
๐ซถ WEBSITE ๐ซถ
Visit https://lxi-tools.github.io โ go say hi, she's lovely ๐
๐ AUTHOR ๐
Written by Martin Lund <martin.lund@keep-it-simple.com>
and that's the whole page bestie ๐ this one shipped as part of lxi-tools, dated 2024-11-30, and it lives in section lxi(1) of the manual. mwah ๐ slay, go talk to your oscilloscope ๐ฆโจ
๐ฆ where this page comes from
- debian trixie: lxi-tools 2.8-1 ยท BSD-3
- nixos 26.05: lxi-tools 2.8
- nixpkgs unstable: lxi-tools 2.8
- ubuntu questing: lxi-tools 2.8-1
- ubuntu resolute: lxi-tools 2.8-1build1 ยท BSD-3
- ubuntu stonking: lxi-tools 2.8-2 ยท BSD-3
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms