Skip to content
Snippets Groups Projects
Commit 72dc99a8 authored by Paolo Baesso's avatar Paolo Baesso
Browse files

enableClkLEMO bug fix

parent f57ac4ed
Branches
Tags
No related merge requests found
......@@ -198,7 +198,7 @@ class TLU:
## Enable or disable the output clock to the differential LEMO output
bank=1
mask= 0x10
res= self.IC7.getIOReg(bank)
res= self.IC7.getOutputs(bank)
oldStatus= res[0]
newStatus= oldStatus & ~mask
outStat= "enabled"
......@@ -208,7 +208,7 @@ class TLU:
print " Clk LEMO", outStat
if verbose:
print "\tOldStatus= ", "{0:#0{1}x}".format(oldStatus,4), "Mask=" , hex(mask), "newStatus=", "{0:#0{1}x}".format(newStatus,4)
self.IC7.setIOReg(bank, newStatus)
self.IC7.setOutputs(bank, newStatus)
return newStatus
def enableCore(self):
......
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