Files
mxsc/script/test/TestBugPcAPI2.py
gac-S_Changer 9ef973fa49
2018-08-08 16:01:05 +02: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)