Machine vision Cognex visionpro-common script editing and compilation errors, running errors and warning errors, debugging solutions

3. Cognex VisionPro Advanced Scripting Series Tutorials-3. Debugging methods for script editing errors and running errors, the difference between break and Continue_bilibili_bilibili
Insert image description here

First: Cognex visionpro script-edit compilation error

Cognex visionpro editing and compilation errors: mainly refers to grammatical errors in script writing.
The solution to debugging is mainly to get the message after compilation. (The results are obtained in the red box in the picture below)
![Insert picture description here](https://img-blog.csdnimg.cn/ef4cbefb8b6d47b680d5bb6ba4681ba9.png

Second: Cognex visionpro script-run error

Running errors mainly refer to the fact that there is no problem with compilation, but there is something wrong with the final result and the logic judgment is wrong​.
As a solution, we mainly solve it through the following steps.
Step 1: Change release to debug and turn on debug at the same time

Guess you like

Origin blog.csdn.net/weixin_44301520/article/details/132893448