当前位置:网站首页>[Halcon vision] programming logic
[Halcon vision] programming logic
2022-07-26 10:22:00 【Wenbus】
Halcon Programming , There are three main kinds of logic .
(1) Sequential structure : From top to bottom , One step operation .
(2) Selection structure :if...endif...
(3) Loop structure :for...endfor... while...endwhile...

* Programming logic
a:=2
b:=6
c:=8
d:=0
* Choice logic
if ((a<b or a<c) and a>0 )
d:=a
endif
* Circular logic
My_MaxVal:=0
k:=[a,b,c,d]
for Index := 0 to |k|-1 by 1
if (My_MaxVal<k[Index])
My_MaxVal:=k[Index]
endif
endfor
边栏推荐
- 【Halcon视觉】软件编程思路
- 在.NET 6.0中配置WebHostBuilder
- Okaleido生态核心权益OKA,尽在聚变Mining模式
- Kaptcha image verification code integration
- 如何写一篇百万阅读量的文章
- Use of pclint in vs2013
- Yarn 'TSC' is not an internal or external command, nor is it a runnable program or batch file. The problem that the command cannot be found after installing the global package
- Prevent XSS attacks
- Map key not configured and uniapp routing configuration and jump are reported by the uniapp < map >< /map > component
- 畅听,网文流量竞争的下一站?
猜你喜欢

SQL优化的魅力!从 30248s 到 0.001s

Distributed network communication framework: how to publish local services into RPC services

What will the new Fuzhou Xiamen railway bring to Fujian coastal areas?

【Halcon视觉】阈值分割

点赞,《新程序员》电子书限时免费领啦!

AirTest

Review of database -- 3. SQL language

The CLOB field cannot be converted when querying Damon database

Deduct daily question 838 of a certain day

【Halcon视觉】形态学腐蚀
随机推荐
string null转空字符串(空字符串是什么意思)
议程速递 | 7月27日分论坛议程一览
Li Kou - binary tree pruning
Map key not configured and uniapp routing configuration and jump are reported by the uniapp < map >< /map > component
Draw arrows with openlayer
Leetcode 504. Hex number
Distributed network communication framework: how to publish local services into RPC services
关于模板函数声明与定义的问题[通俗易懂]
IEEE conference upload font problem
Reproduce the snake game in C language (I) build pages and construct snakes
Use of pclint in vs2013
[Qualcomm][Network] qti服务分析
【Halcon视觉】形态学膨胀
在.NET 6.0中配置WebHostBuilder
Study notes of the third week of sophomore year
Learning about tensorflow (I)
【Halcon视觉】图像灰度变化
如何写一篇百万阅读量的文章
Application of crosstab in SQL Server
AirTest