07-17-2015 08:29 AM
Greetings,
I have two exe one of which is on a lab PC that publishes network shared variables to a server. The other simply reads these variables in and plots them however, the one on the server is not getting the data from the PC variables. I have tried several things including registering the server under shared variables from the lab PC and, distribution manager which shows the data being published and have a good status. There must be somthing I have missed on the server exe side. Any ideas of what that may be?
07-17-2015 09:04 AM
Is it a networking/firewall issue? Have you tried running the server exe on the same PC to rule that out?
07-17-2015 09:20 AM
Yes, infact before I put it on the server ran it as a vi and it worked fine.
07-17-2015 09:21 AM
It's been a long time since I worked with shared variables in exes. If my memory serves correctly did you include your shared variables in the build?
07-17-2015 09:25 AM
I first tried that but it had issues and when I did some resarch on this forum it was stated that the exe that is serving data to the recieving exe (deployed on the server) should be the only one that will have the variables deployed in the build. I then re-compiled the exe on the server to not deploy shared variables.
07-17-2015 11:27 AM
I'm sorry that this won't be much help, but I had a LabVIEW Real-Time project that used Network Shared Variables very sparingly -- most of the communication between Host and Remote was via Network Streams, and I was only using NSV to monitor RT Performance once/second. It worked fine in Development mode, didn't work in "Application" mode, and I ended up saying "Who needs this hassle?", and removing this "feature" (duh -- I just realized that if I truly needed it, I could always get the RT side to send it as a Message to the Host, or could add another Network Stream, but I don't really need this functionality now ...).
Bob Schor
07-17-2015 11:56 AM
I have done this sucssesfully when I hooked a laptop up to the LAN, however I have checked the firewall and it is not interfering since I had IT remove the firewall temporarily. Could there be somthing in the configuration and setup of the variables that I missed?