Script execution

This commit is contained in:
sfop
2016-08-31 14:09:48 +02:00
parent 0143924dcb
commit a3afd194ac

View File

@@ -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__":