Newcomer question adding an OPC server to an existing Windows Desktop Application|OPC UA Implementation: Stacks, Tools, and Samples|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
Newcomer question adding an OPC server to an existing Windows Desktop Application
Avatar
Jason Hook
New Member
Members
Forum Posts: 2
Member Since:
03/05/2021
sp_UserOfflineSmall Offline
1
04/07/2021 - 15:44
sp_Permalink sp_Print

Hi,

I’ve got the OpcFoundation.NetStandard SDK and I’ve looked through the sample/reference applications and worked through some tutorials where the Server and Client applications are discrete Windows or Console applications.

What I’d like to do if it’s possible with the Foundation’s SDK is add an OPC Server to an existing Windows Desktop application (MVVM .NET Framework 4.6.2). I haven’t seen any tutorials for this use case so far.

I have created a proof of concept using other SDKs and I had a stab at using the Foundation’s SDK but have encountered some obstacles.

Has anyone seen a relevant tutorial or care to offer some advice about using the OpcFoundation.NetStandard SDK versus other SDKs?

Many thanks in advance,

Jason

Avatar
Randy Armstrong
Admin
Forum Posts: 1580
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
04/08/2021 - 13:34
sp_Permalink sp_Print sp_EditHistory

Many of the sample in this repo are built against NET Framework 4.6.2:

https://github.com/OPCFoundati…..rd-Samples

Do the samples build and run for you?

Avatar
Jason Hook
New Member
Members
Forum Posts: 2
Member Since:
03/05/2021
sp_UserOfflineSmall Offline
3
04/09/2021 - 04:21
sp_Permalink sp_Print

Hi Randy,

Thank you for the reply. I have managed to build and run the samples. I’ve also been able to use commercial SDKs to incorporate an OPC UA server into a WPF application and expose data from the running application via OPC UA.

I’m reverse engineering the samples but perhaps there’s a gap in the tutorials for a developer to start with an empty project and build a server from scratch with just the essential pieces necessary for the server to run and create a few nodes.

Jason

Avatar
Randy Armstrong
Admin
Forum Posts: 1580
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
4
04/10/2021 - 07:00
sp_Permalink sp_Print
Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 28
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1446
Posts: 4891