This commit is contained in:
gobbo_a
2017-11-15 14:02:54 +01:00
parent 1ee2b4a865
commit 2c73e72037
5 changed files with 15 additions and 14 deletions

View File

@@ -8,7 +8,7 @@ import datetime
if get_exec_pars().source == CommandSource.ui:
camera_name = "SARBD02-DSCR050_sp1" # "SLG-LCAM-C041_sp"
camera_name = "SARBD02-DSCR050" # "SLG-LCAM-C041_sp"
shared = True
images = 1
interval = -1
@@ -23,7 +23,8 @@ else:
run("Tools/CameraTools")
set_exec_pars(name="camera_snapshot")
cam_server.start(camera_name, shared)
cam_server.start(camera_name + "_sp1" if shared else camera_name, shared)
if roi is not None and len(roi.strip())>0:
roi = json.loads(roi)