tmahaf
September 4, 2024, 5:25pm
1
Here's the diagram from the documentation
We have remote tag providers on several gateways that our front end sever needs tag historical data from. I want to have the front end gateway query the data directly from database instead of it being routed through the gateway network with our multiple backend gateways housing the tag providers.
Im curious how I might fill in "History Driver" and "History Provider" with multiple gateways and multiple tag providers? Leave them blank?
pturmel
September 4, 2024, 6:07pm
2
You might find this discussion helpful:
I'm working on a couple tasks related to historians and history queries, and have encountered some behaviors of remote tag providers (RTPs) that have me stymied:
There's no public way to retrieve the gateway name that a RTP is pointing at, nor any public way to retrieve the far end's real tag provider name.
(Reflection has exposed com.inductiveautomation.ignition.gateway.tags.distributed.client.RemoteTagProvider and com.inductiveautomation.metro.api.ServerId to me, and a number of private fie…
FWIW, my new Exchange resource uses the reflection technique, discussed here:
New resource just uploaded to the Exchange (pending review).
Also available here:
https://www.automation-pros.com/TagReportUtility/
I intend to publish at this link as well as in the Exchange going forward.
Announcements will be in this topic. (:
Highlights:
Provides a Perspective Popup View that provides a user interface to system.tag.query() that entirely replicates the functionality of the Designer's Tag Report Tool.
Provides a Perspective Embedded View that provides Time Span selectio…
Fundamentally, you should be using fully-qualified historical tag paths (start with histprov:
) rather than simple tag paths (start with [provider]
).