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.
What is the correct nodeId in my case?
What you did is fine for development - but insecure.
Secure way would be to place a copy of the (public part of the) server certificate into the proper certificate store (a directory on the disk, usually) so that the client can verify that it is connecting to the right server.
More info:
opclabs.doc-that.com/files/onlinedocs/OPCLabs-OpcStudio/Late...%20Instance%20Certificate.html
Many times, this just means copying the file from "rejected" to "trusted" store.
Regards
Please Log in or Create an account to join the conversation.
EasyUAClient.SharedParameters.EngineParameters.CertificateAcceptancePolicy = new OpcLabs.EasyOpc.UA.Engine.UACertificateAcceptancePolicy()
{
AcceptAnyCertificate = true
};
var client = new EasyUAClient();
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
For the correct example, see e.g. here: opclabs.doc-that.com/files/onlinedocs/OPCLabs-OpcStudio/Late...ind%20all%20registrations.html
More about it: opclabs.doc-that.com/files/onlinedocs/OPCLabs-OpcStudio/Late...Authentication%20(Client).html
Regards
Please Log in or Create an account to join the conversation.
new UAReadArguments(new UAEndpointDescriptor(serverUrl) { UserName="user", Password="password" }, new UANodeDescriptor("ns=2;s=/Channel/Spindle/actSpeed[u1,1]"))
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
ns=0 (namespace zero) is reserved for nodes defined by OPC Foundation. Your node is *not* in that namespace, In your image, an incorrect node is selected. You are looking at the Root node, not your node. You need to select (click on) your node in the left part of the screen, under Address Space (NOT under Data Access View). THEN you will see the right NodeId under Attributes.
Regards
Please Log in or Create an account to join the conversation.
Did you use "ns=2" as an example? It's just that according to the attached image the namespace is 0. So I did try `ns=2;s=/Channel/Spindle/actSpeed[u1,1]`, but now I get BadUserAccessDenied for StatusCode. If I do use ns=0 (`ns=0;s=/Channel/Spindle/actSpeed[u1,1]`) I get BadNodeIdUnknown
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
UaExpert will actually show the same to you if the select that node in the left pane (Address Space) and then inspect its NodeId attribute in the right pane (Attributes).
I hope this helps
Best regards
Please Log in or Create an account to join the conversation.