LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Executable work on one latop but not on other

Solved!
Go to solution

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

0 Kudos
Message 1 of 16
(3,025 Views)

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.

-----------------------------------------------------------------------------------------
Reese, (former CLAD, future CLD)

Some people call me the Space Cowboy!
Some call me the gangster of love.
Some people call me MoReese!
...I'm right here baby, right here, right here, right here at home
0 Kudos
Message 2 of 16
(3,017 Views)

Hi,

 

Yes, RTE is installed with all the drivers related to project is also installed.

0 Kudos
Message 3 of 16
(3,010 Views)

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?

-----------------------------------------------------------------------------------------
Reese, (former CLAD, future CLD)

Some people call me the Space Cowboy!
Some call me the gangster of love.
Some people call me MoReese!
...I'm right here baby, right here, right here, right here at home
0 Kudos
Message 4 of 16
(3,002 Views)

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.

0 Kudos
Message 5 of 16
(2,999 Views)

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?

 

Ben64

0 Kudos
Message 6 of 16
(2,992 Views)

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).

0 Kudos
Message 7 of 16
(2,988 Views)

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?

-----------------------------------------------------------------------------------------
Reese, (former CLAD, future CLD)

Some people call me the Space Cowboy!
Some call me the gangster of love.
Some people call me MoReese!
...I'm right here baby, right here, right here, right here at home
0 Kudos
Message 8 of 16
(2,978 Views)

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.

0 Kudos
Message 9 of 16
(2,974 Views)

Did you also install the .aliases files with your executables? I think they give indication on the location of the shared variables.

 

Ben64

0 Kudos
Message 10 of 16
(2,965 Views)