halcon异常检测(try catch)
- 资料
- 官方文档说明
- 程序测试
- 三级目录
资料
官方文档说明
程序测试
try
i:=0
k:=5/i
catch(exception)
ErrorCode:=exception[0]
endtry
dev_get_exception_data (exception, 'error_code', Value)
通过监控 “控制变量”,即可查看错误的具体信息
双击查看 exception,即可看到
微信扫一扫
try
i:=0
k:=5/i
catch(exception)
ErrorCode:=exception[0]
endtry
dev_get_exception_data (exception, 'error_code', Value)
通过监控 “控制变量”,即可查看错误的具体信息
双击查看 exception,即可看到
相关推荐