Models¶
Oscilloscope model capabilities and registry
Model capability definitions for different Siglent oscilloscope series.
ModelCapability
dataclass
¶
ModelCapability(model_name: str, series: str, num_channels: int, max_sample_rate: float, memory_depth: int, bandwidth_mhz: int, has_math_channels: bool, has_fft: bool, has_protocol_decode: bool, supported_decode_types: List[str], scpi_variant: str)
Defines capabilities and features for a specific oscilloscope model.
This dataclass contains all model-specific information including hardware specifications and supported features.
detect_model_from_idn
¶
Detect oscilloscope model and return its capability profile.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
idn_string
|
str
|
The response from *IDN? command Format: "Manufacturer,Model,Serial,Firmware" Example: "Siglent Technologies,SDS824X HD,SERIAL123,1.0.0.0" |
required |
Returns:
| Type | Description |
|---|---|
ModelCapability
|
ModelCapability object for the detected model |
Raises:
| Type | Description |
|---|---|
ValueError
|
If model cannot be detected from IDN string |
Source code in scpi_control/models.py
188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 | |
list_supported_models
¶
Get list of all explicitly supported model names.
Returns:
| Type | Description |
|---|---|
List[str]
|
List of model names that have full capability definitions |
get_model_by_series
¶
Get all models in a specific series.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
series
|
str
|
Series identifier (e.g., "SDS1000XE", "SDS2000XPlus") |
required |
Returns:
| Type | Description |
|---|---|
List[ModelCapability]
|
List of ModelCapability objects for models in that series |
Source code in scpi_control/models.py
See Also¶
- Oscilloscope - Main oscilloscope control class for SCPI communication