Professional OPC
Development Tools

logos

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?

More
19 Mar 2025 15:34 - 19 Mar 2025 15:36 #13490 by aris
I'm trying to read value from OPC UA Server. I'm using UaExpert to verify that the node is accessible. As shown in the attached image the status is good. I tried using nodeId as `/Channel/Spindle/actSpeed[u1,1]` and as `ns=0;i=84`, but even though the result says Succeeded the StatusCode is BadNodeIdUnknown. What is the correct nodeId I need to use?

var client = new EasyUAClient();
string serverUrl = "opc.tcp://192.168.214.1:4840";
var readRequests = new List
{    
    // did not work
    new(new UAEndpointDescriptor(serverUrl), new UANodeDescriptor("/Channel/Spindle/actSpeed[u1,1]")),
    // did not work
    new(new UAEndpointDescriptor(serverUrl), new UANodeDescriptor("ns=0;i=84")),
};
var values = client.ReadMultiple([.. readRequests]);
 
Attachments:
Last edit: 19 Mar 2025 15:36 by aris.

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

Moderators: supportvaclav.zaloudek
Time to create page: 0.131 seconds