- #sweep = 1
- record_data([4, 5], getDate()+"/"+str(getTime())+".dat", None, None, "Measure emission&sample current varying with time, constant initial energy.")
- #while True:
- # os.system("mkdir -p " + getDate())
- # record_data([4, 5], getDate()+"/"+str(getTime())+".dat", None, 2300, "Sweep " + str(sweep) + " (started on " + aquire["start_date"]+")")
- # sweep += 1
+ sweep = 1
+ #record_data([4, 5], getDate()+"/"+str(getTime())+".dat", None, None, "Measure emission&sample current varying with time, constant initial energy.")
+ while True:
+ os.system("mkdir -p " + getDate())
+ record_data([4, 5], getDate()+"/"+str(getTime())+".dat", None, 2500, "Measure accelerating lens with DAC Sweep" + str(sweep) + " (started on " + aquire["start_date"]+")")
+ sweep += 1