Git Product home page Git Product logo

Comments (7)

oroulet avatar oroulet commented on July 24, 2024

Which SDK are you using? C++ or .net?
Can you send me a log which is failing with FreeOpcUa? And the terminal
output?

from freeopcua.

destogl avatar destogl commented on July 24, 2024

I am not sure which SDK because our project partners have a licence for this SDK, but I think is .NET.

I tried to extract the Writing event in Wireshark data so I hope it will be easier for you to check it. The variable is writeable (UaExpert says that) and in booth cases I am writing value 512 to variable ns=2; s=3001.Mode.

So here are the logs:

Terminal output

Wireshark log FreeeOpcUa client - only write event

Wireshark log UaExpert - write event begins at 0.0 (and I am not sure when it ends because of keepalive stuff)

from freeopcua.

oroulet avatar oroulet commented on July 24, 2024

I had a short look at it. looks like the only difference is that we set the
source timestampt while uaexpert does not. I think I remember something
similar with a plc.
I suppose that you write a variant using SetValue. Try to create a
DataValue object and do not set the variant, but do not set the
sourcetimestamp then write it using SetValue.
Let me know if it works
If it does we will remove this timestampt stuff, it seems many servers do
not support it

On 10 January 2015 at 09:42, Denis Štogl [email protected] wrote:

I am not sure which SDK because our project partners have a licence for
this SDK, but I think is .NET.

I tried to extract the Writing event in Wireshark data so I hope it will
be easier for you to check it. The variable is writeable (UaExpert says
that) and in booth cases I am writing value 512 to variable ns=2;
s=3001.Mode.

So here are the logs:

Terminal output http://marvin.kset.org/%7Edenis/Posao/term_output.log

Wireshark log FreeeOpcUa client
http://marvin.kset.org/%7Edenis/Posao/FreeOpcUa_client.pcapng - only
write event

Wireshark log UaExpert
http://marvin.kset.org/%7Edenis/Posao/UaExpert.pcapng - write event
begins at 0.0 (and I am not sure when it ends because of keepalive stuff)


Reply to this email directly or view it on GitHub
#108 (comment).

from freeopcua.

oroulet avatar oroulet commented on July 24, 2024

SET the variant and do NOT set the timestamp... I mean

On 10 January 2015 at 10:18, Olivier Roulet-Dubonnet <
[email protected]> wrote:

I had a short look at it. looks like the only difference is that we set
the source timestampt while uaexpert does not. I think I remember something
similar with a plc.
I suppose that you write a variant using SetValue. Try to create a
DataValue object and do not set the variant, but do not set the
sourcetimestamp then write it using SetValue.
Let me know if it works
If it does we will remove this timestampt stuff, it seems many servers do
not support it

On 10 January 2015 at 09:42, Denis Štogl [email protected] wrote:

I am not sure which SDK because our project partners have a licence for
this SDK, but I think is .NET.

I tried to extract the Writing event in Wireshark data so I hope it will
be easier for you to check it. The variable is writeable (UaExpert says
that) and in booth cases I am writing value 512 to variable ns=2;
s=3001.Mode.

So here are the logs:

Terminal output http://marvin.kset.org/%7Edenis/Posao/term_output.log

Wireshark log FreeeOpcUa client
http://marvin.kset.org/%7Edenis/Posao/FreeOpcUa_client.pcapng - only
write event

Wireshark log UaExpert
http://marvin.kset.org/%7Edenis/Posao/UaExpert.pcapng - write event
begins at 0.0 (and I am not sure when it ends because of keepalive stuff)


Reply to this email directly or view it on GitHub
#108 (comment)
.

from freeopcua.

destogl avatar destogl commented on July 24, 2024

It works, and I created Pull-request with a quick hack (#109)

from freeopcua.

oroulet avatar oroulet commented on July 24, 2024

I am unsure what is the correct solution here. I think I will just remove
the second argument. it wil simplify the api, and if someone really want to
set the source timestamp they can always use DataValue

from freeopcua.

destogl avatar destogl commented on July 24, 2024

I am not sure how protocol is defined. I would go for a solution which is more according to the standard....

from freeopcua.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.