LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Changing a lvlib or class icon mask...

I thought changing a class (or lvlib) icon banner via the class properties dialog is supposed to change the banner for all the icons in the class?  Most of the time it doesn't change them for me, but I'm pretty sure it's done it a few times.  Is there any particular reason why it wouldn't update all the icons?

0 Kudos
Message 1 of 12
(3,936 Views)

Hi Daklu,

 

That is a little strange. Do you have screen shots of where it doesn't update the icon? Or does update the icon?

 

Thanks,

Karunya

Warm regards,
Karunya R
National Instruments
Applications Engineer
Message 2 of 12
(3,919 Views)

Here are some shots of the class property dialog box and icons from a couple member VIs from a project I'm currently working on. 

 

The first shot is the current condition.  I changed the banner color to more easily distinguish between this class and another class.  None of the member vi banners were updated.  (I had to copy and paste the banner for all my public VIs, but didn't bother with private VIs.)

 

The second shot is after trying to change the banner color again.  I changed the color and clicked OK in the dialog box but was never presented with the option to update all the VIs.  I took the screenshot after reopening the class property dialog box.

 

What's odd is that I just tried it with a quick sample class and the member vi was updated correctly.

Download All
0 Kudos
Message 3 of 12
(3,900 Views)

Hi Daklu,

 

I created a class and added a VI to it. Then I edited the icon of the class by  by right-clicking on the class in the project explorer, and selecting class properties. I made changed to the icon. Clicked Okay. And a dialog popped up (check popup.jpeg) about applying my setting to all VIs in that class. I hit yes and it changed the icons to match the one I had created. So in conclusion, I am not able to simulate your issue. I am on LV 8.6. 

 

Please let me know if you are doing anything different. 

 

 

Warm regards,
Karunya R
National Instruments
Applications Engineer
Message 4 of 12
(3,859 Views)
Nope, that's the same thing I'm doing.  The weird thing is that I see this behavior only in certain projects.  It worked correctly when I tried it on a new class, but it doesn't work on the classes I've been developing for the last couple months.  I've even tried it on different computers and the banner doesn't update on them either.
0 Kudos
Message 5 of 12
(3,852 Views)

Hi Daklu,

 

Which version of LabVIEW are you on? Did you upgrade your LV versions anytime during the past few months?

Warm regards,
Karunya R
National Instruments
Applications Engineer
Message 6 of 12
(3,831 Views)
I've been using the 8.5 Dev Suite since it was released.  No recent upgrades.
0 Kudos
Message 7 of 12
(3,822 Views)

Hi Daklu,

 

Here is my screen shot where all the changes take place. 

Warm regards,
Karunya R
National Instruments
Applications Engineer
Message 8 of 12
(3,809 Views)

Karunya,

 

I've attached a project file that does not update the icons correctly on my computer.  Can you please try it on your computer and let me know if it works correctly?  Like I mentioned previously, I've tried it on multiple computers here and it doesn't update the icons.

0 Kudos
Message 9 of 12
(3,794 Views)

Hi Daklu,

 

I tested your files by altering the mask from the class properties and it asked if I would like to alter the children. I selected yes and it changed all the banners for those VIs.

 

If you change the mask do you not receive a pop up that asks about changing the children files?

Sappster
Message 10 of 12
(3,757 Views)