02-27-2006
11:31 AM
- last edited on
02-25-2025
11:03 AM
by
Content Cleaner
02-27-2006
02:16 PM
- last edited on
02-25-2025
11:05 AM
by
Content Cleaner
02-28-2006
02:32 PM
- last edited on
02-25-2025
11:05 AM
by
Content Cleaner
Marcos,
If you are using two instances of LabVIEW 8, I would first take the OPC part out and just try viewing Shared Variables on the remote computer. This needs to work. One document to check is the following KB: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P6vdSAC&l=en-US. I would also make sure the opcenum.exe service is running on both machines.
Once browsing to Shared Variables works, you can test the OPC aspect of the Shared Variable Engine. Server Explorer is an older OPC 2 client, but should work in most cases to browse to OPC Servers -- you'll need to make sure the registry settings on the host computer are set up correctly as per the KB you mentioned, and also make sure to connect to the OPC Server, add a group, and add items manually from within Server Explorer, rather than using the Wizard.
02-28-2006 05:48 PM
Thanks on the suggestions.
I already manage to read the shared variable value on the remote machine using both Server Explorer and Matrikon OPC Explorer. I accomplished this doing the following
On the remote computer I browsed the localhost tree to the "National Instruments.LookoutOPCServer1" Then I connected that server and added a group "x" in which I also added an Item. In the Item definition window I was able to see the localhost tree and the network tree in which I found the Remote Server with the Shared Variable that I was looking for. After adding this to the group I was able to read the values across the network. I tried this in different remote computers and worked fine. I also tried with generic OPC clients and also worked fine.
So now I am a little confused because I am accessing remote servers by browsing in my local LookOutOPCServer. Isn´t supposed to have to access from the "My Network Places" tree on the Server Explorer?
Best.
Marcos
02-28-2006 07:22 PM