MCPcopy Create free account
hub / github.com/LabPy/lantz / Scanner

Class Scanner

examples/scanfrequency-gui.py:60–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58 # <--------- New code--------->
59 # Define a function to read the values from the widget and call scan_frequency
60 class Scanner(QtCore.QObject):
61
62 def scan(self):
63 # Call the scan frequency
64 scan_frequency(inst, start.value() * Hz, stop.value() * Hz,
65 step.value() * Hz, wait.value() * sec)
66 # When it finishes, set the progress to 100%
67 progress.setValue(100)
68
69 thread = QtCore.QThread()
70 scanner = Scanner()

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected