Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.lagerdata.com/llms.txt

Use this file to discover all available pages before exploring further.

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                    β”‚
β”‚ MCC_USB202              β”‚ CH0-7,DAC0-1,DIO0-7 β”‚ USB::9999::USB202       β”‚
β”‚ 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)
  • MCC USB-202 (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...
MCC USBUSB resourceUSB::9999::USB202
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

Troubleshooting

IssueCauseFix
No instruments listedUSB cables disconnected, or Docker not runningCheck physical USB connections. Run lager hello --box <box> to verify the service is running.
Specific instrument missingInstrument needs power, USB re-seat, or updated udev rulesUnplug and replug the USB cable. Ensure the instrument is powered on. Run lager update --box <box> for latest drivers.
”Multiple devices detected” warningMore than one of the same instrument type connectedThis is informational. Use net configuration to specify which device to use for each net.

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

See Also

  • Nets β€” Configure logical names for your instruments
  • Setting Up Instruments β€” Getting started guide for instrument setup