saleae.automation.errors

Error types raised by the Saleae Automation API.

Classes

ClassDescription
SaleaeError The base class for all Saleae exceptions. Do not catch this directly.
UnknownError This indicates that the error message from the Logic 2 software was not understood by the python library.
Logic2AlreadyRunningError This indicates that there was an instance of Logic 2 already running.
IncompatibleApiVersionError This indicates that the server is running an incompatible API version. This only happens on major
InternalServerError An unexpected error occurred in the Logic 2 software. Please submit these errors to Saleae support.
InvalidRequestError The socket request was invalid. See exception message for details.
LoadCaptureFailedError Error loading a saved capture.
ExportError An error occurred either while exporting raw data, a single protocol analyzer, or the protocol analyzer data table.
MissingDeviceError The device ID supplied to the start_capture function is not currently attached to the system, or it has not been detected by the software.
CaptureError The base class for all capture related errors. We recommend all automation applications handle this exception type.
DeviceError This error represents any device related error while capturing. USB communication or bandwidth errors, missing calibration, device disconnection while recording, and more.
OutOfMemoryError This exception indicates that the capture was automatically terminated because the capture buffer was filled.
AI/LLM users: see llms-automation.txt for machine-readable documentation.