Script execution
This commit is contained in:
+3
-3
@@ -141,7 +141,7 @@ class CamTool(DeviceBase):
|
||||
if timestamp != val:
|
||||
print "New timestamp: ", val
|
||||
self.setCache(val)
|
||||
break
|
||||
return
|
||||
#if self.latch:
|
||||
# self.cam_latch.write(1)
|
||||
time.sleep(0.001)
|
||||
@@ -194,7 +194,7 @@ class CamTool(DeviceBase):
|
||||
self.bg_capture_remain.close()
|
||||
#self.image.close()
|
||||
|
||||
|
||||
"""
|
||||
if __name__ == "__builtin__":
|
||||
camera_tool = CamTool("camtool", prefix = "SINEG01-DSCR190:", latch = False, camera = "SINEG01-DSCR190")
|
||||
add_device(camera_tool, True)
|
||||
@@ -210,4 +210,4 @@ if __name__ == "__builtin__":
|
||||
#camera_tool.enableBackground(True)
|
||||
#camera_tool.capture()
|
||||
#print camera_tool.take(), camera_tool.com_x.read(), camera_tool.com_y.read()
|
||||
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user