Closedown

This commit is contained in:
gobbo_a
2016-12-22 16:01:28 +01:00
parent 1a69495939
commit 64c891fe5c
+2 -2
View File
@@ -121,7 +121,7 @@ def elogllrf(subject, message, system, subsystem, section, attachments = []):
print out
def get_plot_snapshots(title = None, file_type = "png", temp_path = controller.setup.getContextPath()):
def get_plot_snapshots(title = None, file_type = "png", temp_path = context.setup.getContextPath()):
"""
Returns list with file names of plots snapshots from a plotting context.
"""
@@ -184,7 +184,7 @@ scan_start.write(-10.0)
scan_stop.write(10.0)
scan_step.write(1.0)
if not controller.localMode:
if not context.localMode:
CAS.setServerPort(12345)
cas1=CAS("PSHELL:scanpos",scan_pos, "double")
cas2=CAS("PSHELL:scanval",scan_val, "double")