04-29-2015 10:57 AM - edited 04-29-2015 11:00 AM
Below code is used to save an image of the front panel of a VI. The front panel shows an XY graph with two plots.
This works perfectly in the development environement. With the EXE, the plots of the graph (only the plots) are invisible.
Have you already encountered this unexpected behaviour ? Many thanks for any advice.
Solved! Go to Solution.
04-29-2015 12:09 PM
I have already tried several things like Defer Front Panel Updates... Nothing helped !
04-29-2015 01:49 PM
JB,
A few things may be messing you up.
When you build the EXE, the path that is created for the "Current Vi's Path" probably won't be where you want it. I would use "Application Directory" or "Default Data Directory". These path things have messed me up a few times when creating a EXE.
Also is the data on your graph being generated before you are running the section of code in your picture? I assume it is since you state that it is working in the development environment.
What version of LV are you using?
Joe
04-30-2015 01:53 AM - edited 04-30-2015 01:59 AM
Problem solved.
It was a "too stupid to be mentioned here" error of mine. Things that can happen at the end of a (too) long day.
If someone knows how to avoid the grey areas on the right and bottom of the picture, I'm still interested.
It appears only when the "visible area only ?" option is set to TRUE.
04-30-2015 08:05 AM
@JB wrote:
Problem solved.
It was a "too stupid to be mentioned here" error of mine. Things that can happen at the end of a (too) long day.
If someone knows how to avoid the grey areas on the right and bottom of the picture, I'm still interested.
It appears only when the "visible area only ?" option is set to TRUE.
I didn't try it but I would suggest you try setting the horizontal and vertical scrollbars to always off.
Ben64
05-04-2015 07:28 AM - edited 05-04-2015 07:28 AM
ben64 a écrit :
I didn't try it but I would suggest you try setting the horizontal and vertical scrollbars to always off.
Ben64
Good catch ! Many thanks.
I forgot to hide the scrollbars in the Source File Settings of the Application Builder.