X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=research%2FTCS%2Finterface.py;h=3816785aa8053766d34d6b3ef5735d0c356308c3;hb=fe9fb006b377c1b811390df9246db0a4d69ffbf0;hp=711a061e154e6a2923deee6a1b8c6474854eed64;hpb=18a4dc8612422e8b11a559f479e10c89619008bf;p=matches%2Fhonours.git diff --git a/research/TCS/interface.py b/research/TCS/interface.py index 711a061e..3816785a 100755 --- a/research/TCS/interface.py +++ b/research/TCS/interface.py @@ -31,7 +31,7 @@ calibrate = { } # TODO: Adjust aqcuisition parameters here -aquire = { "DAC_Sweep" : "0.0 + 100.0*int(step/120)", # DAC Sweep value (t is in STEPS, not seconds!) +aquire = { "DAC_Sweep" : "2000",#"0.0 + 100.0*int(step/120)", # DAC Sweep value (t is in STEPS, not seconds!) "ADC_Averages" : 200, "ADC_Vi" : 5, # ADC channel to read back Vi (set by DAC) through "ADC_Is" : 4, # ADC channel to read back Is through @@ -156,7 +156,7 @@ def main(): sweep = 1 while True: os.system("mkdir -p " + getDate()) - record_data([4], getDate()+"/"+str(getTime())+".dat", None, 4000) + record_data([4, 5], getDate()+"/"+str(getTime())+".dat", None, 4000) sweep += 1