- Posts: 23
- 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.
Getting URL for PLC Tag from UABrowseControl
Please Log in or Create an account to join the conversation.
In that case, the information you are looking for is in the properties of the dialog instance, under .InputsOutputs.CurrentNodeDescriptor.NodeDescriptor.NodeId.ExpandedText.
If you want to pass the information retrieved from the browsing methods to further QuickOPC calls, it is, however, recommended that you use the whole UANodeDescriptor object. That is, take just .InputsOutputs.CurrentNodeDescriptor.NodeDescriptor, and pass that to one of the Read methods. There are several reasons for that:
1) It is faster - the code does not have to format the string and then parse it back.
2) It is actually shorter code.
3) The UANodeDescriptor may contain additional information beside the Node ID, such as the rowse path - and that can be used by the component in some method calls to behave better.
4) In theory it would allow us to add more information to UANodeDescriptor without having to change the existing user code.
Best regards
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Unfortunately, your question is not clear to me. What steps you have done and at which point you have the difficulty? Which URL you are referring to - the URL of the server (endpoint), or the node ID (which isn't really a URL, it just contains the namespace URI but has other parts too).
Thank you
Please Log in or Create an account to join the conversation.
(All PLC tags are local)
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.