Defining tooltip text for an indicator box in PG2 from converted VB picture
Hi all!
I've recently started to convert a bunch of our OS screen pictures from original VB to PG2. Basically, I've been using the migration tool with some manual adjustments.
One thing I've stumbled upon is the tooltip text for migrated indicator boxes. The text is not editable for said object, but the appearing text is generic, i.e. "IndicatorBox01", for all indicator boxes of this type (see figure ind_box.png).
For other migrated objects e.g. valves the tooltip text is neither editable, but adopts the tag defined in the "Element" property. This is depicted in figure valve.png.
What I would like for the indicator box is to adopt tag name as the tooltip text in a similar fashion as the valve.
Enyone around here who have solved this problem directly?
Another way around may be to replace the migrated indicator box with an original PG2 indicator box, but I'm quite rookie in using PG2 and need some pointers on how to set up the indicator box, i.e. basically where to define connected tag. The rest shouldn't be much.
Any help is appreciated!
Cheers,
Andy
Voted best answer
Hi Andy
it is really strange.
check Data references tool in PG2 graphic editor. There should not be any yellow warning.
If you click on DI in runtime graphic correct faceplate is opening ?
Try to insert IndicatorBox01 from library (Object Type structure -> Object Types -> Control System -> AdvantMasterObjectTypes ->MB300 Process Objects ->MB300 Signals -> MB300 DI ) , change object name in Element property then.
Try to make a copy of IndicatorBox01 in Object Type structure path mentioned above. Edit a copy and investigate a problem in the IndicatorBox01. (new library version brings new bugs?) Possibly add ToolTip element hosted input element inside copied IndicatorBox01.
Kamil
Answers
Hi Andy,
check property "Element" of particular IndicatorBox01 in Graphic editor. There should be setting like $'150-8A8FS0111:IndicatorBox01' .
In this example 150-8A8FS0111 is Tag name and it is shown as tooltip.
Probably Tag Names were not converted from VB during migration to PG2 I guess ?
Check also VB graphic whether Object Path property contains correct Tag names.
Kamil
You're onto something I forgot to mention. The object _is_ connected to the tag (Element is properly defined). Hence, the problem with the generic tooltip text persist. I've tried to search for the tag in element explorer and it returns several objects available - among them an indicator box. Inserting this indicator leads to the same problem - the tooltip text is consistently "IndicatorBox01".
The attached figure depicts the problem (see figure ind_box_2).
From the origial figure (VB) the problem is non-existing (see figure ind_box_vb).
Any other ideas what may cause this discrepancy?
Could it be related to the pairing of my AC450 controller with PG2 graphics on some level?
I have tried the same operation on a similar system where we have AC800 controller onto 800xA - this resulted in displaying correct tooltip text.
Best regards,
Andy
right click on the element in the items box, add a "add item hosted input item"-"tooltip", input the tooltip one by one ...
Hi,
My actual problem is similar to yours.
Here is what I did. I edited the graphic element from the Object Type Strucure then add a Tooltip as an Element Hosted Input Item then browse for the Object Name + "\n" + Object Description to get the description on a second line.
That worked fine for me.
You can also do the following
User Structure
Choose a user
Select the aspect : Select Graphics Profile Values PG2
Select TooltipFormatP
Type : %ObjectName%
Do this for all users
Depending on the number of users, you could possibly use Bulk Data Manager ?
by Andreas Volden Rank: 514 on 7/11/2017 11:53:08 PM | Like (0) | Report
I forgot to mention that the controller in this case is an AC450 connected to our 800xA system on top.
Add new comment