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.
ClientAndServer OPC UA application
Moderator: uasdkhpc
- Support Team
- Hero Member
- Posts: 3068
- Joined: 18 Mar 2011, 15:09
Re: ClientAndServer OPC UA application
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.
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
Unified Automation Support Team
-
- Jr. Member
- Posts: 1
- Joined: 19 Aug 2020, 11:07
Re: ClientAndServer OPC UA application
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
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