This commit is contained in:
flandre 2025-01-19 19:04:27 +08:00
parent ca7c8f71df
commit e8e3edab0d
2 changed files with 1 additions and 7 deletions

View File

@ -46,12 +46,6 @@ class Beamformer(Node):
device_socket.setsockopt(zmq.CONFLATE, 1)
device_socket.connect(f"tcp://{PLAYBACK_SOCKET}")
self.c.poller.register(device_socket, zmq.POLLIN)
# RfSequenceMeta(
# commit='test',
# shape=(256, 1502),
# mode=RfSequenceMeta.RfSequenceMode.PWI,
# us=30
# )
mat = None
while True:
socks = dict(self.c.poller.poll())

View File

@ -128,7 +128,7 @@ class Adv(QMainWindow, Ui_MainWindow):
@QtCore.pyqtSlot(int)
def cbc(self, v):
if self.comboBox.sender() is None:
if self.comboBox.sender() is None or isinstance(self.comboBox.sender(), QFrame):
self.p.send(SelectSeqMsg(self.comboBox.itemText(v)))
@QtCore.pyqtSlot(int)