EasyManua.ls Logo

Advantech ICAM-500 Series - Page 25

Advantech ICAM-500 Series
64 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
19 ICAM-500 Programming Guide
Chapter 4 CamNavi2 SDK API Manual
advcam_register_new_image_handler(cam, new_image_cb)
Register a new image event handler.
Event handler sample:
def new_sample_cb(sample):
buf = smaple.get_buffer()
Parameters: cam: ABSCamera
Camera instance
new_sample_cb
New image event handler(callback).
Returns: int
0: Success.
advcam_play(cam)
Start image acquisition step. (Continuous mode or single shot)
Parameters: cam: ABSCamera
Camera instance
Returns: bool
True: success.
See also:
iCam500.iCam500.play()
advcam_snap_image(cam, timeout=60)
Snap an image in 10 ms period.
Parameters: cam: ABSCamera
Camera instance
timeout: int
Break waiting loop in timeout second.
unit: second
Returns: None or [int]
None: No image or timeout.
array: Image data in JPEG format
advcam_stop(cam)
Stop image acquisition procedure.
Returns: bool
False: pipeline does not setting. True: Success.
See also:
iCam500.iCam500.stop()

Other manuals for Advantech ICAM-500 Series

Related product manuals