Closedown

This commit is contained in:
boccioli_m
2015-06-10 14:13:55 +02:00
parent b3363b6c1e
commit 0a9337177c
2 changed files with 4 additions and 4 deletions

View File

@@ -430,8 +430,8 @@ public class TestingList extends Panel {
//launch the test
try{
args.put("DEVICE", sDeviceName);
//args.put("ret", "");
//args.put("status", false);
args.put("ret", "");
args.put("status", false);
run(sTestName, args);
} catch (Exception ex) {
SwingUtils.showMessage(this, "", ex.toString());

View File

@@ -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)