Skip to main content
Discover and list all test instruments connected to a Lagerbox.

Syntax

lager instruments [OPTIONS]

Options

OptionDescription
--box BOXLagerbox name or IP address

Usage

# List instruments on default Lager Box
lager instruments

# List instruments on specific Lager Box
lager instruments --box lab-lager-box

Output

The command displays a table of connected instruments:
┌─────────────────────────┬──────────┬────────────────────────────────┐
│ Instrument              │ Channels │ Address                        │
├─────────────────────────┼──────────┼────────────────────────────────┤
│ Rigol_DP832             │ CH1,CH2  │ USB0::0x1AB1::0x0E11::DP8...   │
│ Rigol_MSO5074           │ 1,2,3,4  │ USB0::0x1AB1::0x0515::MS5...   │
│ Keithley_2281S          │ -        │ USB0::0x05E6::0x2281::912...   │
│ LabJack_T7              │ AIN0-13  │ T7-12345678                    │
│ FTDI_USB_Serial         │ uart     │ /dev/ttyUSB0 (A12BC3...)       │
│ Acroname_8Port          │ 1-8      │ USB-HUB-SERIAL                 │
└─────────────────────────┴──────────┴────────────────────────────────┘

Instrument Types

The following instrument types are automatically detected:

Power Supplies

  • Rigol DP800 series (DP811, DP821, DP832)
  • Keysight E36200/E36300 series
  • Keithley 2200/2280 series
  • EA PSB series

Oscilloscopes

  • Rigol MSO5000 series
  • PicoScope

Battery/Solar Simulators

  • Keithley 2281S
  • EA PSI/EL series

Electronic Loads

  • Rigol DL3000 series

Data Acquisition

  • LabJack T7 (ADC, DAC, GPIO)
  • Phidget thermocouples
  • Yocto watt meters

USB Hubs

  • Acroname (4-port, 8-port)
  • YKUSH

Debug Probes

  • Segger J-Link
  • CMSIS-DAP
  • ST-Link

Serial Adapters

  • FTDI USB-to-serial

Multiple Device Warning

The command warns if multiple instances of multi-hub devices are detected:
⚠ Warning: Multiple LabJack_T7 devices detected.
  Consider using net configuration to specify which device to use.
This applies to:
  • LabJack_T7
  • Acroname_8Port
  • Acroname_4Port

Address Formats

Different instruments use different address formats:
TypeFormatExample
VISAUSB resourceUSB0::0x1AB1::0x0E11::DP8...
LabJackSerial numberT7-12345678
UARTDevice path/dev/ttyUSB0
USB HubSerialUSB-HUB-SERIAL
Long UART serial numbers are truncated to 10 characters for readability.

Examples

# Check what instruments are connected
lager instruments --box lab-lager-box

# Use with nets command to configure
lager instruments --box lab-lager-box
lager nets --box lab-lager-box  # Then configure nets for discovered instruments

Notes

  • Instruments must be connected via USB to the Lager Box
  • Some instruments require specific drivers (udev rules)
  • Run lager update to install latest udev rules
  • Use lager nets to configure how instruments are used