Eclipse Milo: How to read history data?

3

I've tried write data to Eclipse Milo server and read history data the following way:

HistoryReadDetails hrd = new ReadRawModifiedDetails(false, DateTime.MIN_VALUE, DateTime.MIN_VALUE,UInteger.MAX,false);
TimestampsToReturn ttr = TimestampsToReturn.Both;
List<HistoryReadValueId> list = new ArrayList<>();
list.add(new HistoryReadValueId(new NodeId(2,"HelloWorld/ScalarTypes/Int32"), null, QualifiedName.NULL_VALUE,null));
HistoryReadResponse hrr = client.historyRead(hrd, ttr, true, list).get();

But got the following:

HistoryReadResult{StatusCode=StatusCode{name=Bad_NotSupported, value=0x803D0000, quality=bad}, ContinuationPoint=ByteString{bytes=null}, HistoryData=ExtensionObject{encoded=null, encodingTypeId=NodeId{ns=0, id=0}}}

Is this feature supported by Milo (I use local Milo as local server too) or I do something wrong ?

java
opc-ua
milo
asked on Stack Overflow Jul 13, 2017 by maximkr

1 Answer

1

The Milo Server SDK has support for implementing History services, but does not implement them for you.

You'll need to find a server that supports and implements history to develop and test your client against.

answered on Stack Overflow Jul 13, 2017 by Kevin Herron

User contributions licensed under CC BY-SA 3.0