Closedown
This commit is contained in:
@@ -30,7 +30,7 @@ def startTest(testName, DEVICE, params):
|
||||
test.log( 'device: ' + DEVICE )
|
||||
#scan = ManualScan(['time'], ['SetV', 'ActualV', 'ActualI'] , [0.0], [30.0], [20])
|
||||
scan = ManualScan(['time'], ['SetV', 'ActualV', 'ActualI'])
|
||||
scan.setPlotName(plotName)
|
||||
scan.setPlotTitle(plotName)
|
||||
scan.start()
|
||||
|
||||
try:
|
||||
@@ -115,6 +115,7 @@ def startTest(testName, DEVICE, params):
|
||||
test.sendFeedback(ret, success)
|
||||
except:
|
||||
# generic error handler
|
||||
import traceback
|
||||
ret = traceback.format_exc()
|
||||
success = False
|
||||
test.sendFeedback(ret, success)
|
||||
|
||||
@@ -86,7 +86,7 @@ def startTest(testName, DEVICE, params):
|
||||
scan.start()
|
||||
|
||||
#in this example we initialise also a plot type to show how to add several curves on the same plot
|
||||
p1 = plot(None,name="motor_msta", context = plotName + " Multi curves")[0]
|
||||
p1 = plot(None,name="motor_msta", title = plotName + " Multi curves")[0]
|
||||
#opionally set plot ranges
|
||||
#p1.getAxis(p1.AxisId.X).setRange(0.0,80.0)
|
||||
#p1.getAxis(p1.AxisId.Y).setRange(0.0,70.0)
|
||||
|
||||
Reference in New Issue
Block a user