Hey Everyone,
I have started developing an Ignition module to read/write values using our in-house historian.
I was able to get most of it running using the following example:
GitHub - IgnitionModuleDevelopmentCommunity/simpletaghistoryprovider: Tag History Provider Example
I have some questions:
-
Can I hide aggregates shown when configuring a Tag History binding? I am overriding getAvailableAggregates in TagHistoryQueryInterface, but that does not seem to do anything.
-
During startup, I would like to get all tags using my history tag provider. I have tried using a qualified path (histprov:{my_module_name}), but it seems that all the tag providers expect a TagPath instead.
-
Are deadband settings applied before values are sent to the DataSink? If not, can I hide these properties and show custom properties through TagHistoryProviderType.getStorageTagExtensionProperties?
-
What does TagHistoryProvider.queryDensity do? I have not been able to get this to be called with logging.
-
Are the advanced options "Bypass Tag History Cache" and "Avoid Scanclass Validation" handled by ignition or do I have to implement these in my TagHistoryProvider? I am still a little confused with exactly "Avoid Scanclass Validation" is doing. Is there a quality code associated when ignition is offline?
-
Does "Natural" sample type use the rate that the tag is written and configured in the tag group? Is this pre-calculated in getReturnSize or does my TagHistoryProvider have to do the calculation. I am always getting getReturnSize = 0 when I am using "Natural".