Questions tagged [open62541]

Used to tag questions related to the open62541 OPC UA stack.

79 questions
1
vote
0 answers

Error in adding properties my object Server OPC-UA

I am using the open62541 library [1.1.2-216-g50933d8]. Tell me how to add engineering units to my node? Му Node create: bool isOk = true; UA_VariableAttributes valueAttr = UA_VariableAttributes_default; UA_Variant_init(&valueAttr.value); …
vvpnet
  • 11
  • 2
1
vote
1 answer

OPC UA Global Discovery Server (GDS)

What is the best way to implement Global Discovery Server and Certificate Management? Does open62541 support these services or is there some better library that could be used (not necessarily open source)?
darlene
  • 13
  • 3
1
vote
0 answers

Openmodelica simulation of large model with OPC client connection crashes

I am using OpenModelica 1.18.0~dev-259-g9ebba11 on Ubuntu 20.04.2 LTS 64bit and have developed a fluid system model that throws errors when simulating with the flags -embeddedServer=opc-ua -rt=0.1. Even though startup of the embedded opc server,…
Briant
  • 31
  • 4
1
vote
1 answer

Using CMake to compile the project

My project structure looks like this. build - folder where cmake outputs the solution file client - client.c - CMakeLists.txt server - server.c - CMakeLists.txt open62541 - open62541.c - open62541.h -…
1
vote
0 answers

FindServers in OPC UA

I am trying to acquire server capability information of a server, without using multicast Extension(no MDNS). As FindServers method, works on applicationDescription and UA_registeredServer structure, I have modified the structure by adding the two…
1
vote
1 answer

Run docker container with open62541 server on Raspberry Pi

Description I am connected to my raspberry pi 1 ( via putty and I have already followed the steps as described here at "Building Debian Packages inside Docker Container with CMake on Ubuntu or Debian" I have cloned the docker-deb-builder repo and…
user7335295
  • 401
  • 2
  • 7
  • 31
1
vote
1 answer

Writing value to PLC tag with open62541

I am trying to write bool value to PLC Tag (turn relay on or off) using OPC UA as Client writing to OPC UA Server running on Siemens S7-1512 PLC. The client must be implemented in c/c++ I have tried a few different GUI clients with no issues. Also,…
R. Figura
  • 13
  • 5
1
vote
2 answers

open62541 browsing nodes an using its methods

I want to browse a specific node on my OPC UA Server and use its method. I use the open62541 stack and i want to use a selfmade client. My Client connects to the Server and then i use the given example to browse some Objects. It shows me the first…
opc_rookie
  • 37
  • 2
  • 6
1
vote
1 answer

How to implement Encryption for open62541 with the create_self-signed.py

I'm trying to implement Encryption for my "open62541" Server which i connect with the UaExpert-Client. First i created the self signed certificate with the "create_self-signed.py". After i executed the .py-file with the information of the…
opc_rookie
  • 37
  • 2
  • 6
1
vote
2 answers

How to transfer Files from OPC UA Client to Server

I want to Download and Upload, for example a .txt file, with the UA-Expert Client to/from a Server which i have set up on a Device. Could someone provide me a Step by Step solution or an example on how to implement this? I first followed the…
opc_rookie
  • 37
  • 2
  • 6
1
vote
1 answer

open62541: get all changed monitored items of subscription at the same time

As far as I can see from the OPC-UA specifications, on every publishing interval OPC-UA server sends one NotificationMessage containing all Notifications of all changes (I'm monitoring variable values) it has sampled in queue. But as I found in…
jevgenij
  • 824
  • 1
  • 7
  • 16
1
vote
1 answer

How can I compile the example xml file from the Open62541 tutorial?

I'm on chapter 11 of the official guide to the open62541 library. The html version is here. Before trying anything custom, I just want to try this feature in the most basic way by "compiling" their example xml file into C code, which can then be…
1
vote
1 answer

Build open62541 DLL with Visual Studio 2017

Hello community I would like to write UI for OPC UA server using open62541 lib. The input off software should read text file and cast data throe server to already available client. Stuck at stage where need compile dll file for further using it in…
Klasik
  • 872
  • 1
  • 9
  • 29
1
vote
1 answer

Connection to OpcUA-Server failed, because of "No suitable UserTokenPolicy"

I'm new to OpcUA and use Open62541 v3.0 - rc2. I'm trying to connect to an OpcUA-Server on an B&R Device. When I'm trying to connect to the Server (with username and Password) i get this message "No suitable UserTokenPolicy found for the possible…
1
vote
0 answers

open62541 Visual Studio 2017 error, OPCUA

I am trying to build open62541, generate files for VS 2017, using Cmake. I am having problem, "MSB6006 'cmd.exe' exited with code 1 error " for open62541 files. When I build the generated file from Cmake, using VS2017. I am trying to connect my…
Ahsan
  • 11
  • 1