Startup
This commit is contained in:
@@ -14,7 +14,7 @@ def startTest(testName, DEVICE, params):
|
||||
# by default, assume the test failed
|
||||
ret = 'Test failed'
|
||||
status = False
|
||||
# plot name to be given to the scan. Use: scan.setPlotName(plotName)
|
||||
# plot name to be given to the scan. Use: scan.setPlotTitle(plotName)
|
||||
plotName = DEVICE + ' - ' + testName
|
||||
# put the whole custom code under try/catch
|
||||
try:
|
||||
@@ -81,7 +81,7 @@ def startTest(testName, DEVICE, params):
|
||||
# initialise plot tab with 2 plots
|
||||
scan = ManualScan(['sample'], ['Motor Status (MSTA)', 'Motor Position (VAL)'])
|
||||
# set plot name(tab title)
|
||||
scan.setPlotName(plotName)
|
||||
scan.setPlotTitle(plotName)
|
||||
# start plots. See further below how to add points to the plots
|
||||
scan.start()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user