Closedown

This commit is contained in:
sfop
2017-05-31 08:34:58 +02:00
parent 1bad50d515
commit 3af83db044
3 changed files with 20 additions and 20 deletions

View File

@@ -51,12 +51,12 @@ phase_ref = x[index_max] - 80
set_return(phase_ref)
save the entry in the logbook
if get_option("Generated data file:\n" + get_exec_pars().path +"\n\n" + "Save to ELOG?", "YesNo") == "Yes":
log_msg = "Start: %0.1f" % start + "deg\n"
log_msg = log_msg + "Stop: %0.1f" % stop + "deg\n"
log_msg = log_msg + "Step: %0.1f" % nb + "deg\n"
log_msg = log_msg + "Nb samples: %0.0f" % nb + "\n"
log_msg = log_msg + "Latency: %0.3f" % lat + "s\n"
log_msg = log_msg + "Data file: " + get_exec_pars().path
elog("Schottky Scan", log_msg, get_plot_snapshots())
# save the entry in the logbook
#if get_option("Generated data file:\n" + get_exec_pars().path +"\n\n" + "Save to ELOG?", "YesNo") == "Yes":
# log_msg = "Start: %0.1f" % start + "deg\n"
# log_msg = log_msg + "Stop: %0.1f" % stop + "deg\n"
# log_msg = log_msg + "Step: %0.1f" % nb + "deg\n"
# log_msg = log_msg + "Nb samples: %0.0f" % nb + "\n"
# log_msg = log_msg + "Latency: %0.3f" % lat + "s\n"
# log_msg = log_msg + "Data file: " + get_exec_pars().path
# elog("Schottky Scan", log_msg, get_plot_snapshots())