From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems In Running Executable File

I Have A LabView Program Where The Sub VI Is a VI Tempelate,(I Already Tried Using Reentrant Function Through A VI,But I Had Some Issues<Which Caused The Program To Not Work Correctly>, Hence The *VIT)

 

The Problem Is While Creating An Executable File 

It Just Does Not Call The SUB VI

I Tried Changing The Path Name To Inside The Application.exe But Still No Luck

 

I Use Labview 2012

0 Kudos
Message 1 of 7
(2,907 Views)

Hello karthik9

 

I was wondering what you meant by a sub VI because if a sub Vi is not working well LabVIEW should not build an application for you.

 

can you please send your VI + subVI & a screen shot of your project window 

 

Thank you

Derick Mathew

Derick Mathew
0 Kudos
Message 2 of 7
(2,897 Views)

EveryThing Works Fine While In Development Mode But Not During Executable Mode

0 Kudos
Message 3 of 7
(2,890 Views)

Yes, so could you share a bit more , coz we need to look at what might be causing the problem 🙂



Also did you find this only when you built 1 particular project ???

Derick Mathew
0 Kudos
Message 4 of 7
(2,885 Views)

Hello,

 

Everyone, I guessed we meet the same issue.

 

During debug mode, the main program can load vit file by vit file path, the interface and function both are ok. as soon as I build all files to exe file, the program can work well but it just means function is ok, the interface invoved vit file all couldn't be showed normally.

 

I copied the original vit file to build package, there isn't any problem in Runing Executable File.

 

This is just one way to solve this problem. I don't think it's the best way, who can provide a better idea?  which way is only to include vit file as other vi during build exe package, and anyone don't easy change original vit file, thanks!

 

 

Champion

 

0 Kudos
Message 5 of 7
(2,801 Views)

@karthik9 wrote:

EveryThing Works Fine While In Development Mode But Not During Executable Mode


Can you use one path indicator and check what path it is taking

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 6 of 7
(2,778 Views)

well I finally used Reentrant Function by changing some part of the code...

the path was somrthing like application.exe\....\....vit(i'm not sure forgotten it)

thanks by the way

0 Kudos
Message 7 of 7
(2,772 Views)