02.2026
This commit is contained in:
@@ -20,7 +20,7 @@ if do_elog:
|
||||
attachments = []
|
||||
if plt is not None:
|
||||
sleep(0.1) #Give some time to plot to be finished - it is not sync with acquisition
|
||||
file_name = os.path.abspath(get_context().setup.getContextPath() + "/SchottkyScanSetPlot.png")
|
||||
file_name = os.path.abspath(Setup.getContextPath() + "/SchottkyScanSetPlot.png")
|
||||
plt.saveSnapshot(file_name , "png")
|
||||
attachments = [file_name]
|
||||
elog("Set gun phase", log_msg, attachments)
|
||||
|
||||
Reference in New Issue
Block a user