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