Skip to main content
Control logic analyzer Nets through the Lager CLI for digital signal capture, protocol decoding, and trigger configuration.
Not Yet Available: The Logic Analyzer feature for Rigol MSO5000 series is currently under development. The commands below are documented for preview purposes only. The underlying device methods are not yet implemented and the CLI command is disabled. Attempting to use these commands will result in an error. Check back in a future release for full functionality.

Syntax

Global Options

Commands

Command Reference

enable

Enable logic analyzer channel for the specified net.

disable

Disable logic analyzer channel.

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.
Options:
  • --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.
Options:
  • --mode - Trigger mode
  • --coupling - Coupling mode
  • --source NET - Trigger source
  • --level FLOAT - Trigger level
  • --trigger-on - Trigger on: gt, lt, gtlt
  • --upper FLOAT - Upper pulse width
  • --lower FLOAT - Lower pulse width

trigger i2c

Set I2C protocol trigger.
Options:
  • --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)
  • --addr-width - Address width: 7, 8, 9, 10 bits
  • --data INT - Data value (for data trigger)
  • --data-width - Data width: 1-5 bytes
  • --direction - Direction: write, read, rw

trigger uart

Set UART protocol trigger.
Options:
  • --mode - Trigger mode
  • --coupling - Coupling mode
  • --source NET - Trigger source
  • --level FLOAT - Trigger level
  • --trigger-on - Trigger on: start, error, cerror, data
  • --parity - Parity: even, odd, none
  • --stop-bits - Stop bits: 1, 1.5, 2
  • --baud INT - Baud rate
  • --data-width INT - Data width in bits
  • --data INT - Data value to trigger on

trigger spi

Set SPI protocol trigger.
Options:
  • --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
  • --data-width INT - Data width in bits
  • --clk-slope - Clock slope: positive, negative
  • --trigger-on - Trigger on: timeout, cs
  • --cs-idle - CS idle state: high, low
  • --timeout FLOAT - Timeout length

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 nets to see available logic nets
  • Analog and Logic nets can be combined for mixed-signal analysis