Syntax
Global Options
| Option | Description |
|---|---|
--box BOX | Lagerbox name or IP address |
--help | Show help message and exit |
Commands
| Command | Description |
|---|---|
autoscale | Automatically adjust vertical scale and timebase (Rigol only) |
coupling | Set channel coupling mode (dc, ac, or gnd) |
cursor | Control scope cursor (Rigol only) |
disable | Disable oscilloscope channel |
enable | Enable oscilloscope channel |
force | Force trigger manually (bypass trigger condition) |
measure | Measure waveform characteristics (Rigol only) |
probe | Set probe attenuation ratio (1x, 10x, 100x, 1000x) |
scale | Set vertical scale (volts per division) |
start | Start waveform capture (continuous or single) |
stop | Stop waveform capture |
stream | Stream oscilloscope data (PicoScope) |
timebase | Set horizontal timebase (seconds per division) |
trigger | Configure trigger settings |
Command Reference
enable
Enable oscilloscope channel for the specified net.
disable
Disable oscilloscope channel.
start
Start waveform capture (continuous or single).
--single- Capture single waveform then stop (one-shot mode)
stop
Stop waveform capture.
autoscale
Automatically adjust vertical scale and horizontal timebase for optimal display (Rigol oscilloscopes only).
- Only supported on Rigol MSO5000 series
- Adjusts both vertical scale and timebase automatically
- Useful for quickly finding signals
coupling
Set the input coupling mode for the oscilloscope channel.
MODE- Coupling mode:dc,ac, orgnd
force
Force trigger manually, bypassing the trigger condition. Useful when the signal doesn’t meet trigger criteria.
probe
Set the probe attenuation ratio for accurate voltage measurements.
RATIO- Probe attenuation:1x,10x,100x, or1000x
scale
Set the vertical scale (volts per division) for the oscilloscope channel.
VOLTS_PER_DIV- Vertical scale in volts per division (float)
timebase
Set the horizontal timebase (seconds per division) for the oscilloscope.
SEC_PER_DIV- Horizontal timebase in seconds per division (float)
Measure Subcommands
Measure waveform characteristics (Rigol only - PicoScope uses streaming). Common Options for all measure commands:--display- Display measurement on screen--cursor- Enable measurement cursor
Time Measurements
measure period
Measure waveform period.
measure freq
Measure waveform frequency.
measure pulse-width-pos
Measure positive pulse width.
measure pulse-width-neg
Measure negative pulse width.
measure duty-cycle-pos
Measure positive duty cycle (percentage of time signal is high).
measure duty-cycle-neg
Measure negative duty cycle (percentage of time signal is low).
Voltage Measurements
measure vpp
Measure peak-to-peak voltage.
measure vmax
Measure maximum voltage.
measure vmin
Measure minimum voltage.
measure vavg
Measure average voltage.
measure vrms
Measure RMS (root mean square) voltage.
Trigger Subcommands
Configure trigger settings. Edge trigger works with both PicoScope and Rigol. Protocol triggers (I2C, SPI, UART) and pulse trigger are Rigol only.trigger edge
Set edge trigger configuration.
--mode- Trigger mode:normal,auto,single(default: normal)--coupling- Coupling mode:dc,ac,low_freq_rej,high_freq_rej(default: dc)--source NET- Trigger source net--slope- Trigger slope:rising,falling,both--level FLOAT- Trigger level in volts
trigger pulse
Set pulse width trigger (Rigol only). Triggers when pulse width meets specified conditions.
--mode- Trigger mode:normal,auto,single(default: normal)--coupling- Coupling mode:dc,ac,low_freq_rej,high_freq_rej(default: dc)--source NET- Trigger source net--level FLOAT- Trigger level in volts--trigger-on- Condition:positive,negative,positive_greater,negative_greater,positive_less,negative_less(default: positive)--upper FLOAT- Upper pulse width limit (seconds)--lower FLOAT- Lower pulse width limit (seconds)
trigger i2c
Set I2C protocol trigger (Rigol only). Triggers on I2C bus events.
--mode- Trigger mode:normal,auto,single(default: normal)--coupling- Coupling mode:dc,ac,low_freq_rej,high_freq_rej(default: dc)--source-scl NET- SCL source net--source-sda NET- SDA source net--level-scl FLOAT- SCL trigger level--level-sda FLOAT- SDA trigger level--trigger-on- Condition:start,restart,stop,ack_miss,address,data,addr_data(default: start)--address TEXT- I2C address (hex)--addr-width- Address width:7,8,10bits (default: 7)--data TEXT- Data pattern to match (hex)--data-width INT- Data width in bits (default: 8)--direction- Transfer direction:read,write,read_write(default: read_write)
trigger spi
Set SPI protocol trigger (Rigol only). Triggers on SPI bus events.
--mode- Trigger mode:normal,auto,single(default: normal)--coupling- Coupling mode:dc,ac,low_freq_rej,high_freq_rej(default: dc)--source-mosi-miso NET- MOSI/MISO source net--source-sck NET- SCK (clock) source net--source-cs NET- CS (chip select) source net--level-mosi-miso FLOAT- MOSI/MISO trigger level--level-sck FLOAT- SCK trigger level--level-cs FLOAT- CS trigger level--trigger-on- Condition:timeout,cs(default: cs)--data TEXT- Data pattern to match (hex)--data-width INT- Data width in bits (default: 8)--clk-slope- Clock edge:rising,falling(default: rising)--cs-idle- CS idle state:high,low(default: high)--timeout FLOAT- Timeout value in seconds
trigger uart
Set UART protocol trigger (Rigol only). Triggers on UART serial events.
--mode- Trigger mode:normal,auto,single(default: normal)--coupling- Coupling mode:dc,ac,low_freq_rej,high_freq_rej(default: dc)--source NET- Trigger source net--level FLOAT- Trigger level in volts--baud INT- Baud rate (default: 9600)--parity- Parity:none,even,odd(default: none)--stop-bits- Stop bits:1,1.5,2(default: 1)--data-width INT- Data width in bits (default: 8)--trigger-on- Condition:start,stop,data,error(default: start)--data TEXT- Data pattern to match (hex)
Cursor Subcommands
cursor set-a / cursor set-b
Set cursor A or B position.
cursor move-a / cursor move-b
Shift cursor position.
cursor hide
Hide the cursor.
Stream Subcommands (PicoScope)
stream start
Start oscilloscope streaming acquisition (PicoScope only).
--channel- Channel to enable:A,B,1,2(default: A)--volts-per-div- Volts per division (default: 1.0)--time-per-div- Time per division in seconds (default: 0.001)--trigger-level- Trigger level in volts (default: 0.0)--trigger-slope- Trigger slope:rising,falling,either(default: rising)--capture-mode- Capture mode:auto,normal,single(default: auto)--coupling- Input coupling:dc,ac(default: dc)
stream stop
Stop oscilloscope streaming acquisition.
stream status
Check oscilloscope streaming daemon status.
stream web
Open web browser for oscilloscope visualization.
--port- HTTP server port (default: 8080)
stream capture
Capture oscilloscope data to file.
--output- Output file path (default: scope_data.csv)--duration- Capture duration in seconds (default: 1.0)--samples- Number of samples to capture
stream config
Configure oscilloscope streaming settings.
--channel- Channel to configure--volts-per-div- Volts per division--time-per-div- Time per division--trigger-level- Trigger level--trigger-source- Trigger source channel--trigger-slope- Trigger slope--capture-mode- Capture mode--coupling- Input coupling--enable/--disable- Enable or disable channel
Examples
Basic Capture
Channel Configuration
Measurements
Triggering
PicoScope Streaming
Supported Hardware
| Manufacturer | Model Series | Features |
|---|---|---|
| Rigol | MSO5000 | Multi-channel, mixed-signal |
| PicoScope | Various | Streaming support |
Notes
- Net names refer to names assigned when setting up your testbed
- Streaming commands are only supported for PicoScope devices
- Web visualization requires port 8080 to be accessible
- Use
lager netsto see available scope nets

