Channel¶
Channel configuration and control
Channel configuration and control for Siglent oscilloscopes.
Channel
¶
Represents a single oscilloscope channel with configuration controls.
Provides methods to configure channel settings including coupling, voltage scale, offset, probe ratio, and bandwidth limiting.
Initialize channel.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
oscilloscope
|
Oscilloscope
|
Parent Oscilloscope instance |
required |
channel_number
|
int
|
Channel number (1-4) |
required |
Source code in scpi_control/channel.py
enabled
property
writable
¶
Get channel display state.
Returns:
| Type | Description |
|---|---|
bool
|
True if channel is displayed, False otherwise |
coupling
property
writable
¶
Get channel coupling mode.
Returns:
| Type | Description |
|---|---|
str
|
Coupling mode: 'DC', 'AC', or 'GND' |
voltage_scale
property
writable
¶
Get vertical scale (volts/division).
Returns:
| Type | Description |
|---|---|
float
|
Voltage scale in volts/division |
voltage_offset
property
writable
¶
Get vertical offset voltage.
Returns:
| Type | Description |
|---|---|
float
|
Offset voltage in volts |
probe_ratio
property
writable
¶
Get probe attenuation ratio.
Returns:
| Type | Description |
|---|---|
float
|
Probe ratio (e.g., 1.0 for 1X, 10.0 for 10X) |
bandwidth_limit
property
writable
¶
Get bandwidth limit setting.
Returns:
| Type | Description |
|---|---|
str
|
Bandwidth limit: 'ON', 'OFF', or frequency limit |
unit
property
writable
¶
Get channel vertical unit.
Returns:
| Type | Description |
|---|---|
str
|
Unit string (typically 'V' for volts) |
enable
¶
disable
¶
set_scale
¶
Set vertical scale (alias for voltage_scale setter).
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
volts_per_div
|
float
|
Voltage scale in volts/division |
required |
auto_scale
¶
Perform auto-scale for this channel.
Automatically adjusts voltage scale and offset for optimal viewing.
Source code in scpi_control/channel.py
get_configuration
¶
Get all channel configuration parameters.
Returns:
| Type | Description |
|---|---|
dict
|
Dictionary with all channel settings |
Source code in scpi_control/channel.py
See Also¶
- Oscilloscope - Main oscilloscope control class for SCPI communication
- Trigger - Trigger configuration and modes