milo

Building OPC UA Server for Historical Data Access using eclipse milo

本小妞迷上赌 提交于 2019-12-08 07:48:48
问题 I’m new to OPC-UA and came across eclipse milo project. Project seems interesting but there is very little developer help. I am trying to browse code to figure out how to implement Node with historical data. Project has other examples for reference but missing history service example. I tried to modify provided example in ExampleNameSpace.java to enable history on the UaVariableNode but in Prosys OPC UA Client, it doesn't enable "Show History" menu for the Node. Here is what I tried

Java OPC-UA Client Eclipse Milo endpoint URL changes to localhost

和自甴很熟 提交于 2019-12-07 03:28:53
问题 I am using Java OPC-UA client Eclipse Milo. Whenever I create a session using endpoint URL of server, method UaTcpStackClient.getEndpoints() changes URL to localhost . String endpointUrl = "opc.tcp://10.8.0.104:48809"; EndpointDescription[] endpoints = UaTcpStackClient.getEndpoints(endpointUrl).get(); EndpointDescription endpoint = Arrays.stream(endpoints) .filter(e -> e.getSecurityPolicyUri().equals(securityPolicy.getSecurityPolicyUri())) .findFirst().orElseThrow(() -> new Exception("no

Milo OPC UA Server with Historical Data Access

给你一囗甜甜゛ 提交于 2019-12-07 00:47:33
Hy, I’m new to milo (and OPC-UA) and try to implement an OPC-UA server with Historical Data Access. I reused the current milo server example and create a history node. On this node I can query (with the Prosys OPC UA Client) the empty history. I know that I have to implement the persistency of the history nodes by myself. So far so good – but I could not found any information about to handle the history read request and how to return the response. More precisely how to add the HistoryData to an HistoryReadResult @Override public void historyRead(HistoryReadContext context, HistoryReadDetails

Java OPC-UA Client Eclipse Milo endpoint URL changes to localhost

非 Y 不嫁゛ 提交于 2019-12-05 08:13:24
I am using Java OPC-UA client Eclipse Milo . Whenever I create a session using endpoint URL of server, method UaTcpStackClient.getEndpoints() changes URL to localhost . String endpointUrl = "opc.tcp://10.8.0.104:48809"; EndpointDescription[] endpoints = UaTcpStackClient.getEndpoints(endpointUrl).get(); EndpointDescription endpoint = Arrays.stream(endpoints) .filter(e -> e.getSecurityPolicyUri().equals(securityPolicy.getSecurityPolicyUri())) .findFirst().orElseThrow(() -> new Exception("no desired endpoints returned")); However value of endpoint.getEndpointUrl() returns opc.tcp://127.0.0.1:4880

Configuration OPC UA Server (Milo)?

给你一囗甜甜゛ 提交于 2019-12-04 16:16:24
I've just checked out the Eclipse Milo Project ( https://projects.eclipse.org/proposals/milo ), which seems to be a great project for an "open" OPC UA Client/Server even with the implemented OPC Stack. The project on github ( https://github.com/eclipse/milo ) contains a Hello World example, where an OPC Server is started and an example node is sent and received from the client. Everything works fine! But in my next step, I wanted to check if the server is configured correctly. Therefore I've installed Matrikon Explorer, but the Explorer is stating out "No OPC servers installed on this machine"