OPCFoundation / UA-.NETStandard

OPC Unified Architecture .NET Standard
Other
1.9k stars 926 forks source link

Node in ReferenceServer is tagged as historizing, but does not allow historical access #2520

Open ThomasNehring opened 4 months ago

ThomasNehring commented 4 months ago

Type of issue

Current Behavior

The Reference Server offers a node with node id ns=3;i=2808 with browse path: Objects -> Data -> Dynamic -> Scalar -> Int32Value which has the attribute 'Historizing' set to true, but which does not allow access to historical data. When you try to look at the history in UAExpert in the History Trend View the error "Added item does not support historizing" comes up. The node is configured as historizing in the TestDataNodeManager.cs file in the Quickstarts.Servers project, line 198ff (method CreateAddressSpace).

Expected Behavior

The expected behaviour is that the node is recognized as history enabled by a client.

Steps To Reproduce

No response

Environment

- OS:
- Environment:
- Runtime:
- Nuget Version:
- Component:
- Server:
- Client:

Anything else?

Just a guess why it does not work: the HistoricalAccessServer in the Samples solution provides history enabled nodes. If you look at the source code you will note that the nodes are created as ArchiveItems/ArchiveItemStates, while, in the reference server, they aare created as ScalarValues/ScalarValueObjectStates.