01-29-2015 12:28 PM
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.
01-30-2015 12:24 PM
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!
02-02-2015 12:08 AM
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)