09-10-2008 08:58 AM
I have 2 applications runnng in different PC connected to the same network
Both applications are for testing purposes before going on with the real implementation. Written in LV 8.5 and based on Shared Variables.
While everything is fine when those application run on the same PC (in effect, localsystem), nothing seems to work when each is active in the proper PC.
Shared variables seem not to be seen from outside the PCs.
This happens also when I use Variable manager on both machines: I create a variable on PC1, defining it as published. Then I create another variable on the other machine (PC2) and try to bind it to the variable deifned in the PC1. Pressing the Browse button the list of PCs networked to mine appears. Selecting th eone I need (PC1), Variable Manager tries to populate the tree but hangs up. Or, better said, simply does not populate the tree. The ariable Manager still works but the item son the other PC are not seen.
Any suggestion?
Regards
Walter
09-10-2008 10:48 AM
Walter,
i asume that you are using network published shared variables.
But not seeing the variables on another machine there are several possible reasons:
a) Firewall (look here for ports)
b) The PCs have multiple network-adapters installed. See this link for further info.
c) The PCs are not within the same subnet
hope this helps,
Norbert
07-26-2011 01:25 PM
Hi there,
I'm having a very similar issue. My set up is 2 pc's on the same network, the "server" (date generated on this pc) running LV 8.0 ip#1, the other is running LV 2010 and will only see the data, ip#2.
I have set up two test network shared variables and configured them on the server machine Ip#1 to bind to ip#2. When I run the vi's I see that the shared variables are deployed to the particular machine.
On ip#1 I included a test vi in the project to read data from the ip#1 shared variable, and I see no data. I have other local shared variables working within ip#1, but the network shared variables cannot be read even within the same project.
Any ideas as to why I cannot read the networked shared variable within the same project on the same computer?
Also the link about multiple network-adaptors is dead. I have seen strange issues when configuring the networkd shared variables if I have a VPN sessing going to an outside network on both computers, I will see both the windows computer name and the ip address.
Is there anyway to delete a computer after adding it as a shared variable potential source?
Thanks for any help, there are a couple of questions here.
Jim