Closedown
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
|
||||
#by default, failed
|
||||
ret = 'Test failed'
|
||||
success = False
|
||||
status = False
|
||||
|
||||
scan = ManualScan(['time'], ['SetVA', 'ActualVA', 'ActualIA'] , [0.0], [20.0], [10])
|
||||
scan.start()
|
||||
@@ -66,7 +66,7 @@ for setpoint1 in frange(0.0, 20.0, 10.0, True):
|
||||
scan.append ([detector1], [detector1], [readback1, detector2, detector3])
|
||||
sleep( 0.1 ) # Settling time
|
||||
ret = 'test completed'
|
||||
success = True
|
||||
status = True
|
||||
|
||||
#reset output to 0V
|
||||
SetVA.put(0.0, timeout=None)
|
||||
|
||||
Reference in New Issue
Block a user