diff --git a/src/harvesters/core.py b/src/harvesters/core.py index 72b917e..ba4930b 100644 --- a/src/harvesters/core.py +++ b/src/harvesters/core.py @@ -2109,6 +2109,8 @@ def start(self, *, run_as_thread: bool = False) -> None: except GenTL_GenericException: # SFNC < 2.0 pass + except AttributeError: + _logger.debug("TLParamsLocked not exist.") ds.start_acquisition( ACQ_START_FLAGS_LIST.ACQ_START_FLAGS_DEFAULT, -1) @@ -2491,6 +2493,8 @@ def stop(self) -> None: self.remote_device.node_map.TLParamsLocked.value = 0 except GenApi_GenericException: pass + except AttributeError: + _logger.debug("TLParamsLocked not exist.") for data_stream in self._data_streams: try: