Files
X10SA/script/test/TestBugPcAPI2.py
T
gac-S_Changer 981e2f5846
2019-11-28 14:37:36 +01:00

6 lines
313 B
Python

import ch.psi.pshell.imaging.MjpegSource as MjpegSource
MjpegSource2 = get_context().pluginManager.getDynamicClass("MjpegSource2")
add_device(MjpegSource("gripper_cam", "http://axis-accc8e9cc87b.psi.ch/axis-cgi/mjpg/video.cgi"), True)
#gripper_cam.polling=1000
gripper_cam.monitored = True
show_panel(gripper_cam)