titanium-as / TitaniumAS.Opc.Client

Open source .NET client library for OPC DA
MIT License
193 stars 94 forks source link

Browsing elements throws exception #27

Open cemremengu opened 6 years ago

cemremengu commented 6 years ago

I am trying to browse the elements as shown in the readme

            Uri url = UrlBuilder.Build("Matrikon.OPC.Simulation.1");
            using (var server = new OpcDaServer(url))
            {
                // Connect to the server first.
                server.Connect();

                var browser = new OpcDaBrowserAuto(server);
                BrowseChildren(browser);
            }

However, I am getting an exception when itemId is null (as shown in the attached image). Any ideas what may be going wrong? excep

alexey-kachalov commented 6 years ago

Hi. Have you tried these things https://github.com/titanium-as/TitaniumAS.Opc.Client#troubleshooting ?