- Image Acquisition 01: Code generated by Image Acquisition 01
open_framegrabber (‘GigEVision2’, 0, 0, 0, 0, 0, 0,
‘progressive’, -1, ‘default’, -1, ‘false’,
‘default’, ‘S1195200’, 0, -1, AcqHandle)
*设置延时时间
set_framegrabber_param (AcqHandle, ‘ExposureTime’, 15000.0)
grab_image_start (AcqHandle, -1)
dev_open_window (0, 0, 512, 512, ‘black’, WindowHandle0)
count:=20
while (true)
*实时读取图像
grab_image_async (Image, AcqHandle, -1)
dev_display (Image)
*保存图像
write_image (Image, ‘png’, 0, ‘connection_rod_calib_’+count$’.2’)
count:=count-1
* Image Acquisition 01: Do something
endwhile
close_framegrabber (AcqHandle)