12-12-2014 03:46 AM
Hello,
I have a project which contains two VI : Read and Write, a shared library which contains a Boolean (published on network, type : Bool, aliases uncheck).
In Write.vi (diagram), there is a button block and a shared var node linked.
The same thing in Read.vi
The aim is to make the .exe working on another PC.
In the project, I have created the installer and the application.
I try to run it on the second PC but it doesn't work.
Need help.
Solved! Go to Solution.
12-13-2014 05:45 PM
AS2307,
Are your read and write VIs both on the same computer hosting the shared variables? Are both of these VIs working on your development PC and do they work as executables on your development PC?
It would be helpful to know exactly what you have done that is working and what you have tried that does not work as there are some caveats with using share variables in executables as discussed in the article below.
http://www.ni.com/white-paper/5715/en/
12-14-2014 10:07 AM
Hi, thank's for answer.
My two VIs are on the same project in the first computer. I have created an installer and an executable which include the read.vi and the library.
When the .exe is running on the second computer, I launch the write.vi on the first computer and two are deployed
12-14-2014 10:07 AM
Hi, thank's for answer.
My two VIs are on the same project in the first computer. I have created an installer and an executable which include the read.vi and the library.
When the .exe is running on the second computer, I launch the write.vi on the first computer and two are deployed
12-14-2014 11:26 AM
If you run the executable on the first computer, do you still have the problem?
How are you selecting the SV? Is the path a local path or set to a specific IP?
12-14-2014 03:47 PM
Hi,
If I run the executable on my computer I still have the same problem.
I don't know how to select a specific form for the Shared Variables, I created them in the project's library and selected the type, that's all
12-14-2014 05:25 PM
You should probably attach the project if you want help debugging it.
If you aren't selecting a path, how would you expect the program to know where on the network the sv is?
12-14-2014 05:37 PM
12-14-2014 09:59 PM
Hi,
Do you have Labview run time engine installed on your PC?
-kdm
12-15-2014 12:52 AM
Yes , I saw it in C/Programmes/National Instrument/Shared/Labview Run Time