Syntax
Arguments
| Argument | Description |
|---|---|
NETNAME | GPIO net name (optional if default is set) |
LEVEL | Output level (see below) |
Level Values
The following values are accepted (case-insensitive):| Value | Result |
|---|---|
high, on, 1 | Set pin high |
low, off, 0 | Set pin low |
toggle | Invert current state |
Options
| Option | Description |
|---|---|
--box BOX | Lagerbox name or IP address |
Usage
Supported Hardware
| Device | Pins | Voltage |
|---|---|---|
| LabJack T7 | FIO0-FIO7 | 3.3V logic |
Examples
Related Commands
lager gpi- Read GPIO input state
Notes
- GPO is for setting output pins only
- Use
lager gpito read input pins - Default net can be set with
lager defaults add --gpio-net - Pin must be configured as output in net configuration
- Toggle reads current state and inverts it

