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.
lager instruments [OPTIONS]
Options
| Option | Description |
|---|
--box BOX | Lagerbox name or IP address |
# List instruments on default Lager Box
lager instruments
# List instruments on specific Lager Box
lager instruments --box lab-lager-box
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
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
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
Different instruments use different address formats:
| Type | Format | Example |
|---|
| VISA | USB resource | USB0::0x1AB1::0x0E11::DP8... |
| MCC USB | USB resource | USB::9999::USB202 |
| LabJack | Serial number | T7-12345678 |
| UART | Device path | /dev/ttyUSB0 |
| USB Hub | Serial | USB-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
| Issue | Cause | Fix |
|---|
| No instruments listed | USB cables disconnected, or Docker not running | Check physical USB connections. Run lager hello --box <box> to verify the service is running. |
| Specific instrument missing | Instrument needs power, USB re-seat, or updated udev rules | Unplug and replug the USB cable. Ensure the instrument is powered on. Run lager update --box <box> for latest drivers. |
| βMultiple devices detectedβ warning | More than one of the same instrument type connected | This is informational. Use net configuration to specify which device to use for each net. |
- 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