09-11-2013 10:26 AM
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.
Solved! Go to Solution.
09-11-2013 10:42 AM
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.
09-11-2013 11:03 AM
my code have several subvi and dlls so when run my code ignor all items and see my code
thanks.
09-11-2013 11:15 AM
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.
09-11-2013 11:17 AM
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.
09-11-2013 11:33 AM
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.