import datetime knob = Channel("SINEG01-RSYS:SET-BEAM-PHASE", 'd', alias = "RF phase") instrument = Channel("SINEG01-DICT215:B1_CHARGE", 'd', alias = "Bunch Charge (ICT)") r = lscan(knob, [instrument], 0, 360., 10.,2.0) elog("SchottkyICT", "Data file: " + get_exec_pars().path + "\n\n" + r.print() , get_plot_snapshots())