LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Changing Icon in LabVIEW Title bar of a '.vi'

Hi,

  I reopen this topic 'cause I have the same request.

So the situation is:
I have a main VI that launch two instances of a same subVI to control 2 different machines that makes similar things

I need them to have different icon to have an easiest view of them in the application bar.

I've tried the snippet code and it works correctly with a VI in development mode, but if I place the same code in an executable it gives me a .NET error and it crash immediatelly.

 

0 Kudos
Message 21 of 23
(1,355 Views)

This method works just fine in source or EXE for multiple VIs, or the same VI set to reentrant.  Here is a post I made which has a project that demonstrates having multiple windows set to different icons at edit time, but this also works in an EXE.  There is extra code in that project to detect when a window is dragged from one monitor to another, and it will quickly hide and show that window to get around a Windows 10 (or LabVIEW) bug with the taskbar.

Message 22 of 23
(1,342 Views)

I can't do nothing else but CONFIRM, IT WORKS!

Thank you so much!

 

0 Kudos
Message 23 of 23
(1,331 Views)