I'm looking for some guidance or example code for migrating code that previously wrote directly to the Tag History Manager.
In Ignition 8.1 we used the GatewayTagHistoryManager's storeHistory() method and a BasicScanclassHistorySet to directly store history for a Tag, which by-passed writing to the Tag. Using the "historyProvider" property of the TagConfiguration we could see if history was enabled on the Tag before directly storing the history. In 8.3 it seems this has changed and the HistorianManager should be used to get a StorageEngine for these write operations? Is there a new dependency we can use to get access to the HistorianManager?
1 Like