* Image Acquisition 01: Code generated by Image Acquisition 01
open_framegrabber ('MVision', 1, 1, 0, 0, 0, 0, 'progressive', 8, 'default', -1, 'false', 'auto', 'GEV:DA0849903 MV-CU013-A0GC', 0, -1, AcqHandle)
grab_image_start (AcqHandle, -1)
while (true)
grab_image_async (Image, AcqHandle, -1)
* Image Acquisition 01: Do something
*** 存图
get_system_time (MSecond, Second, Minute, Hour, Day, YDay, Month, Year)
write_image (Image, 'bmp', 0, 'D:/D程序/外焊缝方案/保存图像/'+Month+Day+Hour+Minute+Second)
*外焊缝检测
*读取图片
*3.实时读图
* Image Acquisition 03: Code generated by Image Acquisition 03
* open_framegrabber ('GigEVision2', 0, 0, 0, 0, 0, 0, 'progressive', -1, 'default', -1, 'false', 'default', '34bd202941b3_GEV_MVCU013A0GC', 0, -1, AcqHandle)
* grab_image_start (AcqHandle,
halcon
于 2023-12-16 09:54:43 首次发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)