- Posts: 22
- Thank you received: 0
Online Forums
Technical support is provided through Support Forums below. Anybody can view them; you need to Register/Login to our site (see links in upper right corner) in order to Post questions. You do not have to be a licensed user of our product.
Please read Rules for forum posts before reporting your issue or asking a question. OPC Labs team is actively monitoring the forums, and replies as soon as possible. Various technical information can also be found in our Knowledge Base. For your convenience, we have also assembled a Frequently Asked Questions page.
Do not use the Contact page for technical issues.
Variable Array Element Live Mapping in OpcUA
When I use "EasyOpcUADemo" project and try subscribe/read ellement in array element it works becouse
into subscribe function is passed NodeDescriptor which contain BrowsePath and NodeId.
But when I pass Only Browse path, subscribe does not work (on element in In array)
In attachment is recorded application (windows recorder) and modification "EasyOpcUADemo" source code.
It is right?
Please Log in or Create an account to join the conversation.
Specifically, the parts C and D.
For C, add a handler for the UpdateFailure event on the mapper, and check if any failures are reported.
For D, add extra mapped for the same node you have problems with, but give it MappingKind = UADataMappingKind.Exception, and check if that one is being set ( opclabs.doc-that.com/files/onlinedocs/QuickOpc/Latest/User%2...rame.html#Mapping%20Kinds.html )
Best regards
Please Log in or Create an account to join the conversation.
But In code I have 2 mapped variables (one is array element and next is variable in the same Parent node).
the 1. variable that is mapped from array Not work (Setter of property is never called)
the 2. variable Work correctrly (Setter is cyclicaly called...)
So from previous text I know that map function work partialy, but I do not know why is not work mapping of array element.
Is some variable in Mapper object that has reference on property Setter?
Or Is some explanation why is not work as want?
Thanks for help and response.
Please Log in or Create an account to join the conversation.
It should be possible to overcome this by pre-fixing the digit with an ampersand:
Best regards.ArrUDT_Counters.&8
Please Log in or Create an account to join the conversation.
I crated data model in .NET accoding example (UaConsoleLiveMapping).
But In my data model is variable that is array of structures (see picture in attachment).
I want to map 1 array elememnt from this variable. So above the property is define BrowseParht ".8" (see attachment)
When I call method AddToMapping it throw exception:
{"OPC-UA browse path format error: A namespace delimiter was expected.\nThe string to be parsed: \".ArrUDT_Counters.8\".\nSymbolic code: NamespaceDelimiterExpected."}
Can you tell me how to resolve this issue.
Thanks for response
Please Log in or Create an account to join the conversation.