29 ICAM-500 Programming Guide
Chapter 4 CamNavi2 SDK API Manual
close(quiet=0)
Close ICAM-500 device.
Parameters: quiet: int
0: default
1: Force turn off lighting.
Returns: int
0: Success.
1: Error in exception.
register_new_sample(new_sample_cb)
Register a new image event handler.
Event handler sample:
def new_sample_cb(sample):
buf = smaple.get_buffer()
Parameters: new_sample_cb
New image event handler(callback).
Returns: int
0: Success.
play()
Start camera acquisition.
Returns: bool
True: Success
See also:
CamNavi2.CamNavi2.advcam_play()
Wrapped function in CamNavi2.
stop()
Stop image acquisition procedure.
Returns: bool
False: pipeline does not setting True: Success
See also:
CamNavi2.CamNavi2.advcam_stop()
Wrapped function in CamNavi2
set_acq_frame_rate(new_fps)
Set acquisition frame rate.
Parameters: new_fps: int
Set frame rate.
Returns: int
Frame rate setting value.