LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI Network Browser Error

We get this error when calling LabVIEW 2011\vi.lib\Platform\dataskt.llb\DataSocket Select URL.vi, to browse for channels from a third-party OPC Server on another computer on the network. The DataSocket browser window does not open.

 

The ProgID does not exist

BTS.ARTS.OPCDA.1

error code = 0x00000002

The system cannot find the file specified.

 

This is in a LV application that has been using the same code for years with no problem, but maybe there's something different about this customer's network setup or ... ?  The same code worked fine from our application installed and running in the same way on another computer on the same network (still a different computer from the OPC server).

 

Anybody know what file it's referring to, or what missing thing to look for?

Any other ideas? Thanks.

 

0 Kudos
Message 1 of 3
(3,094 Views)

This missing thing is from the third-party OPC Server, nothing to do with NI components. However, NI's OPC test client and a third-party client have no trouble seeing the OPC server's channels, but this DataSocket browser VI in our application does have trouble. Sometimes we get the error and sometimes we get the browser but it doesn't show everything the server has. Gettng OPC connections to work reliably, with all the various versions and topographies possible, is challenging!

0 Kudos
Message 2 of 3
(3,060 Views)

Hi Jova,


Which OPC Server are you using? Have you checked the DCOM settings to have access to your 3rd party server on that computer? Also, another thing that could be good to check would be window firewall, I looked at the following links and think that it might be useful to check the configuration of the client

 

http://digital.ni.com/public.nsf/allkb/8FB44A1162DE1B5F862574440072CF0B ( Windows Firewall settings to allow OPC server communication)

 

http://digital.ni.com/public.nsf/allkb/5C8A90CD57B279F286256C2C006F1EB4 (Access to OPC Servers using NI OPC Clients)

Regards,

Sil.VI
0 Kudos
Message 3 of 3
(3,030 Views)