"Read to local file" doesn't stop

Questions regarding the use of the UaExpert.

Moderator: uaexpert

Post Reply
fczech
Full Member
Full Member
Posts: 6
Joined: 19 Feb 2018, 11:52

"Read to local file" doesn't stop

Post by fczech »

Hi,

I'm currently implementing an OPC UA Server with File Access support. Therefore I want to use the "Read to local file" and "Write from local file" Feature that comes with the newest version of UAExpert (1.5.1).

I've already implemented the open, close and read methods. When I try to use the read to local file function, uaexpert sends an Open Request and endless Read Requests. (I haven't implemented reading the size yet)
Therefore I have the following question:
Is UAExpert expecting a specific Statuscode when the end of the file is reached? Or how will uaexpert stop?

Thanks in advance.

fczech
Full Member
Full Member
Posts: 6
Joined: 19 Feb 2018, 11:52

Re: "Read to local file" doesn't stop

Post by fczech »

I've rechecked the returned values and noticed that the bytestring was not empty.
After changing this everything worked as expected.

Post Reply