LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

What are the differences between the EXE application(produced by the Labview Builder) and Labview 6.0 application?

My Labview application has four separated tasks with different priorities. When I am running the application under the Labview 6 all tasks always running properly. While I am producing EXE file with the Labview builder and run it sometimes all tasks are running properly and sometimes one of the tasks (high priority task) has a problem.
0 Kudos
Message 1 of 5
(3,082 Views)
Alex,

There have always been, in my observation, differences between how a VI runs in the development environment and the deployment (runtime) environment.

You seem to be describing an issue that I have some recollection of as having happened to me. In my case, a multithreaded application didn't work right as a built executable, but did as a VI in the LabVIEW environment.

In my case, it was the fault of the programmer (not me, I swear it...I didn't have the skill at the time for multi-threaded applications.) I therefore suggest two possibilities. The first is that your application may need some rework on the multi-threading. There is an application note on NIs website having to do with Multi-threading. My second suggestion is that there is
some behavioral differences between development and runtime environments that may be affecting your program operation. It would probably be easier for you to test this theory. To do so, you will need to build your application as a "loader". If you go to the "Developer Zone" link above, you will find a link there to "Developer Insights." Go there, and then go to the "Software Corner" article. This article explains how to create a loader, and why. Its easy.

If this doesn't solve (or even if it does) your problem, contact NI support at ni.com/ask. They will be able to help you further with this issue.

-Michael Du'Lyea
Advanced Test Engineering
http://advancedtestengineering
0 Kudos
Message 2 of 5
(3,082 Views)
> What are the differences between the EXE application(produced by the
> Labview Builder) and Labview 6.0 application?
>
> My Labview application has four separated tasks with different
> priorities. When I am running the application under the Labview 6 all
> tasks always running properly. While I am producing EXE file with the
> Labview builder and run it sometimes all tasks are running properly
> and sometimes one of the tasks (high priority task) has a problem.

If you made Tools Options changes, especially to the execution settings,
these are stored in the .ini file. It is usually a good practice to
copy the labview.ini file, rename it to match your exe and deploy is
with your exe. That way it should have the same settings as when run in
the EXE
.

Greg McKaskle
Message 3 of 5
(3,082 Views)
That's it.

I busted my ass to answer this question. I offered my experiences and insight, and someone puts a chicken poop rating on it without any explanation for their rating.

I am officially done with this forum.

I will not participate in a forum where I am treated this way.
0 Kudos
Message 4 of 5
(3,082 Views)
Labviewguru:

When I saw the above comment I was curious what a "chicken poop" rating was. I clicked on the single star, thinking it would show me the comments associated with the rating. Sorry, I made a mistake. Hopefully, this will not cause you great personal and professional grief. Seems to me that it wouldn't be a bad idea to "take a break" from this and other forums if it gets you so wound up.
Message 5 of 5
(3,082 Views)