pygpibtoolkit/HP3562A/q3562A.py

changeset 53
8e32c806fcdd
parent 52
12dfcb77a590
child 66
2a97995628a3
equal deleted inserted replaced
52:12dfcb77a590 53:8e32c806fcdd
355 self.getStateAct.setChecked(False) 355 self.getStateAct.setChecked(False)
356 self.getTraceAct.setChecked(False) 356 self.getTraceAct.setChecked(False)
357 self.getCoordAct.setChecked(False) 357 self.getCoordAct.setChecked(False)
358 self.statusBar().showMessage(self.tr("Received data block"), 2000) 358 self.statusBar().showMessage(self.tr("Received data block"), 2000)
359 self._receiving = False 359 self._receiving = False
360 360 # give control back to fron panel
361 self.captureThread.sendCommand('LCL')
362
361 def selectChannel(self): 363 def selectChannel(self):
362 if self.channelAAct.isEnabled(): 364 if self.channelAAct.isEnabled():
363 self.captureThread.sendCommand("A") 365 self.captureThread.sendCommand("A")
364 else: 366 else:
365 self.captureThread.sendCommand("B") 367 self.captureThread.sendCommand("B")

mercurial