mirror of
https://github.com/nqrduck/nqrduck-spectrometer-limenqr.git
synced 2024-11-09 11:10:03 +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]
|
evidx = np.where((lime.HDF.tdx > evran[0]) & (lime.HDF.tdx < evran[1]))[0]
|
||||||
except:
|
except:
|
||||||
logger.error("Error while reading the measurement data")
|
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
|
return -1
|
||||||
|
|
||||||
# time domain x and y data
|
# time domain x and y data
|
||||||
|
@ -87,7 +87,7 @@ class LimeNQRController(BaseSpectrometerController):
|
||||||
tdx,
|
tdx,
|
||||||
tdy,
|
tdy,
|
||||||
self.module.model.target_frequency,
|
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
|
# Emit the data to the nqrduck core
|
||||||
|
|
Loading…
Reference in a new issue