From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.



在Vision Builder for Automated Inspection中的数值精度



主要软件:
主要软件版本: 2.6.1
主要软件修正版本: N/A
次要软件: N/A

问题: 在VBAI中,所有的数值测量都仅仅显示两位精度,VBAI能够提供更高位的精度吗?如果可以的话,我如何显示超过两位的精度。

解答:

在VBAI中,虽然数值测量是以两位的精度来显示的,但是要想获得更高位的精度,也是可以的,超过两位的精度用在数值计算中,但是为了显示简单起见,超过两位的精度默认被四舍五入掉了。

在VBAI里,要获得更高位的精度,有三种方式。

2.6.1版本--在Use Additional Tools列表中,有一步叫Display Image,它可以增加custom overlay,选中这一步再选择Edit Custom Overlay,然后add text,再然后insert data。要改变数值精度,选择fractional 而不是decimal for the string format。

3.0以后的版本--在Use Additional Tools列表中,有一步叫Custom Overlay。选中这一步找到Custom Overlay 项,选择Text tool,再在你的图像上点击放下custom overlay,现在在custom overlay栏,右下角有一个尺子的图标,你可以点击来Insert Measurement,要改变数值精度,选择fractional 而不是decimal for the string format。

 



相关链接: KnowledgeBase 3ZUFALD3: No Overlays for Custom Steps in Vision Builder AI


附件:





报告日期: 07/28/2006
最近更新: 11/12/2011
文档编号: 3ZRCC0S4