wincc Function Trend Control 控件 是不是BUG

已锁定

楼前

  • 帖子

    544
  • 精华

    0
  • 被关注

    25

论坛等级:奇侠

注册时间:2008-12-04

白金 白金 如何晋级?

wincc Function Trend Control 控件 是不是BUG

883

3

2023-08-24 19:14:52

wincc Function Trend Control  第一次用

官案的案列 

'VBS301


Dim lngIndex


Dim dblAxisX(100)


Dim dblAxisY(100)


Dim objTrendControl


Dim objTrend


Set objTrendControl = ScreenItems("Control1")


Set objTrend = objTrendControl.GetTrend("Trend 1")


For lngIndex = 0 To 100


dblAxisX(lngIndex) = CDbl(lngIndex * 0.8)


dblAxisY(lngIndex) = CDbl(lngIndex)


Next


objTrend.InsertData dblAxisX, dblAxisY

------------------------------------------------

把for的值 改一下

For lngIndex = 100 To 200

 曲线会 多一根线   0--80

添加曲线的时候,好像会 尾连0 再到新曲线的头

加一条 多了2根 曲线

是**作不对?

wincc V7.5.2




wincc Function Trend Control 控件 是不是BUG 已锁定
编辑推荐: 关闭

请填写推广理由:

本版热门话题

SIMATIC WinCC / Panel

共有32575条技术帖

相关推荐

热门标签

相关帖子推荐

guzhang

恭喜,你发布的帖子

评为精华帖!

快扫描右侧二维码晒一晒吧!

再发帖或跟帖交流2条,就能晋升VIP啦!开启更多专属权限!

  • 分享

  • 只看
    楼主

top
您收到0封站内信:
×
×
信息提示
很抱歉!您所访问的页面不存在,或网址发生了变化,请稍后再试。