Commit c068507e authored by David Cussans's avatar David Cussans

Fixing some worrying code rot. Why weren't these typos found before???? At a…

Fixing some worrying code rot. Why weren't these typos found before???? At a stretch , new version of uHAL is case sensitive
parent 9256e0a0
......@@ -346,7 +346,7 @@ class TLU:
return clockStatus
def getDUTmask(self):
DUTMaskR = self.hw.getNode("DUTInterfaces.DutMaskR").read()
DUTMaskR = self.hw.getNode("DUTInterfaces.DUTMaskR").read()
self.hw.dispatch()
print "\tDUTMask read back as:" , hex(DUTMaskR)
return DUTMaskR
......@@ -466,7 +466,8 @@ class TLU:
# self.hw.dispatch()
# print "\tPulsing T0"
def setRunActive(self):
def setRunActive(self):
cmd = int("0x1",16)
self.hw.getNode("Shutter.RunActiveRW").write(cmd)
self.hw.dispatch()
......@@ -558,7 +559,7 @@ class TLU:
def setDUTmask(self, DUTMask):
print " DUT MASK ENABLING: Mask= " , hex(DUTMask)
self.hw.getNode("DUTInterfaces.DutMaskW").write(DUTMask)
self.hw.getNode("DUTInterfaces.DUTMaskW").write(DUTMask)
self.hw.dispatch()
self.getDUTmask()
......
......@@ -75,7 +75,7 @@
<node id="PulseStretchR" address="0x16" permission="r" description="" />
<node id="PulseDelayW" address="0x7" permission="w" description="" />
<node id="PulseDelayR" address="0x17" permission="r" description="" />
<node id="TriggerHoldOffW" address="0x8" permission="W" description="" /><!--Wait, this does nothing at the moment...-->
<node id="TriggerHoldOffW" address="0x8" permission="w" description="" /><!--Wait, this does nothing at the moment...-->
<node id="TriggerHoldOffR" address="0x18" permission="r" description="" /><!--Wait, this does nothing at the moment...-->
<node id="AuxTriggerCountR" address="0x19" permission="r" description="" />
<node id="TriggerPattern_lowW" address="0xA" permission="w" description="" />
......
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