Script execution
This commit is contained in:
@@ -197,6 +197,15 @@ class CamTool(DeviceBase):
|
||||
self.bg_capture.close()
|
||||
self.bg_capture_remain.close()
|
||||
#self.image.close()
|
||||
|
||||
|
||||
camera_tool = CamTool("camtool", prefix = "SINEG01-DSCR190:", latch = True, camera = "SINEG01-DSCR190")
|
||||
add_device(camera_tool, True)
|
||||
camera_tool.enableBackground(True)
|
||||
for i in range (1000):
|
||||
camera_tool.capture()
|
||||
print i, camera_tool.take(), camera_tool.com_x.read(), camera_tool.com_y.read()
|
||||
|
||||
|
||||
"""
|
||||
if __name__ == "__builtin__":
|
||||
|
||||
Reference in New Issue
Block a user