Syntax
Arguments
| Argument | Description |
|---|---|
NETNAME | GPIO net name (optional if default is set) |
Options
| Option | Description |
|---|---|
--box BOX | Lagerbox name or IP address |
Usage
Output
Returns the digital state:0- Low (0V)1- High (3.3V or 5V depending on hardware)
Supported Hardware
| Device | Pins | Voltage |
|---|---|---|
| LabJack T7 | FIO0-FIO7 | 3.3V logic |
Examples
Related Commands
lager gpo- Set GPIO output level
Notes
- GPI is for reading input pins only
- Use
lager gpoto set output pins - Default net can be set with
lager defaults add --gpio-net - Pin must be configured as input in net configuration

