ClientAndServer OPC UA application

Questions regarding the use of the High Perfomance SDK for Server development

Moderator: uasdkhpc

Post Reply
AnnieFYWu
Full Member
Full Member
Posts: 5
Joined: 18 May 2018, 09:54

ClientAndServer OPC UA application

Post by AnnieFYWu »

Hi,

Most of the OPC UA application is as a Server or as a Client, how about the ClientAndServer application?
If I want to create an OPC UA application with ClientAndServer application type, where should I set the application description?

Thanks.

User avatar
Support Team
Hero Member
Hero Member
Posts: 2532
Joined: 18 Mar 2011, 15:09

Re: ClientAndServer OPC UA application

Post by Support Team »

Hi Annie,

currently, this is hardcoded as Client in client code and as Server in server code.
Actually, this is just metadata, and gets only important when the application is registering at an LDS or GDS,
which is currently not implement anyway.

I added a feature request to make this configurable using the g_appconfig variable like the other application description parameters.
Best regards
Unified Automation Support Team

rajeesh
Jr. Member
Jr. Member
Posts: 1
Joined: 19 Aug 2020, 11:07

Re: ClientAndServer OPC UA application

Post by rajeesh »

Hi,

Glad to see that my question has already been asked and answered.

I'll have server and client running in separate background threads. I understand that uaapplication needs to be initialized only once therefore client and server shares the same configuration.

Is there any known limitation to this approach? can we manage different security configurations required to connect to different OPCUA servers?

Best Regards,
Rajeesh

Post Reply