02-22-2017 08:16 AM
Hello,
i am working on an application that is sending data to a shared variable locally on the computer.
The application works when i run it from labview, and i can see in distributed system manager that the shared variables are being deployed and updated with a value.
However, when i compile the program and run it as an executable, it does not work. I have traced it down to that the variable called "Local PSP Variable Root Container" returning an empty string when running as executable, instead of "ni.var.psp://localhost" when running from labview.
This is the case when i etst the executable on the same computer as when i run from source co9de, and when i test on other computers.
Does anyone have any tips what this problem could be caused by?
02-22-2017 09:30 AM
What settings do you have in your build specs? I suspect you don't have it set to deploy your SVs on executable startup
02-22-2017 09:33 AM
I have checked that option:
"Deploy shared variable libraries at application execution"
and selected both the libraries i am using.