02-16-2016 12:37 PM
I created a labview project and ultimately an EXE. Due to my ultimate application, I launch the EXE via a batch file (.bat). The VI front panel comes up and it works just fine. The only problem is that there is a blank icon down in the toolbar. I created an icon (called EXE_Icon.ico), and it's in my project, but I can't seem to get it to appear. Incidentally, I tried to open the EXE_Icon.ico (from windows explorer) and it opens in Windwos Photo Viewer. It shows up as three pages, with the first two blank. The third contains the actual icon I created. Any thoughts on how to get this icon to appear in the toolbar at execution time?
02-16-2016 12:46 PM
02-16-2016 12:46 PM
Well it looks like you've already figured out your problem... the icon file. Those blank pages that it shows before the "actual icon" are why you're seeing a blank icon. This isn't a LabVIEW problem, you just need to fix your icon file. Use an icon editor to fix it, there are many online editors. My favorite is xiconeditor.com
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
02-16-2016 12:57 PM
I tried to open my icon using X-Icon Editor. Even though it shows .ico as a supported file, I get a message saying "Cropping not available with icons import". Any ideas?
02-16-2016 12:58 PM - edited 02-16-2016 12:59 PM
How was your icon made? Can you just take the single image you want, save it as a normal image, and then import that?
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
02-20-2016 07:40 AM
Originally, my icon was made using the Icon editor found within the Icon category within my LabVIEW Project Build Properties. If I uncheck the "Use the default LabVIEW icon file", and browse to the icon I created in said way, I get the behavior origninally described. Right now, I have it checked, as I had to move on to other issues.
02-22-2016 12:52 PM
The icon editor must have made a mistake. Have you tried what I suggested (opening it and saving as a regular image and then using xiconeditor to create a new icon)?
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
02-22-2016 12:59 PM
Yes, I replied a couple of days ago (see earlier post) about troubles I had with xiconeditor
02-22-2016 01:03 PM - edited 02-22-2016 01:10 PM
I meant generating a regular image before trying to open in xiconeditor. If you can open the icon in LabVIEW's icon editor, that should mean you can copy and paste the icon in to Paint or something similar.
Are there multiple icon resolutions that you've made? In the icon editor, there's a list of different icon layers by size. Delete the ones that you don't need.
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
04-26-2017 02:55 PM
I had a similar issue when updating a Labview 7.1 .exe to a LabView 2016 .exe.
To get the icon displayed, you need to publish the icon with no more or less icon configurations that LabView supports.
Steps:
1. modify the icon to have all formats (I used Greenfish Icon Editor Pro 3.6 {free}).
2. open the icon in the icon editor within the build specification (it prompts there are unsupported formats).
3. save the icon (I overwrote the original)
4. rebuild the application
5. rebuild the installer