LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Async VI works during the IDE but no longer functional after building it to exe.

Solved!
Go to solution

Greetings everyone!

I have the below async (sub) vi that works during the development but no longer functional after building it to exe.

I hope that someone can point me to the right direction - as this application must work. Thanks in advanced!!

 

async.png

______________
KowdTek
LabVIEW 2009

One Step At A Time, Maybe Two...
0 Kudos
Message 1 of 5
(2,911 Views)
Solution
Accepted by topic author KowdTek

Read Why Do I Get Error 7 When Running My Executable Built in LabVIEW Versions 2009 and Later?

 

Actually, that is more about the change in file layout in a newer executable vs. old.  But the key point in there is the name of the executable becomes a part of the VI file path.

 

Also, did you remember to include that VI has part of the build?  I'm trying to find a few other links that explain this.

 

Here is one.  http://digital.ni.com/public.nsf/allkb/FD7DE8BC8FFC256C862565F4006BE363

 

 

0 Kudos
Message 2 of 5
(2,906 Views)
Solution
Accepted by topic author KowdTek

Did you include it in the build, in the Always Include subsection?

 

The other problem is you have a hardwired path in it. Use something like this instead.

 

Snap10.png

 

mcduff

Message 3 of 5
(2,903 Views)

Hi!

I have missed to include the vi as part of the build.

Thank you very much!!

______________
KowdTek
LabVIEW 2009

One Step At A Time, Maybe Two...
0 Kudos
Message 4 of 5
(2,871 Views)

Hello mcduff!

Thanks for pointing the hardwired path, adding the subvi as part of the build and changing the reference fixes the issue..

 

Thanks a lot..

______________
KowdTek
LabVIEW 2009

One Step At A Time, Maybe Two...
0 Kudos
Message 5 of 5
(2,865 Views)