1,041 questions
1
vote
0
answers
60
views
How can I define a structure type in an OPC-UA server?
I am using OPCFoundation.NetStandard.Opc.Ua.Server (version 1.5.377.22) and would like to:
Create a structure data type on the server.
Create a variable node of that data type on the server.
Set ...
1
vote
1
answer
74
views
open62541: Bulk subscription with UA_Client_MonitoredItems_createDataChanges does not trigger data change callbacks
I am implementing an OPC UA client using open62541 (v1.x), and I am facing an issue when subscribing to many tags in bulk mode.
Using the single-item API everything works correctly, but when I switch ...
1
vote
1
answer
97
views
Reading and Writing CustomStructType with Eclipse Milo OPC-UA
I am new to OPC-UA and trying to use Eclipse Milo to read and write Objects but I am getting the following Error:
org.eclipse.milo.opcua.stack.core.UaSerializationException: no codec registered for ...
1
vote
1
answer
98
views
Opc ua client subscription does not trigger notification [closed]
In my c# opc ua server application (based on the .NET Standard Stack from the OPC Foundations reference server implementation) I have a List containing all items/variables to be published in each ...
1
vote
2
answers
76
views
Qt OPC UA Viewer (open62541) - Receiving statusCode "BadCertificateUntrusted" when connecting to real hardware
Reference source code: https://doc.qt.io/qt-6/qtopcua-opcuaviewer-example.html
I am attempting to establish a connection with an OPC UA server using the referenced program above.
In my current ...
1
vote
2
answers
69
views
Does apach camel 4.x not support opcua component any more?
I checked the doc about camel component 4.10.x. There is not component tag about opcua, which is shown in 3.22.x doc. Does apach camel 4.x not support opcua component any more? If so, how to integrate ...
1
vote
0
answers
60
views
How to implement user roles and access control in an OPC UA server using github.com/awcullen/opcua/server [Go]?
I'm building an OPC UA server using the awcullen/opcua/server. Basic operations like creating, reading, and writing nodes are working as expected.
Now I’d like to implement user roles with fine-...
1
vote
1
answer
101
views
Python opcua library -> get_value() function is not reading value, traceback show raise TimeoutError()
I am trying to read 4 nodes values. I wrote a test for a check kepserver connection and get_value from nodes and it works. Here is the test codes :
def kepware_test():
client = opcua.Client("...
1
vote
0
answers
148
views
OPC UA Python Client Connection Fails with "BadSecurityPolicyRejected" Despite Using Correct Certificate and Policy
Connecting to opc.tcp://172.16.0.1:4844...
C:\Users\Administrator\PycharmProjects\PythonProject1\intro.py:272: RuntimeWarning: coroutine 'Client.set_security_string' was never awaited
client....
2
votes
1
answer
120
views
Can't run the Qt OPC UA example
I have imported the example project available in the oficial docs and tried to build it but it fails on the find package step with the following message
[cmake] CMake Error at CMakeLists.txt:17 (...
1
vote
2
answers
124
views
JAXB Context expects empty namespace no matter what
I am facing an issue when unmarshalling an XML to my XJC Schema based generated classes using JAXB. I have read every post I've found so far, trying already who knows how many things, without success.
...
1
vote
0
answers
225
views
OPC Ua Client with open62541 v1.4.11.1 Client certificate without SubjectAltName
I have an issue with my OPC UA client implementation using open62541 v1.4.11.1. I have to connect to a OPC UA server with Security Policy: Basic256Sha256 and Message Security Mode: Sign & Encrypt. ...
1
vote
0
answers
43
views
Create Incrementing Counter from Boolean Tag in Kepserver
I feel like this question should have simple resolution, but I cannot seem to pin a solution down.
I am looking for a way to create an incrementing counter each time a Boolean tag evaluates to true. I ...
0
votes
0
answers
94
views
Why is browseName included in NodeId when adding OPC-UA variables in Node-RED?
I'm using Node-RED to create an OPC-UA structure dynamically. Everything is working fine, but I noticed that the browseName is being appended to the NodeId when adding variables.
Here is how I'm ...
1
vote
1
answer
230
views
ModuleNotFoundError: No module named 'asyncua'
I am having struggles figuring out why my asyncua library is not found after installation.
I tried pip install asyncua --user
pip3 install asyncua --user
its displayed in my pip list as
asyncua ...