LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW 8.20 hangs after selecting a custom icon in the app builder

I have been trying to build an executable that uses a custom icon file.  The multi-resolution icon has worked previously in LV7.1.  Whenever I select the custom icon in the build specifications, I can build the executable, but LabVIEW then hangs after that and I can only close it using the Task Manager.  All works fine until I change from the default LabVIEW icon.  And because LabVIEW hangs after selecting the icon, I cannot save the project with the new build specification.
0 Kudos
Message 1 of 12
(4,145 Views)

Hi,

I've gone through this today - I created an Icon, and then added this with a vi to a blank project. Then I built an exe and set up the startup vi etc, and selected my custom icon. All this was ok - and the exe built fine. The exe executes ok with the icon I created instead of the LabVIEW icon.

Whats the icon that you are using? Is this something you've created using the LabVIEW icon editor or created using a different editor? Can you post the icon file on the forum, and I'll see if its ok using my application builder. Also, whats the vi that you are creating the executable for - could this be causing the issue with the application builder - do you still see the error if all you use is a blank vi?

Let me know and I'll have another look into this

Hannah
NIUK & Ireland

 

0 Kudos
Message 2 of 12
(4,124 Views)
Hi Hannah,

I have the same problem.
I can add several *.ico-files to my project. In the app building properties I add one of them as icon. Sometimes an error is shown (not supported or missing resolutions), but sometimes also there is no error message. After closing build properties with OK button the project window isn't responding anymore and I have to "kill" LabView by using TaskManager.

I use LV8.20 on WinXP (all patches). In the attachment you have some icons to play with...
(The icons are quite big, but WinXP and IrfanView have no problems to show them. And even LabView is showing them correctly in the project tree view.)

Message Edited by GerdW on 01-30-2007 03:05 PM

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 12
(4,081 Views)

Hi GerdW,

Thanks for sending in some icon files, I can reproduce the same behaviour mentioned by youself, and now my LabVIEW project is frozen.

This is a known issue and has been reported to R&D for further investigation.

If you use the icon editor that comes with LabVIEW, then it doesn't cause it a problem. So from the application builder on the icon page, launch the icon editor, create an icon, then save this and add it to your project. If you specify this icon as the icon for your LabVIEW exe, then the build goes through without error, and the exe I get has my newly created icon.

Try this out, I've tried to import one of your icons into the 'LabVIEW' icon editor, If you do this, then closing out or building the application doesn't cause LabVIEW to crash, but the icon isn't actually included either. This may be because of the colour schemes used in the icon.

I hope this helps

Regards
Hannah
NIUK & Ireland

0 Kudos
Message 4 of 12
(4,069 Views)
This is occurring on my system as well.

Strangely enough, the same icon works in another almost identical LabVIEW project EXE I built the day before. The new project (that fails) was simply a copy-paste of the old one, then the new exe was attempted to be created.

Any ETA on when this will be fixed? I don't want to have to create another icon set (which was originally created in LV 7.1's icon creator)
0 Kudos
Message 5 of 12
(4,013 Views)
I've had this same issue, and was able to narrow it down to a 48x48 icon.

If I'd edited the .ico from withing app-builder, and added a 48x48 I could close the builder window but project was locked.
Removing the 48x48 ico allowed me get control over the project window

Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 6 of 12
(4,008 Views)
Hello,

besides here mentioned problems I have another one. Even if I create an icon that has 256 colours and dimensions 32x32, 16x16 through LV Icon editor I can't select it. I can select the file but always only max 16colors icons are available.

I want to have nicer icon for application bar and window bar than 16colors. How to do it?
Thanks a lot
LV 2011, Win7
0 Kudos
Message 7 of 12
(3,953 Views)
Hi
 
In the build specifications, when you are in 'Icon' category, click on "icon editor" and then on "Insert new icon". Now select a type with 256 colors. There should be options to choose 256 colours with icon sizes 16x16, 32x32 and 48x48
 
Hope this helps
 
YatinM
NIUK & Ireland
Application Engineer
0 Kudos
Message 8 of 12
(3,935 Views)
Hello,
the thing is that even if I create the 256color icon after I save it and close icon editor it takes the 16color icon anyway. If I create an ico file that contains only one icon 32x32 256c Labview displayes warning (see warning.png) and uses default icon for 16c and nothing for black and white (see selected.png)

So how to force Labview to use 256c icon
LV 2011, Win7
Download All
0 Kudos
Message 9 of 12
(3,918 Views)
There was an issue reported where LabVIEW would become unresponsive when double-clicking to select a custom icon (42UGCF3E). I don't know if this is the same problem you are having, but wanted to pass that along.

Regarding the icon sizes and color depths. While you can use the icon editor supplied with application builder to create icons up to 48x48 with 256 colors, the LabVIEW application builder only supports icon images up to 32x32, 16 colors. If you create a custom icon, app builder will read it but only use the maximum supported icon from that ico file.

There have been many customer requests to improve the icons application builder supports. We are investigating the possibility of adding this feature in a future release.
George M
National Instruments
Message 10 of 12
(3,903 Views)