Trigger¶
Trigger configuration and modes
Trigger configuration and control for Siglent oscilloscopes.
Trigger
¶
Trigger configuration and control for oscilloscope.
Provides methods to configure trigger settings including mode, source, level, slope, type, and other trigger parameters.
Initialize trigger control.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
oscilloscope
|
Oscilloscope
|
Parent Oscilloscope instance |
required |
Source code in scpi_control/trigger.py
mode
property
writable
¶
Get trigger mode.
Returns:
| Type | Description |
|---|---|
str
|
Trigger mode: 'AUTO', 'NORM', 'SINGLE', or 'STOP' |
source
property
writable
¶
Get trigger source channel.
Returns:
| Type | Description |
|---|---|
str
|
Trigger source (e.g., 'C1', 'C2', 'C3', 'C4', 'EX', 'EX5', 'LINE') |
trigger_type
property
writable
¶
Get trigger type.
Returns:
| Type | Description |
|---|---|
str
|
Trigger type: 'EDGE', 'SLEW', 'GLIT', 'INTV', 'RUNT', 'PATTERN', etc. |
level
property
writable
¶
Get trigger level voltage.
Returns:
| Type | Description |
|---|---|
float
|
Trigger level in volts |
slope
property
writable
¶
Get trigger slope.
Returns:
| Type | Description |
|---|---|
str
|
Trigger slope: 'POS', 'NEG', or 'WINDOW' |
coupling
property
writable
¶
Get trigger coupling.
Returns:
| Name | Type | Description |
|---|---|---|
Coupling |
str
|
'DC', 'AC', 'HFREJ', 'LFREJ' |
holdoff
property
writable
¶
Get trigger holdoff time.
Returns:
| Type | Description |
|---|---|
float
|
Holdoff time in seconds |
set_mode
¶
auto
¶
normal
¶
single
¶
stop
¶
force
¶
set_source
¶
set_edge_trigger
¶
Configure edge trigger.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
source
|
str
|
Trigger source channel (default: 'C1') |
'C1'
|
slope
|
str
|
Trigger slope - 'POS' (rising), 'NEG' (falling) (default: 'POS') |
'POS'
|
Source code in scpi_control/trigger.py
set_level
¶
Convenience wrapper to set trigger level for a specific channel.
set_slope
¶
get_configuration
¶
Get all trigger configuration parameters.
Returns:
| Type | Description |
|---|---|
dict
|
Dictionary with all trigger settings |
Source code in scpi_control/trigger.py
See Also¶
- Oscilloscope - Main oscilloscope control class for SCPI communication
- Channel - Channel configuration and control