I had it working before. I could create a new I/O server which I linked to my OPC server. Then I right clicked on the client I/O server and clicked on "create bound variables" where a tree structure came up in which I then selected tags to be bounded to my shared variables. Now for some reason, I can't see it anymore. I have tried EVERYTHING from restarting the OPC server to rebooting to configuring DCOM using that long kepware manual. This is not the only PC that is doing it (LV2010). I have another PC (both XP) with LV2009 that I have never got to work. I am very frustrated and need some help.
When you say that you can't see it anymore, what exactly can't you see? The tags that you want to bind or the OPC server? Could you also provide a little more information about your setup? What devices are you trying to get information off of? If you can post a picture of what you are seeing, that may be helpful as well.
Hopefully we will be able to get this working for you soon.
National Instruments | Applications Engineer | www.ni.com/support
Here are two screen shots. One is on another computer of a co-worker. It seems to work fine on his as it did on mine a couple of days ago. We are both reading from the same OPC Server software which is remote over the internet. It worked for me for a week and then stopped working all of a sudden. I tried to enable all of the permissions for DCOM because this is the only information I found on correcting the problem. I am fresh out of ideas. I will wait for your reply before I go ahead and re-install Labview 2010 to see if this will work. (Note: I tried re-installing the OPC Server software with no success).
Thanks for you help
Are you using NI OPC Server or KEPServerEX?
What is the version that you are using of the server?
Is the server running as a service or interactively?
I am using AO-OPC - OPC Server Software Version 2.0 by ABB. The version is 2.0. I am running it as a service
If you are able to run the server interactively I would try that and see if you can see it. This way both applications will be running under the same user. If that works then you will need to look into your DCOM settings to make sure that all accounts have been added to access and launch permissions. Keep in mind that the Kepware DCOM document is primarily for Kepware products and other vendors may have different requirements.
I have used this:
to open up all of the DCOM settings.
I just figured out that I can access it. I can't access it directly from my PC nor my laptop. But, I can access it through my PC (database) with my laptop (toshlap). This is impractical and won't work in my application.
The next thing to do is to check and see if you are getting any errors in the application or system event logs for the PCs when you attempt to connect and browse. Also have you installed any OPC Client or server applications on the PC since it was working properly? You could have mismatched OPC Core components. In some Operating Systems RPCss.dll can become corrupted which can manifest itself like this. If that is what is happening then this link can point you in the right direct to fix it.
Its a stab in the dark at best but you never know.