如何读取ruler control中的统计数据

单击“计算统计数据”按钮后,会在ruler control窗口中显示最大值、最小值和平均值,如何用vbs读取出这些数据?

最佳答案

参考下:《WinCC Ruler Control – VBS 》
http://www.automation.siemens.com/WW/forum/guests/PostShow.aspx?PostID=143344&language=en

提问者对于答案的评价:
谢谢

Set RulerControl = ScreenItems("Control1")
 ”Pen1
    Set Pen1 = RulerControl.GetRow(1) ”Select the first row of you table
    Pen1_Average = Pen1.CellText(4) ”select the Collum 4(Average) of your selected row

原创文章,作者:more0621,如若转载,请注明出处:https://www.zhaoplc.com/plc223982.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2018年3月6日
下一篇 2018年3月6日

相关推荐