Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[milo-dev] 回复: 回复: Does client/server SDK of Eclipse Milo support Security/AE/HDA function

Hi,

I am a new comer of OPC and KEP Server.
About OPC HDA function, have encountered a new problem: "The server does not support the requested service". (Access OPC UA URL: opc.tcp://192.168.0.4:49320).

Does KEP Server use a different URL or port for HDA? In KEP Server (V6.0.2107.0),  the HDA function is enabled, how to access HDA server?

In KEPServerEX Settings, find Local Historian default port: 57012, but the LISTENING address in windows is 127.0.0.1:57012.  The IP is local, Can't be connected by another PC.

Does anyone know the config and access method for HDA?

------------------------------------------------------------------
发件人:Ari Suutari <Ari.Suutari@xxxxxxxxxxxxxxx>
发送时间:2017年4月6日(星期四) 13:21
收件人:george.ray <george.ray@xxxxxxxxxx>; milo developer discussions <milo-dev@xxxxxxxxxxx>; Kevin Herron <kevinherron@xxxxxxxxx>
主 题:RE: [milo-dev] 回复: Does client/server SDK of Eclipse Milo support Security/AE/HDA function

Hi,

 

I think that you need to use suitable derived HistoryReadDetails class, for example

ReadRawModifiedDetails. I have something like this In my (working code):

 

HistoryReadDetails hrd = new ReadRawModifiedDetails(false, begin, end, uint(0), false);

CompletableFuture<HistoryReadResponse> resp = client.historyRead(hrd, TimestampsToReturn.Server, false, readIds);

 

Ari S.

 

 

 

From: milo-dev-bounces@xxxxxxxxxxx [mailto:milo-dev-bounces@xxxxxxxxxxx]On Behalf Of george.ray
Sent: 6. huhtikuuta 2017 6:40
To: milo developer discussions <milo-dev@xxxxxxxxxxx>; Kevin Herron <kevinherron@xxxxxxxxx>
Subject: [milo-dev]
回复: Does client/server SDK of Eclipse Milo support Security/AE/HDA function

 

Hi, 

 

About HDA question, tesing code:

List<NodeId> nodeIds = ImmutableList.of(new NodeId(2, "ChannelTest.DeviceTest.Tag190"));
List<HistoryReadValueId> nodesToRead = new ArrayList<HistoryReadValueId>();
HistoryReadValueId valueId = new HistoryReadValueId(nodeIds.get(0), null, null, null);
nodesToRead.add(valueId);
CompletableFuture<HistoryReadResponse> historyResp = client.historyRead(new HistoryReadDetails(), TimestampsToReturn.Both, true, nodesToRead);

 But can't read history data.

 

------------------------------------------------------------------

发件人:george.ray <george.ray@xxxxxxxxxx>

发送时间:201746(星期四) 11:09

收件人:milo developer discussions <milo-dev@xxxxxxxxxxx>; Kevin Herron <kevinherron@xxxxxxxxx>

主 题:回复:[milo-dev] Does client/server SDK of Eclipse Milo support Security/AE/HDA function

 

Hi,

 

I want to test AE with Milo client and KEP Server,  and have some API questions.

For example, How to write the 4th parameter "_continuationPoint" of HistoryReadValueID constructor?

Does "client.historyRead" method need a monitor? The invoke will be block when reading?

 

Thanks!

Best regards, 

George Ray

 

------------------------------------------------------------------

发件人:Kevin Herron <kevinherron@xxxxxxxxx>

发送时间:201741(星期六) 06:15

收件人:george.ray <george.ray@xxxxxxxxxx>; milo developer discussions <milo-dev@xxxxxxxxxxx>

主 题:Re: [milo-dev] Does client/server SDK of Eclipse Milo support Security/AE/HDA function

 

The client supports everything. There's no examples for subscribing to alarms or calling history, but it's really just a matter of putting together the right request objects and invoking the service. Part 4 of the spec can help with this.

 

The server does not yet support events (so no AE). It does have stubs for implementing the history service calls (as of a few days ago), but that's up to your implementation to fulfill if you choose to support it.

 

On Thu, Mar 30, 2017 at 9:03 PM, george.ray <george.ray@xxxxxxxxxx> wrote:

Hi, 

 

Does client/server SDK of Eclipse Milo support Security/AE/HDA function?

if support, is there any reference example for the function

 

Thanks!

 

Best regards,

George Ray


_______________________________________________
milo-dev mailing list
milo-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/milo-dev

 

 

 



Back to the top