Control logic analyzer Nets through the Lager CLI for digital signal capture, protocol decoding, and trigger configuration.
Rigol MSO5000 triggers. Channel control, capture, measurements, cursors, and the edge and SPI triggers work. The pulse, I2C and UART triggers are refused before anything reaches the scope: the command prints Error: a Rigol MSO5000 supports edge and SPI triggers through lager, not <type>. Nothing was changed on the scope. and exits 1.
Syntax
lager logic [OPTIONS] NET_NAME COMMAND [ARGS]...
Global Options
Option
Description
--box BOX
Lager Box name or IP address
--mcu MCU
Accepted by the capture and measure subcommands for older scripts. The box ignores it
--help
Show help message and exit
Commands
Command
Description
enable
Enable logic analyzer channel
disable
Disable logic analyzer channel
start
Start waveform capture
start-single
Start single waveform capture
stop
Stop waveform capture
measure
Measure signal characteristics
trigger
Configure trigger settings
cursor
Control cursor position
Exit Codes
A command that fails prints the error and exits 1. This includes a net name that is not a logic net, and an error from the box. A command that succeeds exits 0.
Command Reference
enable
Enable logic analyzer channel for the specified net.
If the logic analyzer of the scope is off, enable turns it on. It then shows the channel of the net and makes that channel active. The channel must be D0 to D15.
Set pulse trigger configuration. A Rigol MSO5000 refuses this trigger. See the note at the top of this page.
lager logic NET_NAME trigger pulse [OPTIONS]
Options:
--mode - Trigger mode
--coupling - Coupling mode
--source NET - Trigger source
--level FLOAT - Trigger level
--trigger-on - Trigger on: gt (a pulse wider than --upper), lt (a pulse narrower than --lower), or gtlt (a pulse between --lower and --upper). The condition does not select a polarity. Without the width it needs, the command changes no width condition and prints a note.
--upper FLOAT - Upper pulse width
--lower FLOAT - Lower pulse width
trigger i2c
Set I2C protocol trigger. A Rigol MSO5000 refuses this trigger. See the note at the top of this page.