Problems with Read and Write services in getting started examples of the SDK

Questions regarding the use of the C++ SDK for Server or Client development or integration into customer products ...

Moderator: uasdkcpp

Post Reply
diana
Sr. Member
Sr. Member
Posts: 11
Joined: 27 Nov 2012, 08:16

Problems with Read and Write services in getting started examples of the SDK

Post by diana »

Dear UA Team,

I know that my question could appear a bit silly but I'm a newbie and I'm stuck with the following problem.

I'm using OPC UA SDK for your preferred language (C++ under linux). I've compiled all the servers and clients in server_gettingstarted/ and client_gettingstarted/, respectively. In a terminal, I launch server_lesson07 and in another terminal clent:lesson06. The client performs the connection with the server but when it start executing read and write, the following error message is shown:

** Try to call read for configured node ids
** Error: UaSession::read failed [ret=BadNothingToDo]
** Try to call write for configured node ids
** Error: UaSession::write failed [ret=BadNothingToDo]

I would be very grateful if you could help me in solving this problem. Any advice would be very useful for me.

Thanks in advance,

Diana

diana
Sr. Member
Sr. Member
Posts: 11
Joined: 27 Nov 2012, 08:16

Re:Problems with Read and Write services in getting started examples of the SDK

Post by diana »

From the following post:

http://www.unified-automation.com/forum ... y-step.htm

Does it mean that I cannot use the sample clients in clients_gettingstarted with the sample server in servers_gettingstarted? If so, is there an OPC UA Demo Server for linux?

Thanks,

Diana

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

Re:Problems with Read and Write services in getting started examples of the SDK

Post by Support Team »

If you download the "C++ based OPC UA Client/Server SDK Bundle" that contains the DemoServer already.

That post should answer the rest of the question:
http://www.unified-automation.com/foru ... ssons.htm

Best Regards,
Unified Automation Support Team
Best regards
Unified Automation Support Team

Post Reply