Wonderware scripting query

DarrenG

Member
Join Date
Dec 2016
Location
London
Posts
74
Hello folks,

Another newbie question so I hope this is a relatively easy question for someone with a bit of experience. I have a few selectable 16-pen trends and would like to display the tag associated with a given pen number on the side as a legend. I'm just wondering what expression to use? There is an existing historical trend legend in the symbol library which is great for historical trends but doesn't seem to work for real time ones.

I have tried PenTrend_1.Pen1 in Value Display -> String but that returns an error "Cannot mix another type with string". After a bit of reading .Pen1 - .Pen8 are only used with historical trends and are TagID's hence the error message. I can display the name of the trend fine using PenTrend_1.Name, just not the tags associated with the pens :oops:

At this stage it's probably just quicker to ask.šŸ¤žšŸ»:confused:
 

Similar Topics

I am looking for a way to capture keyboard input data and store it in a tag. Something like ā€˜MessageTag = System.In.NextLine();ā€ From there I can...
Replies
2
Views
2,268
I would like to learn how to write scripts for Wonderware HMI. I have the the InTouch HMI Scripting and Logic Guide but I am way too green to get...
Replies
1
Views
1,683
I was wonder if anybody has a Archestra script that would allow me to "Show" or "Hide" a window in a custom graphic that I am creating. Any help...
Replies
7
Views
7,732
Hello. I am a electrician who has been to a wonderware programming traning course about 9 months ago and has not used any of training since. Our...
Replies
2
Views
7,284
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
137
Back
Top Bottom