Closedown
This commit is contained in:
@@ -133,20 +133,16 @@ class CamTool(DeviceBase):
|
||||
while(True):
|
||||
try:
|
||||
timestamp = self.timestamp.read()
|
||||
print "Current timestamp: ", timestamp
|
||||
#print "Current timestamp: ", timestamp
|
||||
if not self.latch:
|
||||
self.cam_run.write(1)
|
||||
else:
|
||||
self.cam_latch.write(1)
|
||||
print "Latched"
|
||||
start = time.time()
|
||||
print "!",
|
||||
while(True):
|
||||
print "*",
|
||||
val = self.timestamp.read()
|
||||
print ".",
|
||||
if timestamp != val:
|
||||
print "New timestamp: ", val
|
||||
#print "New timestamp: ", val
|
||||
self.setCache(val)
|
||||
return
|
||||
if (time.time()-start) > self.grab_timeout:
|
||||
|
||||
Reference in New Issue
Block a user