Script execution
This commit is contained in:
@@ -136,10 +136,9 @@ class WireScanner(WireScanInfo):
|
||||
self.wire_sel.put(WireScanner.Selection.index(sel))
|
||||
|
||||
#Setting parameters
|
||||
if start is not None:
|
||||
if self.scan_rangeis not None:
|
||||
if sel in ["W1X", "W2X"]: self.start.write(float(self.scan_range[0]))
|
||||
if sel in ["W1Y", "W2Y"]: self.start.write(float(self.scan_range[2]))
|
||||
if end is not None:
|
||||
if sel in ["W1X", "W2X"]: self.end.write(float(self.scan_range[1]))
|
||||
if sel in ["W1Y", "W2Y"]: self.end.write(float(self.scan_range[3]))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user