Jump to content

Mac OS X LV Application Builder gives yellow icons


Recommended Posts

Hello,

When I build an application with LabVIEW for Mac OS X (2016 through 2020), the icon is yellow and when I save a plot of data, the png is yellow as well.  Running the source code is fine, the icons are normal (black text, white background) and my png plots of data are normal.   Does anyone else see this behavior with the LabVIEW Application builder for Mac OS X?   My only option is to continue to use LabVIEW 2015.

myPlot.png

Main.vi Some Plot.vi try_LV_2020_Save_Plot.aliases try_LV_2020_Save_Plot.lvlps try_LV_2020_Save_Plot.lvproj

Link to post
Share on other sites
  • 1 month later...

After living with this for 5 years, I have finally figured out the solution for the yellow plots. The root-cause of the yellow plots appears to be that the standard 256 color palette contained in a cluster coming out of an invoke node (FP.Get Image) become corrupted by the application builder on Mac OS X.   The colors when running source code vs. when build into an application are very different.  My workaround is to bundle the 256 colors directly in the source code.    Of course,  I am using 8-bit color.  I would assume that if a higher bit-depth is needed, then a different set of reference colors would need to be bundled but I have not investigated that.  

I also suspect the yellow icons are similarly corrupted but I don't know how or if I could solve that.  But at least now I can save my plots using LabVIEW 2020.  I hope this helps someone else that has been frustrated with this.  A screenshot of the work-around is below.  I also have attached a screenshot showing the yellow icon.

 

198387186_ScreenShot2020-08-09at3_46_45PM.png.691d520354c48a4cc0156816fd3324c3.png

Screen Shot 2020-08-09 at 3.55.08 PM.png

  • Like 2
Link to post
Share on other sites
On 8/10/2020 at 1:00 AM, emcware said:

After living with this for 5 years, I have finally figured out the solution for the yellow plots. The root-cause of the yellow plots appears to be that the standard 256 color palette contained in a cluster coming out of an invoke node (FP.Get Image) become corrupted by the application builder on Mac OS X.   The colors when running source code vs. when build into an application are very different.  My workaround is to bundle the 256 colors directly in the source code.    Of course,  I am using 8-bit color.  I would assume that if a higher bit-depth is needed, then a different set of reference colors would need to be bundled but I have not investigated that.  

I also suspect the yellow icons are similarly corrupted but I don't know how or if I could solve that.  But at least now I can save my plots using LabVIEW 2020.  I hope this helps someone else that has been frustrated with this.  A screenshot of the work-around is below.  I also have attached a screenshot showing the yellow icon.

The application builder uses internally basically a similar method to retrieve the icons as an image data cluster to then save to the exe file resources. So whatever corruption happens in the build executable is likely the root cause for both the yellow graph image and the yellow icon. And it's likely dependent on something like the graphics card or its driver too or something similar as otherwise it would have been long ago found and fixed (if it happened on all machines).

Edited by Rolf Kalbermatter
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.