05-01-2012 11:49 AM
Hi All,
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.
Thanks,
Ankit
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:15 PM
Hi,
Yes, RTE is installed with all the drivers related to project is also installed.
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
Hi Reese,
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
05-01-2012 02:01 PM
Hi ,
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
Hi Reese,
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.
05-01-2012 02:56 PM