Simulate Bad_RefreshInProgress

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

Moderator: uasdkcpp

Post Reply
ssmaung
Sr. Member
Sr. Member
Posts: 17
Joined: 09 Jun 2021, 11:42

Simulate Bad_RefreshInProgress

Post by ssmaung »

Hello,

Background:
I was trying to simulate to see Bad_RefreshInProgress error code.
But it seems I could not simulate to get this Bad_RefreshInProgress error code.
So I searched source code and found no line of code which returns Bad_RefreshInProgress in UASDK source code.

Question:
It is something that OPC UA Server should implement on our own?
Or SDK framework already can return it if I simulate correctly?

Thank you.

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

Re: Simulate Bad_RefreshInProgress

Post by Support Team »

Hello,

The C++ SDK should return the Bad_RefreshInProgress when the two or more Refresh calls are called simultaneously.
However, the check is still missing in the SDK. The check will be added in the next major release V1.8 which is planned for the end of the year.
Best regards
Unified Automation Support Team

ssmaung
Sr. Member
Sr. Member
Posts: 17
Joined: 09 Jun 2021, 11:42

Re: Simulate Bad_RefreshInProgress

Post by ssmaung »

Thank you very much for the information.

Post Reply