Syntax
Arguments
| Argument | Description |
|---|---|
NET | Name of the ADC net to read (optional if default is set) |
Options
| Option | Description |
|---|---|
--box TEXT | Lagerbox name or IP address |
--help | Show help message and exit |
Usage
Read ADC Value
Read voltage from an ADC net:List ADC Nets
When invoked without a net name (and no default is set), lists all available ADC nets:Examples
Scripting Example
Use ADC readings in shell scripts:Supported Hardware
| Manufacturer | Model | Description |
|---|---|---|
| LabJack | T7 | Multi-channel ADC (AIN0-AIN13) |
Notes
- Results are returned in volts
- ADC nets must be configured before use with
lager nets create <name> adc <channel> <address> - Default net can be set with
lager defaults add --adc-net - Pin names depend on the hardware (e.g., AIN0, AIN1 for LabJack)
- Use this for monitoring analog signals like voltage, current, and temperature sensors

