Sessione.Read() is returning OLD values

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

Moderator: uasdknet

Post Reply
Jr. Member
Jr. Member
Posts: 3
Joined: 04 Dec 2020, 10:23

Sessione.Read() is returning OLD values

Post by FabioLantek »

Hi guys!
I'll make it quick and simple:

when i make this call:

ReadValueIdCollection NodeIdToRead = new ReadValueIdCollection();
//Adding nodes to read....
return Session.Read(NodeIdToRead, 0, TimestampsToReturn.Both, null);

The values i get are OLD. BUT if i open UaExpert Client (The free client) my software immediately receives FRESH values!
What am i missing? Seems that i'm not forcing server to give me fresh values...

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

Re: Sessione.Read() is returning OLD values

Post by Support Team »

Hello Fabio,

for us, your call looks valid.
Unfortunately, we don't know of any case where that could happen. You could listen the communication via Wireshark to see what request the client is sending.
We assume there could be a issue in the server implementation too.
Best regards
Unified Automation Support Team

Post Reply