# Experiment
# TODO: Modify data to record here
sweep = 1
- for i in range(0,5):
- #while True:
+ #for i in range(0,5):
+ while True:
os.system("mkdir -p " + getDate())
- record_data([5], getDate()+"/"+str(getTime())+".dat", None, 4000)
+ record_data([5], getDate()+"/"+str(getTime())+".dat", None, 4001)
sweep += 1
#setDAC(500)
data[len(data)-1].append(adc[2])
out.write("\n")
-
+ #gnuplot("set yrange [0:1023]")
+ #gnuplot("set xrange [0:4000]")
gnuplot.plot(Gnuplot.Data(data, title="t = "+str(measure_time), with_="lp", using="2:3"))
for out in output:
if out != sys.stdout: