Syntax
Global Options
Commands
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.
enable turns it on. It then shows the channel of the net and makes that channel active. The channel must be D0 to D15.
disable
Disable logic analyzer channel.
disable hides the channel of the net. When no digital channel stays shown, disable also turns off the logic analyzer.
start
Start continuous waveform capture.
start-single
Start single waveform capture (one-shot).
stop
Stop waveform capture.
Measure Subcommands
measure period
Measure signal period.
measure freq
Measure signal frequency.
measure dc-pos / measure dc-neg
Measure positive or negative duty cycle.
measure pw-pos / measure pw-neg
Measure positive or negative pulse width.
Trigger Subcommands
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 trigger configuration. On the Rigol MSO5000, this trigger does not work yet. See the limitations at the top of this page.
--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), orgtlt(a pulse between--lowerand--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. On the Rigol MSO5000, the options that configure this trigger do not work yet. See the limitations at the top of this page.
--mode- Trigger mode--coupling- Coupling mode--source-scl NET- SCL trigger source--source-sda NET- SDA trigger source--level-scl FLOAT- SCL trigger level--level-sda FLOAT- SDA trigger level--trigger-on- Trigger on:start,restart,stop,nack,address,data,addr_data--address INT- Address value (for address trigger), as a decimal integer. The maximum is 127 for a 7-bit address, 255 for 8-bit, and 1023 for 10-bit.--addr-width- Address width:7,8or10bits--data INT- Data value (for data trigger), as a decimal integer--data-width- Data width:1-5bytes--direction- Direction:write,read,rw
trigger uart
Set UART protocol trigger. On the Rigol MSO5000, the options that configure this trigger do not work yet. See the limitations at the top of this page.
--mode- Trigger mode--coupling- Coupling mode--source NET- Trigger source--level FLOAT- Trigger level--trigger-on- Trigger on:start,error(a framing error),cerror(a parity error),data--parity- Parity:even,odd,none--stop-bits- Stop bits:1,1.5,2--baud INT- Baud rate (110 to 20000000)--data-width INT- Data width in bits:5to8--data INT- Data value to trigger on, as a decimal integer
trigger spi
Set SPI protocol trigger.
--mode- Trigger mode--coupling- Coupling mode--source-mosi-miso NET- MOSI/MISO source--source-sck NET- SCK source--source-cs NET- CS source--level-mosi-miso FLOAT- MOSI/MISO level--level-sck FLOAT- SCK level--level-cs FLOAT- CS level--data INT- Trigger data value, as a decimal integer. The maximum is 2^width − 1.--data-width INT- Data width in bits:4to32--clk-slope- Clock slope:positive,negative--trigger-on- Trigger on:timeout,cs--cs-idle- CS idle state:high,low. With--trigger-on cs,hightriggers while CS is low, andlowtriggers while CS is high.--timeout FLOAT- Timeout length.--trigger-on timeoutchanges nothing unless you also give--timeout.
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.
Examples
Supported Hardware
Notes
- Logic nets capture digital signals (high/low states)
- Protocol triggers (I2C, UART, SPI) require proper level configuration
- Use
lager netsto see available logic nets - Analog and Logic nets can be combined for mixed-signal analysis
- Integer options such as
--addressand--datatake decimal values. A hex string such as0x50is refused.

