Skip to main content
Capture and analyze digital signals using the logic analyzer functionality of mixed-signal oscilloscopes.
Not Yet Available: The Logic Analyzer Python API for Rigol MSO5000 series is currently under development. The Net-based API and associated methods are documented for preview purposes only. The underlying device implementation is not yet complete. Attempting to use logic analyzer nets will result in a “method not found” error. Check back in a future release for full functionality.

Import

Methods

Method Reference

Net.get(name, type=NetType.Logic)

Get a logic analyzer net by name.
Parameters:Returns: Logic analyzer Net instance

enable()

Enable the logic channel display.

disable()

Disable the logic channel display.

start_capture()

Start continuous waveform acquisition.

stop_capture()

Stop waveform acquisition.

start_single_capture()

Start single-shot capture (captures one triggered event).

force_trigger()

Force a trigger event immediately.

set_signal_threshold(voltage)

Set the logic level threshold voltage.
Note: Channels 0-7 share one threshold, channels 8-15 share another.

display_position(position)

Set the channel display position.

size_large() / size_medium() / size_small()

Set the display size for enabled channels.

Trigger Settings

Logic analyzer nets support advanced triggering through trigger_settings:

Edge Trigger

Edge trigger methods:

Pulse Trigger

Protocol Triggers

UART Trigger

I2C Trigger

SPI Trigger

CAN Trigger

Measurements

Logic analyzer nets support digital timing measurements:

Bus Decoding

For protocol analysis, create bus decoders using multiple logic channels:

UART Bus

I2C Bus

SPI Bus

CAN Bus

Examples

Basic Digital Signal Capture

SPI Communication Test

I2C Address Scanner

Protocol Timing Verification

Digital Channels

Supported Hardware

Notes

  • Logic channels are numbered D0-D15
  • Channels D0-D7 share one threshold voltage, D8-D15 share another
  • Protocol decoding requires enabling bus analysis mode
  • Use NetType.Logic for digital channels, NetType.Analog for analog
  • Bus decoders work with both Logic and Analog nets as sources
  • The trigger can use any combination of analog and digital channels