Wonderware intouch histrend show comments

RobinH

Member
Join Date
Jun 2012
Location
Trondheim
Posts
54
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
 
Yes, all discrete and real tags in the system er configured for historical logging.

The discrete tag is working in the trend, but when selected my script will not show any text for it. Probably because my script is taking a indirect analog.
 
Yes, i have a solution for it.

The solution is to have two condition scripts, one for ioreal and one for iodiscrete.
This will give 16 condition scripts since there are 8 pen trend in history trend.

I want to know if there is an easier way to solve this that combine both analog and digital tags?
 

Similar Topics

Hi guys, I have experience with PLC to Excel etc...just starting on using intouch scada screens. I have an Excel sheet that uses mainly...
Replies
1
Views
134
Hola chicos. Tengo un problema con el driver de comucicacion dasabcip 5, y un plc controllogix v34, ya realice la comunicacion pero en ciertos...
Replies
2
Views
148
Hi, I am upgrading a Wonderware SCADA form version 9.5 to version 23. I am able to migrate all the graphic, but when to activate the runtime this...
Replies
8
Views
402
Hi all, I am using OI.GATEWAY.2 to communicate to the PLC using an OPC UA. I can see the tags using an OPC explorer connecting to the...
Replies
0
Views
175
For a while, I have been working with InTouch 10.1. The problem I am currently facing is the need to implement certain functions that do not...
Replies
0
Views
476
Back
Top Bottom