How to use Tooltip show a tag's description with Factorytalk View SE

xzy1023

Member
Join Date
Apr 2013
Location
Toronto
Posts
7
Hi all,

I'm working on a project in Factorytalk View Studio SE, 8.10.00.

I want to use tooltip which will display information about a tag's description whenever the user mouse's-over that device. Of cause, I can copy the description to the tooltip of objects one by one. But there are too many.

I am thinking use the VBA, like:

Sub test()

Dim tagTest As Tag
Set tagTest = CTag(NumericDisplay1.Expression)
NumericDisplay1.ToolTipText = tagTest.GetPropertyValue(tagPropIdDescription)

End Sub


Oviously, I can not convert the Expression(as String) to the Tag object.

Any tips? Ideas?
 
Last edited:
I did a quick trial and got the following to work

Private Sub Display_AnimationStart()

Set MyTagGroup = Application.CreateTagGroup(Me.AreaName)
MyTagGroup.Add NumericDisplay4.Expression
Dim Tag1 As Tag
Set Tag1 = MyTagGroup.Item(NumericDisplay4.Expression)

NumericDisplay4.ToolTipText = Tag1.GetPropertyValue(tagPropIdDescription)
End Sub
 
I did a quick trial and got the following to work

Private Sub Display_AnimationStart()

Set MyTagGroup = Application.CreateTagGroup(Me.AreaName)
MyTagGroup.Add NumericDisplay4.Expression
Dim Tag1 As Tag
Set Tag1 = MyTagGroup.Item(NumericDisplay4.Expression)

NumericDisplay4.ToolTipText = Tag1.GetPropertyValue(tagPropIdDescription)
End Sub

Working Great. Thx.
 

Similar Topics

Hey, first time poster here, several-month lurker. I have received a lot of helpful tips from this website in the past, but this latest problem...
Replies
9
Views
3,699
Hi Everybody, Does any one know how to show tooltip text in HMI Runtime? I am using SIEMENS MP277,10" Thanks Arvind S
Replies
4
Views
4,083
As the title says, I'm using CCW with a PV800 (and Micro850). I've made a scheduler in which a user can choose a month, day (1-31), hour (0-23)...
Replies
15
Views
499
Please help me, I have solve many week but still not solve it. I found trouble of factory talk studio when I set tag by browse address of OPC...
Replies
0
Views
117
Hi All, I'd like to know how to show 100 days of Alarm in the Alarm Summary in Aveva (Intouch) SCADA. I couldn't find any option like that in...
Replies
10
Views
826
Back
Top Bottom