Automatic commit. Fri Sep 7 00:00:05 WST 2012
[matches/honours.git] / research / TCS / interface.py
index 1b85fb1..22e04a4 100755 (executable)
@@ -66,11 +66,12 @@ parameters = odict.odict([
        ("Venault Voltage" , None),
        ("Initial Voltage" , None),
        ("Heating Current" , None),
-       ("Heating Voltage" , None),
+       ("Heating Voltage (across filament)" , None),
+       ("Heating Voltage (across power supply)", None),
        ("Chamber Pressure" , None),
-       ("610B Zero" , None),
+       #("610B Zero" , None),
        ("602 Zero" , None),
-       ("610B Scale" , None),
+       #("610B Scale" , None),
        ("602 Scale" , None),
        ("602 0.1 Battery" , None),
        ("602 0.03 Battery" , None),
@@ -207,11 +208,11 @@ def main():
        # Experiment
        # TODO: Modify data to record here
        sweep = 1
-       while True:
+       for i in range(0,1):
                os.system("mkdir -p " + getDate())
                record_data([5], getDate()+"/"+str(getTime())+".dat", None, 4000)
                sweep += 1
-       
+       setDAC(500)
 
 def checkList():
        try:
@@ -347,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