Skip to main content
Control and monitor power supply Nets through the Lager CLI.

Syntax

lager supply [OPTIONS] NET_NAME COMMAND [ARGS]...

Global Options

OptionDescription
--box TEXTLagerbox name or IP address
--helpShow help message and exit

Commands

CommandDescription
voltageSet output voltage and protection thresholds
currentSet output current and protection thresholds
enableEnable power output
disableDisable power output
stateShow current power state
clear-ovpClear over-voltage protection fault
clear-ocpClear over-current protection fault
setSet power supply mode
tuiLaunch interactive terminal UI

Command Reference

voltage

Set output voltage and protection thresholds.
lager supply NET_NAME voltage [VALUE] [--ovp OVP] [--ocp OCP] [--yes]
Arguments:
  • NET_NAME - Name of the supply Net to control
  • VALUE - Voltage value in volts
Options:
  • --ovp OVP - Over-voltage protection threshold (volts)
  • --ocp OCP - Over-current protection threshold (amps)
  • --yes - Apply without confirmation prompt

current

Set output current and protection thresholds.
lager supply NET_NAME current [VALUE] [--ovp OVP] [--ocp OCP] [--yes]
Arguments:
  • NET_NAME - Name of the supply Net to control
  • VALUE - Current value in amps
Options:
  • --ovp OVP - Over-voltage protection threshold (volts)
  • --ocp OCP - Over-current protection threshold (amps)
  • --yes - Apply without confirmation prompt

enable

Enable power output to DUT.
lager supply NET_NAME enable
Arguments:
  • NET_NAME - Name of the supply Net to enable

disable

Disable power output.
lager supply NET_NAME disable
Arguments:
  • NET_NAME - Name of the supply Net to disable

state

Show current power supply state.
lager supply NET_NAME state
Arguments:
  • NET_NAME - Name of the supply Net to inspect

clear-ovp

Clear over-voltage protection fault.
lager supply NET_NAME clear-ovp
Arguments:
  • NET_NAME - Name of the supply Net with OVP fault

clear-ocp

Clear over-current protection fault.
lager supply NET_NAME clear-ocp
Arguments:
  • NET_NAME - Name of the supply Net with OCP fault

set

Set power supply mode.
lager supply NET_NAME set [OPTIONS]
Arguments:
  • NET_NAME - Name of the supply Net to configure

tui

Launch interactive terminal UI for real-time monitoring.
lager supply NET_NAME tui
Arguments:
  • NET_NAME - Name of the supply Net to monitor

Examples

# Set voltage with protection thresholds
lager supply POWER voltage 3.3 --ovp 3.6 --ocp 0.5

# Set current limit
lager supply POWER current 1.0 --ocp 1.2

# Enable power output
lager supply POWER enable

# Check power state
lager supply POWER state

# Clear protection faults
lager supply POWER clear-ovp
lager supply POWER clear-ocp

# Launch interactive UI
lager supply POWER tui

Notes

  • Net names (e.g., POWER) refer to names assigned when setting up your testbed
  • Use --yes flag to skip confirmation prompts
  • TUI provides real-time voltage/current monitoring and quick controls
  • Protection thresholds help prevent damage to your DUT