05-01-2012 11:49 AM
I have a labview project in which the main programm calls the second program, I use shared variable to share information between these programs and made an executable, the problem I am facing is that execuatble works on the machine where it is made but on another machine. Is there any problem using shared variables in executables.? please let me know.
Solved! Go to Solution.
05-01-2012 12:43 PM
I'll ask the obvious question first: Did you install the RTE (run-time engine) on the other laptop in question? This must be installed to run LV .exe files.
05-01-2012 01:28 PM
Please be a bit more specific. What do the programs do? Are they sharing any other information, files, etc.? Are they just windows apps or are you using any hardware?
05-01-2012 01:31 PM
My main program is a data acquistion program, it take scans of a signal, the other program displays the progress of those scans as an progress bar, I am using shared variable to shared the number of scan in other program.both programs are two executables.
05-01-2012 01:56 PM
What do you mean by do not work? Not running at all or not getting the expected results? Are you using relative paths? Did you include the shared variables in the build?
05-01-2012 02:01 PM
I am using the correct path, also the shared variables( Network-published) are included in the build. The executable works on the machine its built on but not on other machine (works mean seeing the progress bar updated after every scan).
05-01-2012 02:39 PM
Why use a shared variable? Can't you combine the functionality of both .exe into one? What type of archetecture are you using in your main program?
05-01-2012 02:41 PM
I need two executable as they need to appear in two diferent monitor. The main program appears on the primary monitor, and second progress bar progress program appears on the second monitor usually for other people to see the progress of the program.The Main program is a big while loop.