Automatic commit. Fri Sep 7 12:00:03 WST 2012
[matches/honours.git] / research / TCS / interface.py
index 22e04a4..603acd0 100755 (executable)
@@ -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)

UCC git Repository :: git.ucc.asn.au