LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

running .exe file

Hi all,
After generate an Installer from LabView 8.2 and install on a user PC. I noticed that the .exe was running slower than running in development mode, by looking at the flashing of LED during execution. But mainly it also missed one last action in a chain of sequence where it was executed OK under development mode.
Could somebody explain to me why I'm having this issue and how to fix it.
Thanks
 
0 Kudos
Message 1 of 6
(3,135 Views)

I am offering no help except that my EXE typically run faster and use less memory then if it run in the development environment.  Is it just LabVIEW code, calling ActiveX, instrument IO?

 

 

Matthew Fitzsimons

Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison
0 Kudos
Message 2 of 6
(3,126 Views)

Hi dphan128,

I hope you are doing well today! Can you explain the architecture of your program briefly? There might some memory management or other kind of issues, which your development machine may handle well but might not be handled well by your executing machine. What does the hardware on your executing machine look like? Is it different from your development machine? Here is a forums post which discusses these issues in a bit more detail:
My EXE takes about 8 times longer to run then the LLB from which it was compiled.


Have a great day!
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 3 of 6
(3,106 Views)
Hi Adnan Z.,
Thanks for responding to my question. Plaese look at my code and tell me what I did wrong. It seems to me that I have a racing problem with multiple while loops. Please look at the 2nd while loop from top. There are two similar events "Programming Tag" and "verify" that executes many frames of sequence. For some reason the correct data did not get thru the last frame and therefore it always goes to the FALSE case instead of the TRUE case as expected.
Thanks for helping.
dphan128

Message Edited by Support on 01-12-2007 09:01 AM

0 Kudos
Message 4 of 6
(3,091 Views)
Hi dphan128,

I hope you are doing well today! It would be really difficult for me to debug so much code especially if I have not written it and if I am not able to execute it well. I would highly encourage you to isolate the portion of your code where you are seeing issues and try to figure out where the problem is occurring. If you are still not able to figure out the issues, post that VI with the isolated portion of the code and I will try to have a look at it again.
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 5 of 6
(3,083 Views)

Hi Adnan Z,

Can the posted file be removed now. How can I do it.

dphan128

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