halcon控制显示精度(精确到小数点后6位,精度足够了)

实践应用

set_tposition (WindowHandle3,50, 50)
write_string (WindowHandle3, '半径 D1=' +Ra[i]$'#f')
set_tposition (WindowHandle3, 150, 50)
write_string (WindowHandle3, '半径 D2=' + Rb[i]$'#f')
set_tposition (WindowHandle3, 250, 50)
write_string (WindowHandle3, '圆心 Row='+Row$'#f' +' Col='+Column$'#f')
set_tposition (WindowHandle3, 350, 50)
write_string (WindowHandle3, '宽 Width='+Width$'#f' +' 高 Height='+Height$'#f'+' 面积 S='+(3.1415926*Ra[i]*Rb[i])$'#f')

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-13
  • 2021-11-27
  • 2021-11-15
  • 2022-12-23
  • 2022-12-23
  • 2021-11-11
相关资源
相似解决方案