Syntax
Global Options
| Option | Description |
|---|---|
--box TEXT | Lagerbox name or IP address |
--help | Show help message and exit |
Commands
| Command | Description |
|---|---|
| (none) | List all saved nets (default) |
delete | Delete a specific net by name and type |
delete-all | Delete all saved nets (dangerous) |
rename | Rename an existing net |
create | Create a new net |
create-all | Auto-create all available nets from connected instruments |
create-batch | Create multiple nets from a JSON file |
tui | Launch interactive Net Manager TUI |
Command Reference
List Nets (Default)
List all saved nets on a Lager Box. This is the default behavior when no subcommand is provided.| Column | Description |
|---|---|
Name | User-friendly net identifier |
Net Type | Role/type of net (supply, debug, adc, gpio, etc.) |
Instrument | Physical equipment (Rigol_DP811, Keithley_2281S, etc.) |
Channel | Specific channel on the instrument |
Address | VISA or USB address of the instrument |
create
Create a new net by specifying its name, type, channel, and instrument address.
NAME- Unique name for the net (e.g.,supply1,debug_main)ROLE- Type of net:supply,batt,solar,debug,adc,dac,gpio,scope,eload,uart,usb,camera,arm,watt-meter,thermocoupleCHANNEL- Channel identifier (e.g.,1,AIN0,FIO0,STM32F4)ADDRESS- VISA address or device path (e.g.,TCPIP::192.168.1.100::INSTR)
--box TEXT- Lagerbox name or IP
- Net names must be globally unique across all types
- The (role, instrument, channel, address) tuple must match a connected instrument
- Only one net per channel is allowed for most instruments
- Debug probes (J-Link) allow only one net per instrument/address
create-all
Automatically create nets for all available channels on all connected instruments. This is useful for quickly setting up a new Lager Box.
--box TEXT- Lagerbox name or IP--yes- Skip confirmation prompt
create-batch
Create multiple nets from a JSON file for efficient bulk setup.
JSON_FILE- Path to JSON file containing net definitions
--box TEXT- Lagerbox name or IP
delete
Delete a specific net by its name and type.
NAME- Name of the net to deleteNET_TYPE- Type of the net (supply, debug, adc, etc.)
--box TEXT- Lagerbox name or IP--yes- Skip confirmation prompt
delete-all
Delete all saved nets on a Lager Box. This is a dangerous operation.
--box TEXT- Lagerbox name or IP--yes- Skip confirmation prompt
rename
Rename an existing net.
NAME- Current name of the netNEW_NAME- New name for the net (must be unique)
--box TEXT- Lagerbox name or IP
tui
Launch an interactive terminal-based UI for managing nets. The TUI provides a visual interface for viewing, creating, and deleting nets.
--box TEXT- Lagerbox name or IP
- Browse all connected instruments and their channels
- Create new nets with guided prompts
- Delete existing nets
- View net details and instrument information
- Keyboard navigation
Net Types Reference
| Net Type | Description | Typical Instruments |
|---|---|---|
supply | Power supply output | Rigol DP800, Keithley 2200/2280, Keysight E36200 |
batt | Battery simulator | Keithley 2281S |
solar | Solar simulator | EA PSI/EL series |
eload | Electronic load | Rigol DL3021 |
debug | Debug probe | J-Link, CMSIS-DAP, ST-Link |
adc | Analog input | LabJack T7 |
dac | Analog output | LabJack T7 |
gpio | Digital I/O | LabJack T7 |
scope | Oscilloscope | Rigol MSO5000, PicoScope |
uart | Serial port | Prolific USB, SiLabs CP210x |
usb | USB port control | Acroname hub, YKUSH |
camera | Video capture | Logitech BRIO |
arm | Robot arm | Rotrics Dexarm |
watt-meter | Power measurement | Yocto Watt |
thermocouple | Temperature sensor | Phidget thermocouples |
Examples
Notes
- Net names are globally unique regardless of type
- Use
lager instruments --box <lager-box>to see available instruments and channels - The TUI provides the easiest way to set up nets for the first time
- Use
create-allto quickly configure a new Lager Box with sensible defaults

