Import
Methods
| Method | Description |
|---|---|
enable() | Enable the logic channel display |
disable() | Disable the logic channel display |
start_capture() | Start continuous acquisition |
stop_capture() | Stop acquisition |
start_single_capture() | Start single-shot capture |
force_trigger() | Force a trigger event |
set_signal_threshold() | Set logic level threshold voltage |
display_position() | Set channel display position |
size_large() / size_medium() / size_small() | Set display size |
Method Reference
Net.get(name, type=NetType.Logic)
Get a logic analyzer net by name.
| Parameter | Type | Description |
|---|---|---|
name | str | Name of the logic net |
type | NetType | Must be NetType.Logic |
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.
| Parameter | Type | Description |
|---|---|---|
voltage | float | Threshold voltage in volts |
display_position(position)
Set the channel display position.
| Parameter | Type | Description |
|---|---|---|
position | int | Vertical position value |
size_large() / size_medium() / size_small()
Set the display size for enabled channels.
Trigger Settings
Logic analyzer nets support advanced triggering throughtrigger_settings:
Edge Trigger
| Method | Description |
|---|---|
edge.set_source(net) | Set trigger source net |
edge.set_slope_rising() | Trigger on rising edge |
edge.set_slope_falling() | Trigger on falling edge |
edge.set_slope_both() | Trigger on either edge |
edge.get_slope() | Get current slope setting |
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
| Channel | Range |
|---|---|
| D0-D7 | Pod 1 (shared threshold) |
| D8-D15 | Pod 2 (shared threshold) |
Supported Hardware
| Manufacturer | Model | Features |
|---|---|---|
| Rigol | MSO5000 series | 16 digital channels, protocol decode |
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.Logicfor digital channels,NetType.Analogfor analog - Bus decoders work with both Logic and Analog nets as sources
- The trigger can use any combination of analog and digital channels

