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.
- Forum
- Discussions
- QuickOPC-UA in .NET
- Discovery, Browsing, Browse Dialogs and Controls
- Cannot browse nodes on Red Lion OPC server through VPN
Cannot browse nodes on Red Lion OPC server through VPN
We now have two options - one is the VPN you mentioned. The other is to collect the traces of the communication (the one that works - with the other tool; and the one which does not work) using Wireshark, and send them to us for analysis. WOuld you be willing to do that? (I can give further instructions then).
BTW, didn't you use some username/password in the other OPC UA client to open the connection? Sometimes the OPC server uses user authentication, but also allows unauthenticated access - falling back to a "minimal" mode where only limited functionality is available. That would explain the different results. If so, QuickOPC allows to specify the user credentials as well.
Best regards
Please Log in or Create an account to join the conversation.
It seems, however, that there is a trial version of the server for download. I will see if I can get it to work and reproduce the issue. Otherwise, we will proceed to the VPN option.
Give me some time. I will notify you here when I know more.
Best regards
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Attachments:
Please Log in or Create an account to join the conversation.
For start, I would change UAObjectIds.Server to UAObjectIds.ObjectsFolder.
Best regards
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I have some questions:
1. Are you saying that the code doe not go to the "catch" block (the Browse does not throw an exception), but it also doe snot print out any nodes?
2. Which "other application" is able to show the nodes? Can you post a screenshot?
Thank you
Please Log in or Create an account to join the conversation.
UAEndpointDescriptor endpointDescriptor = new UAEndpointDescriptor("opc.tcp://192.168.3.66:4840");
// Instantiate the client object
var client = new EasyUAClient();
// Obtain nodes under "Server" node
UANodeElementCollection nodeElementCollection;
try
{
nodeElementCollection = client.Browse(
endpointDescriptor,
UAObjectIds.Server,
new UABrowseParameters(UANodeClass.All, new[] { UAReferenceTypeIds.References }));
}
catch (UAException uaException)
{
Console.WriteLine("*** Failure: {0}", uaException.GetBaseException().Message);
return;
}
Console.WriteLine(nodeElementCollection.Count);
// Display results
foreach (UANodeElement nodeElement in nodeElementCollection)
{
Console.WriteLine();
Console.WriteLine("nodeElement.NodeId: {0}", nodeElement.NodeId);
Console.WriteLine("nodeElement.DisplayName: {0}", nodeElement.DisplayName);
}
Console.ReadLine();
Please Log in or Create an account to join the conversation.
- Forum
- Discussions
- QuickOPC-UA in .NET
- Discovery, Browsing, Browse Dialogs and Controls
- Cannot browse nodes on Red Lion OPC server through VPN