LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

why do my pictures disappear when i turn my code into an executable?

Hello -

 

  I have created a LabVIEW code (2010) that presents a number of pictures with words (similar to how a student would learn using flashcards).  The code seems to work fine as a *.vi.

 

  When I turn my code into an executable, the pictures disappear and are replaced by empty boxes.  From what I could find on the forums and online, it seems to be because the picture locations are hardcoded into the sub-vi's.  Though, I guess I could go find each path and try to make them more universal, there are hundreds of them and it would take a really long time.  Does anyone know of an easy solution here?

 

  Thanks!

 

DS

0 Kudos
Message 1 of 2
(2,061 Views)

@dansteed wrote:
Does anyone know of an easy solution here?

No, there is no easy solution to poor programming.

 

You can try to use search and replace to search for the text and replace it. Also be sure to read this: Why Does My Executable Not Work When Using the Current VI's Path Constant?

 

0 Kudos
Message 2 of 2
(2,049 Views)