Removed spleep at 0.3 for the sweep

pull/34/head
Carl Tremblay 2019-10-09 23:29:27 -04:00
rodzic b2df018635
commit 391fb1a444
1 zmienionych plików z 1 dodań i 3 usunięć

Wyświetl plik

@ -271,9 +271,7 @@ class SweepWorker(QtCore.QRunnable):
def readSegment(self, start, stop): def readSegment(self, start, stop):
logger.debug("Setting sweep range to %d to %d", start, stop) logger.debug("Setting sweep range to %d to %d", start, stop)
self.app.setSweep(start, stop) self.app.setSweep(start, stop)
sleep(1) # TODO This long delay seems to fix the weird data transitions we were seeing by getting partial
sleep(0.3) # TODO This is fixed in 0.2.3 firmware
#sleep(1) # TODO This long delay seems to fix the weird data transitions we were seeing by getting partial
# sweeps. Clearly something needs to be done, maybe at firmware level, to address this fully. # sweeps. Clearly something needs to be done, maybe at firmware level, to address this fully.
# Let's check the frequencies first: # Let's check the frequencies first: