Hello,
I'm currently working in version 8.3 and looking for a way to push historical tag values.
Here’s what I’ve found so far:
The history management system has been redesigned and moved into a separate module called "historian", and as a result, the HistoryManager has been removed.
Currently, in version 8.1, I access storeHistory from the HistoryManager in order to push tag history values:
gatewayContext.getHistoryManager().storeHistory(...)
According to the documentation for system.tag.storeTagHistory
, it now seems that we should use system.historian.storeDataPoints
instead.
system.historian.storeDataPoints
relies on the storeAtomicPoints function from HistorianManagerImpl.
It's possible to retrieve the instance of HistorianManagerImpl using the getHistorianManager method from HistorianGatewayHook.
Is there a cleaner and more straightforward way to push historical tag values (ideally without relying on reflection or accessing the ScriptManager)?