Cognex Designer 2.0示例:相机触发与图像处理.pdfVIP

  • 0
  • 0
  • 约5.2千字
  • 约 6页
  • 2026-02-04 发布于四川
  • 举报

Cognex Designer 2.0示例:相机触发与图像处理.pdf

Designer2.0示例

相机

本节包含使用CognexDesigner中的头的示例代码。

Min.

描述设计师

版本

示例#1:通过视觉触发DS获取

控制器2.0()

这是一个逐步,介绍如何

通过视觉控制器触发DS相机并2.0

测量经过的时间。(这是之前的

触发示例的更新版本

适用于Designer2.0)

示例#2:使用集合选择相机

处理块

在这个示例中,我们从4获取图像

相机。在每次迭代中,我们在HMI页面上显示由不同的2.0

相机获取的图像

页面。我们使用“组合集合”和“获取”

通过索引块选择要显示的图像。

通信

Designer2.0Samp

Camera

ThissectioncontainstheSamplecodesusingCamerasinCognexDesigner.

Min.

DescriptionDesigner

Version

Sample#1:TriggeringDSAcquisitionbyVision

Controller2.0(tutorial)

Thisisastep-by-steptutorialabouthowto

triggeraDScamerafromVisionControllerand2.0

measuretheelapsedtime.(Thisistheupdated

versionoftheprevioustriggeringtutorialsample

forDesigner2.0)

Sample#2:Selectingcamerausingthecollection

handlerblocks

Inthisexampleweareacquiringimagesfrom4

cameras.Ineachiterationweareshowingan2.0

imageacquiredbyadifferentcameraintheHMI

page.Weareusing“composecollection”and“get

byindex”blockstoselecttheimagetoshow.

Communication

本节包含使用CognexDesigner中的TCP/IP和COM设备的示例代码。

Min.

描述设计师

版本

示例TCP聊天

在这个示例中,我们使用发送和接收

2.0

模块来执行通信

两个客户端之间。

通信卡

本部分包含使用Cognex通信卡在CognexDesigner中的示例代码。

Min.

文档评论(0)

1亿VIP精品文档

相关文档