From 6bcc8704d023463000cadafe7a69ab9a2237e766 Mon Sep 17 00:00:00 2001 From: jupfi Date: Wed, 16 Aug 2023 13:51:47 +0200 Subject: [PATCH] Improved error message. --- src/nqrduck_spectrometer_limenqr/controller.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nqrduck_spectrometer_limenqr/controller.py b/src/nqrduck_spectrometer_limenqr/controller.py index bb462f0..9a7884f 100644 --- a/src/nqrduck_spectrometer_limenqr/controller.py +++ b/src/nqrduck_spectrometer_limenqr/controller.py @@ -75,7 +75,7 @@ class LimeNQRController(BaseSpectrometerController): evidx = np.where((lime.HDF.tdx > evran[0]) & (lime.HDF.tdx < evran[1]))[0] except: logger.error("Error while reading the measurement data") - self.module.nqrduck_signal.emit("measurement_error", "Error") + self.module.nqrduck_signal.emit("measurement_error", "Error with measurement data. Did you set an RX event?") return -1 # time domain x and y data @@ -87,7 +87,7 @@ class LimeNQRController(BaseSpectrometerController): tdx, tdy, self.module.model.target_frequency, - #frequency_shift=self.module.model.if_frequency, + # frequency_shift=self.module.model.if_frequency, ) # Emit the data to the nqrduck core