I am looking for a method for finding all the places a given GEM is used in all of my Live displays. In particular, I'm wanting to be able to look at all the Chart and Sparkline GEMs to check which tags they are referring to. Is there an easy way to do this?
In reply to Matt Stoner:
In reply to Kent:
yes, all of the information is within the export. Here is an example of simple sparkline and highlighting the tag reference:
Andre Dicaire
In reply to Andre Dicaire:
When you open a faceplate with a trend object, it opens a connection to the OPC HDA server of DVCH and asks for the constructed tag for history, which may or may not be there. It will then pull ongoing data from the Workstations local OPC server for that tag. That way, the trend works with or without history. The Trend does not ask the DVCH for history until it is re-initialized, so each time you open this faceplate from the GEM, the DVCH OPC HDA call is made.
Can you post exactly where you see this message? Is it in a log, or in the Live Health monitor? Or is this in the Ejournal?
You can also look at the Faceplate display and check how the Trend Gem is setup to confirm this is the same syntax of your OPC HDA error. Here is Emerson default EDC faceplate tha tuses the CD_FPTRN_3PEN_DC Gem.
As you can see, it defines SP_D, PV_D and OUT_D for the parameters. Inside the GEM, the Trend is configured as
With Gem.Tag coming from the "Dsp.Tag" and Gem.FB from "Dsp.Context1", the trend paths are resolved at run time when the faceplate opens.
Interesting here is that SP_D and PV_D are set with the .STR qualifier, but OUT_D is not. This may explain why you don't see the OUT_D parameter as an error, and only see PV_D and SP_D. The .STR qualifier forces the comm layer to return the string rather than the integer value of the associated named set parameter. However, I'm not sure if this creates a discontinuity with DVCH where the configured path in history does not contain .STR. I saw an issue using the .NUM qualifier on an embedded trend, where history would not show for the tag, even though the tag was historized, but as a /PV.CV path. I removed .NUM and the trend started showing history data.
There are many layers here to evaluate. I'd have to do testing to confirm if .STR is causing an issue. But fundamentally, trending SP_D, OUT_D and PV_D of a DC or EDC is not an effective use of your Historian licensing. I would consider trending only the OUT_D.CV. The SP_D is captured in Ejournal as User Change and any failed start or loss of confirm will generate an alarm and using an E-Chart in DeltaV will give you a history of abnormal conditions affecting the asset. One history tag allows the data to be viewed across the time line of the Chart, with all specific events listed in detail.