Hi,
The status code in the result(DataValue) from a UaClient_Session_BeginRead(...) is not as expected.
I am doing read operations on a server variables with status code "Uncertain" and the result status code is good. (But the same scenario returns "Uncertain" when using subscriptions! As expected.)
Is there somehting I am missing or a fix for this ?
Thank you,
Félix
UaClient Read does not return server status code
Moderator: uasdkc
-
- Jr. Member
- Posts: 2
- Joined: 21 Nov 2017, 15:46
- Support Team
- Hero Member
- Posts: 3064
- Joined: 18 Mar 2011, 15:09
Re: UaClient Read does not return server status code
Hello flapointe,
the StatusCode returned in a read response is not being altered by the SDK, so the server returns the value like that. Please use UaExpert to check if a read of the variable returns something different than when subscribing to it. The Attribute window of UaExpert shows the read result, dragging the item into the DA view shows the value that is returned by subscribing to the item. If the server returns different StatusCodes in the two scenarios, it might be a bug in the server.
the StatusCode returned in a read response is not being altered by the SDK, so the server returns the value like that. Please use UaExpert to check if a read of the variable returns something different than when subscribing to it. The Attribute window of UaExpert shows the read result, dragging the item into the DA view shows the value that is returned by subscribing to the item. If the server returns different StatusCodes in the two scenarios, it might be a bug in the server.
Best regards
Unified Automation Support Team
Unified Automation Support Team