exceptions
¶
Exceptions used by the library.
AcquisitionDataCorrupted
¶
Bases: Exception
Raised when acquisition data is corrupted.
AcquisitionIncomplete
¶
Bases: Exception
Raised when acquisition is incomplete.
ConnectionError
¶
Bases: Exception
Raised when connection to the device fails.
DeviceError
¶
Bases: Exception
Raised when connected device returns an error.
Attributes:
-
error_code
(int
) –The error code returned by the device.
DeviceNotFound
¶
Bases: Exception
Raised when device with specified short ID is not found.
HandshakeError
¶
Bases: Exception
Raised when handshake with the device fails.