Automatic commit. Thu Sep 27 00:00:07 WST 2012
[matches/honours.git] / research / TCS / interface.py
index 4705c9e..7b3c0e1 100755 (executable)
@@ -96,6 +96,7 @@ def getDate():
        return str(datetime.datetime.now()).split(" ")[0]
 
 def getPressure():
+       return 0.0
        p = subprocess.Popen("./pressure/get_pressure.sh", stdout=subprocess.PIPE)
        return float(p.stdout.readline().strip(" \r\n\t"))
        
@@ -299,7 +300,7 @@ def record_data(ADC_channels, output, pollTime = None, dac_max = None):
        for out in output:
                out.write("# Parameters:\n")
 
-       parameters["Chamber Pressure"] = getPressure() # Update chamber pressure
+       #parameters["Chamber Pressure"] = getPressure() # Update chamber pressure
 
        for field in parameters:
                for out in output:

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