mirror of
https://github.com/nqrduck/nqrduck-spectrometer-limenqr.git
synced 2024-12-22 23:47:47 +00:00
Improved error message.
This commit is contained in:
parent
51af43d74c
commit
6bcc8704d0
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue