#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"]+")")
+ record_data([4, 5], getDate()+"/"+str(getTime())+".dat", None, 2250, "Sweep " + str(sweep) + " (started on " + aquire["start_date"]+")")
sweep += 1
dacValue = nextDacValue
setDAC(dacValue)
step += 1
- if (dac_max != None and dacValue == dac_max):
+ if (dac_max != None and dacValue >= dac_max):
break
measure_start = time.time()