01-02-2014 04:51 PM
Hi,
after building my application, when I run it, the progress bar that was correctly working before, seems not to work. Any explanation?
Thank you.
01-02-2014 08:32 PM
@agyna wrote:
Hi,
after building my application, when I run it, the progress bar that was correctly working before, seems not to work. Any explanation?
Thank you.
You're going to need to be far more specific. Attach something: code, screenshots, LabVIEW version, platform, what have you tried, what defines "correct" operation... anything.
01-02-2014 11:27 PM
I have this part of the code running perfectly, with the progress bar as show here. But when I build the .exe and run it, the progress bar is not showing.
01-03-2014 12:01 AM
Is the progress bar subVI set to show its front panel when called? Make sure the build specifications don't remove the front panel.
(For example, if you call it by reference, LabVIEW cannot tell and might remove the panel during the build (by default)).
It is difficult to tell without seeing actual code. can you attach a simplified version? How is the subVI called?
01-03-2014 02:26 AM
Hi,
I have posted some code simplified code here whit the .csv file you can try.
01-03-2014 02:29 AM
Well, we probably need the progress bar subVIs too. They are the central point of this discussion. Who wrote them?
01-03-2014 03:55 PM
it is attached here:
01-03-2014 04:26 PM - edited 01-03-2014 04:30 PM
Well, the progress bar is run by reference (using a lot of depreciated properties, this thing is ancient and very convoluted!).
Since it is not called directly, the exe builder has no idea if the front panel should be retained or not.
When creating the build spec for the executable, you need to find "progressbar.vi" and make sure the front panel is retained.
SInce it is not called directly, you also need to add it to the "always include" section under "source files".
Now go to the "source file settings" section. Select the "Progressbar.vi" and look below the [Customize VI properties] button on the right.
Uncheck "Use default save settings" and then uncheck "remove front panel".
That should do it.
01-03-2014 04:32 PM
Never mind, problem solved. Something has to be fixed in the build specifications property.
01-03-2014 04:36 PM
@agyna wrote:
Something has to be fixed in the build specifications property.
What is "something"?