Script execution

This commit is contained in:
sfop
2017-04-27 11:24:25 +02:00
parent 44679b6ce4
commit 3bbcd4e03f

View File

@@ -50,7 +50,7 @@ st.waitCacheChange(10000) #Wait stream be running before starting scan
class w_pos(Readable):
def read(self):
#return scanner.get_sel_wire_pos(st.getChildren()[0].take())
return scanner.get_sel_wire_pos(scanner.motor_bs_readback)
return scanner.get_sel_wire_pos(scanner.motor_bs_readback.read())
#End of scan checking
scan_complete = None