Commit b8e26ada authored by Anchal Gupta's avatar Anchal Gupta
Browse files

Bug fix

parent abd15605
......@@ -127,7 +127,9 @@ def main():
caput(sweepRangeUpperChan,caget(actuator)+0.03)
caput(sweepRangeLowerChan,caget(actuator)-0.03)
time.sleep(pollRate) # wait for pollRate seconds rechecking
finalGain = caget(loopStateEnable)
else: # case threshold is not met and channels are engauged
finalGain = caget(loopStateEnable)
if caget(autolockEnable):
if args.debug == 1: # debug mode: print message
print("Thresh reached or one required states False")
......
Supports Markdown
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