X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;ds=sidebyside;f=research%2FTCS%2Finterface.py;fp=research%2FTCS%2Finterface.py;h=603acd0bfe557dc560acb8f3205970c9d860ee2c;hb=6e98c7b3134805099d476a337622577dd47c6250;hp=22e04a4b1627dd14a35578d402c6bf8dd2d9d7b3;hpb=ced554da0fb721d190eed99618e2cd82130f0797;p=matches%2Fhonours.git diff --git a/research/TCS/interface.py b/research/TCS/interface.py index 22e04a4b..603acd0b 100755 --- a/research/TCS/interface.py +++ b/research/TCS/interface.py @@ -208,7 +208,7 @@ def main(): # Experiment # TODO: Modify data to record here sweep = 1 - for i in range(0,1): + for i in range(0,2): os.system("mkdir -p " + getDate()) record_data([5], getDate()+"/"+str(getTime())+".dat", None, 4000) sweep += 1 @@ -348,7 +348,7 @@ def record_data(ADC_channels, output, pollTime = None, dac_max = None): out.write("\n") - #gnuplot.plot(Gnuplot.Data(data, title="t = "+str(measure_time), with_="lp", using="2:3")) + gnuplot.plot(Gnuplot.Data(data, title="t = "+str(measure_time), with_="lp", using="2:3")) for out in output: if out != sys.stdout: log_close(out)