LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

shared variable does not work between two computers

I am using LabVIEW 8 on Windows XP computers.
1. On one computer I have created two projects, writeProject and readProject.
2.  In the writeProject I have a shared variable, writeData, which is "network-published" double. In this project I have a writeData.vi which in while loop assigns a random value to the writeData variable.
3. In the readProject I have a shared variable, readData, which is "network-published" double and is bound to the writeData variable.  This is on the same computer as the writeProject.
4. I run both the writeData.vi and the readData.vi and all works fine.
 
5. Now, I create a readProject on a diferent computer.  Perform all the steps as described above and also in tools/shared variable/register computer, I have entered the IP address of the target computer on which the writeData shared variable exists.
6. Binding the readData variable fails in the following way.  When I browse for the source, in the "Select Source Item" dialog, I see <IP> <Populating Node...>, where <IP> is the IP address of the source computer (on which exists the writeData shared variable).  A very long time later it is still "Populating Node...".  Neddless to say, this readData.vi does not work!
 
What am I doing wrong?  Or, perhapse what else do I need to do to make it work?
0 Kudos
Message 1 of 3
(2,873 Views)

Hi,

I would suggest checking out the two KnowledgeBases I have linked below for common issues with Network Shared Variables. Let me know the results. Thanks!

Troubleshooting Network-Published Shared Variables

Why Are My Network Shared Variables Taking Very Long to Initialize?

Stephanie

0 Kudos
Message 2 of 3
(2,861 Views)
Thanks Stephanie,
The issue was with the fire wall.  Putting the few programs in the fire wall exceptions list fixed my problem.
Thanks again,
Zen
0 Kudos
Message 3 of 3
(2,850 Views)