LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

why run exe file slower run than vi format when we build exe application?

Solved!
Go to solution

hi,

we build executation file from vi but exe file run slower than vi file. I check it for several vi and obtain same result, that is slow ,  why?

thanks. 

0 Kudos
Message 1 of 6
(3,513 Views)

There is no possible way to answer such a question without any kind of details as to what your VI is doing, and in what ways it seems to have slowed down.

 

Try attaching your VI so someone can looki into it.

0 Kudos
Message 2 of 6
(3,507 Views)

my code have several subvi and dlls so when run my code ignor all items and see my code 

 

thanks.

0 Kudos
Message 3 of 6
(3,496 Views)

Wow that is a huge block diagram (in terms of X vs. Y).

 

You need to do some initial debugging before anyone here can help.  You need to isolate portions of the code, and determine which pieces of code are running slower.  We have no idea what is running slower ... only you do.  Tell us which portion of code is running slower, and we'll try to explain why.

http://www.medicollector.com
0 Kudos
Message 4 of 6
(3,483 Views)
Solution
Accepted by topic author meysam_b

Is the executable file running on the same PC as you developed it, or on a different PC when it runs slow?  (Thinking that if it is on a different PC, it is hanging up on errors for things that may not be installed on the 2nd PC.)

 

Where is the slowdown occurring?  Is it possible that you have errors occurring that you don't see (like in the database communication) and that is causing things to run slow because timeout errors are occurring?

 

I'd recommend building your VI with some debuggin code in it.  Such as indicators to display what is on error wires.  Perhaps create a simple subVI that will log a timestamp and description to a file and scatter that around your code so you can log the timing of the execution.

0 Kudos
Message 5 of 6
(3,482 Views)

Yes executable file running on the same PC as I developed it and I test my exe file on 4 computer, all computer run my exe file slower than my vi, but not equal time , means  computer with 4GB RAM faster run than 2GB RAM

 

so I think I should write some debugging code and say results for solve it.

 

 

0 Kudos
Message 6 of 6
(3,468 Views)