Professional OPC
Development Tools


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.

Node is not selectable

21 Oct 2021 07:53 #10274 by wsalvin
We use Delphi.
We try to configure the initial set of the selected nodes (when the dialog is first displayed to the user) in TUABrowseDialog.
From documentation this is given by the contents of the InputOutputs.SelectionDescriptors collection.
We initialize it like this
MyUABrowseNodeDescriptor  :=  CoUABrowseNodeDescriptor.Create;
MyUABrowseNodeDescriptor.EndpointDescriptor.UrlString := 'opc.tcp://';
MyUABrowseNodeDescriptor.EndpointDescriptor.UserIdentity.UserNameTokenInfo.UserName :='Hello';
MyUABrowseNodeDescriptor.EndpointDescriptor.UserIdentity.UserNameTokenInfo.Password :='psw';
We get the following error in UABrowseDialog :
Type: OpcLabs.BaseLib.Forms.Browsing.Parts.BrowseNodesException
HResult: -2146233088 (0x80131500)
Message: Cannot set selected path: Hosts=Hosts > OPC UA > OPC UA Endpoint=opc.tcp://...:51210/UA/SampleServer. Node is not selectable.
How can we workaround that?
Is it the good way to do?

BTW: Our final Goal is to memorize the node configured by the user when he quits our application in order he find it next time he connects.

Please Log in or Create an account to join the conversation.

Moderators: support
Time to create page: 0.050 seconds