LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

shared variable only in Network Items, not under localhost

I have a LabVIEW 2015 application where I have written to a shared variable from another computer.

In Distributed System Manager I see on target that the SV-value (2) is received under Network Items, but not under

localhost. How do I handle this, so it is also received under localhost ?

Martin

 

Shared Variable problem2.gif

0 Kudos
Message 1 of 5
(3,369 Views)

A quick google search found this article: http://digital.ni.com/public.nsf/allkb/7815BCE435DCC432862575DA006FEBF8


LabVIEW Champion, CLA, CLED, CTD
(blog)
0 Kudos
Message 2 of 5
(3,358 Views)

Unfortunately that article gives me nothing related to this problem, as far as I can see.

0 Kudos
Message 3 of 5
(3,345 Views)

Did you enable aliasing and go through the binding process as described in the article? If not, you need to do that to link the shared variables to the other computer.

 

If you have done that, then it's probably a firewall / network configuration issue.

 

When you write to the shared variable, I believe the change should be reflected on the local shared variable engine and then through the aliasing it is applied to the remote shared variable engine.

 

Edit: Apologies - I had misread your post and thought you were able to write to localhost but not to the remote computer, not the other way around.


LabVIEW Champion, CLA, CLED, CTD
(blog)
0 Kudos
Message 4 of 5
(3,341 Views)

It is possible to see the same problem looking at the example attached to the article at

http://www.ni.com/white-paper/5715/en/

When I download and test this little example, I have to re-point the bound shared variables on computer2 

towards computer1. However, on computer 1, the shared variable library is only deployed on the localhost, not on the net,

making this impossible. So how do I solve this ?

Martin

0 Kudos
Message 5 of 5
(3,320 Views)