LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

OPC UA architecture

Thank you.

open62541 v.0.2.2 compiles and works!

Now I would like to try v.1.0....I think it will be a more stable release...

But simply I cannot find open62541.c and .h on the site...

Someone have already faced with this issue?

0 Kudos
Message 51 of 54
(1,289 Views)

you can find it here, let me know if it works.

i will have to do a server.

you have done a client or server?

 

Davide Vittorio G. - TLGB S.R.L.
Italian SW Developer
0 Kudos
Message 52 of 54
(1,285 Views)

Dear all, I have some update about OPC UA based on open62541.

 

I've followed the build guide and create with Visual Studio 2022 a .dll with the .lib and .h from 1.3.8 source, the latest at this date, that works in CVI.

 

you have to use CVI from 2017 to later one because of the clang compiler, in the older version is obsolete, no need to add WS2_32 from windows kit anymore, just add the 3 files attached in the zip to your project.

 

the file .h have some little modification from the original, especially I've commented line 992-1000, maybe someone knows the correct header to include.

 

 

#if defined (_MSC_VER) || defined(__clang__)
# ifndef UNDER_CE
#  include <io.h> //access
#  define UA_access _access
# endif
#else
# include <unistd.h> //access and tests
# define UA_access access
#endif

 

 

you can use the example in the source code to do some experiment, let me know if you discover any bug.

 

There's also a video instruction of every step I've done to create the library for future reminder.

Davide Vittorio G. - TLGB S.R.L.
Italian SW Developer
Download All
Message 53 of 54
(487 Views)

Thank you so much for the sharing


Certified LabWindows/CVI DEVELOPER (2004)
LabVIEW since 5.01 | LabWindows/CVI since 4.01
0 Kudos
Message 54 of 54
(54 Views)