Exceptions¶
Custom exception classes
Backward compatibility module for siglent.exceptions.
DEPRECATED: This module provides backward compatibility for code using 'from siglent.exceptions import ...'. Please update imports to use 'from scpi_control.exceptions import ...' instead.
This compatibility module will be removed in v2.0.0.
CommandError
¶
Bases: SiglentError
Raised when a SCPI command fails or returns an error.
InvalidParameterError
¶
Bases: SiglentError
Raised when invalid parameters are provided.
SiglentConnectionError
¶
Bases: SiglentError
Raised when connection to oscilloscope fails or is lost.
SiglentError
¶
Bases: Exception
Base exception class for all Siglent-related errors.
SiglentTimeoutError
¶
Bases: SiglentError
Raised when a command times out.
See Also¶
- Oscilloscope - Main oscilloscope control class for SCPI communication
- Socket Connection - TCP/IP socket communication