Commit 46296820 authored by Dan Saunders's avatar Dan Saunders

pushing

parent baaf2004
......@@ -8,6 +8,7 @@ import detector_config_tools
ips = detector_config_tools.currentIPs(False)
print ips
'''
for ip in ips:
cmd = "python align_adc.py BR2_" + str(ip) + " output_" + str(ip) + ".tapslips"
......@@ -17,7 +18,6 @@ for ip in ips:
except:
sys.exit(0)
'''
# Dump into a db
db = dataset.connect('mysql://DAQGopher:gogogadgetdatabase@localhost/solid_phase1_running')
configID = 0 #first time case
......
......@@ -6,8 +6,8 @@ iEntry = -1
prevChan = 64
min_tap, max_tap, min_slip, max_slip = 99, 99, 99, 99
for entry in db['TapSlips']:
if entry['ip'] == '72' and entry['channel'] == 38: print 'IP 102:', entry
if entry['ip'] == '72': print entry
'''
if entry['configID'] == 26:
if prevChan != entry['channel'] - 1:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment