Hi,
Im trying to dynamically show comments for the selected tags in the history trend in wonderware intouch. Im using the following script:
Condition script:
Trendind2.Name <> HTGetPenName("HistTrend", HistTrend.UpdateCount,2)
While true:
DIM x2 AS MESSAGE; x2= HTGetPenName("HistTrend", HistTrend.UpdateCount,2); trendind2.Name = x2; {trendind2 is an indirect analog tag}
This method is working correctly when i select io real tags in the history trend.
Problem is that when I select an io discrete tag in the histrend it will not show the comment for this.
Does anyone have a solution for this?
Best regards
Im trying to dynamically show comments for the selected tags in the history trend in wonderware intouch. Im using the following script:
Condition script:
Trendind2.Name <> HTGetPenName("HistTrend", HistTrend.UpdateCount,2)
While true:
DIM x2 AS MESSAGE; x2= HTGetPenName("HistTrend", HistTrend.UpdateCount,2); trendind2.Name = x2; {trendind2 is an indirect analog tag}
This method is working correctly when i select io real tags in the history trend.
Problem is that when I select an io discrete tag in the histrend it will not show the comment for this.
Does anyone have a solution for this?
Best regards