Replies: 1 comment 1 reply
-
So deserializing the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was trying to write a wrapper abstraction around the
OPCFoundation.NetStandard.Opc.Ua
library. The intent was to simplify the interface a bit. Here is how the interface is meant to workThere is also a way to make subscribing to tag changes as well but that's no concern right now. Everything has been great until I came across a PLC program that uses nested variable tags. Up until now
Variable
nodes have stored a single value (whether an array, string, number, or boolean). I didn't even realize you could nest variable nodes inside of a variable node. I always thought that was what object nodes were for.In something like UA-Expert I would see
When getting the list of PLC tags my wrapper gets to
To
and goes "okay...that's a leaf in this tree branch" and doesn't keep going. If I try and go through all of the tags it takes ~13 minutes. I could try to deserialize the ExtensionObject into something likeExpandoObject
so I could do something likebut I've been very unsuccessful in that. I'm not really sure what I should do and could use some guidance.
Beta Was this translation helpful? Give feedback.
All reactions