mirror of https://github.com/m-labs/artiq.git
gui: fix scanwidget usage
This commit is contained in:
parent
7f3e1c989d
commit
22b072699f
|
@ -186,7 +186,7 @@ class _RangeScan(LayoutWidget):
|
||||||
scanner.setStart(value)
|
scanner.setStart(value)
|
||||||
|
|
||||||
def update_max(value):
|
def update_max(value):
|
||||||
state["min"] = value*scale
|
state["max"] = value*scale
|
||||||
scanner.setStop(value)
|
scanner.setStop(value)
|
||||||
|
|
||||||
def update_npoints(value):
|
def update_npoints(value):
|
||||||
|
|
Loading…
Reference in New Issue