LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Project Template Icons

Solved!
Go to solution

OK, so I built this beautiful project template and hid the icon overlay (I want my icon banners to remain unchanged)  Lo-and behold my banners do change because a blank banner is placed over the top of my icons.  How do I stop this or how do I postcopy script remove the banner layers from my new project?

 


"Should be" isn't "Is" -Jay
0 Kudos
Message 1 of 5
(3,557 Views)

The application of a banner, even when hiding the Icon Overlay section in the Create Project window, is a bug that will be fixed in the next LabVIEW release.

 

For now, you can use the LabVIEW Icon API (found in vi.lib\LabVIEW Icon API) to remove the NI_Project icon layer in a PostCopyScripting VI. Let me know if you have any trouble getting this implemented.

0 Kudos
Message 2 of 5
(3,535 Views)

@Darren wrote:

The application of a banner, even when hiding the Icon Overlay section in the Create Project window, is a bug that will be fixed in the next LabVIEW release.

 

For now, you can use the LabVIEW Icon API (found in vi.lib\LabVIEW Icon API) to remove the NI_Project icon layer in a PostCopyScripting VI. Let me know if you have any trouble getting this implemented.


An example would be greatly appriciated.  I really am new to both scripting and project templates.  I think I can figure it out but...the layer icon class is a guess that I need to experiment with  .An experts help is more than welcome (what is the CAR to track?)

 


"Should be" isn't "Is" -Jay
0 Kudos
Message 3 of 5
(3,513 Views)
Solution
Accepted by JÞB

@JÞB wrote:
An example would be greatly appriciated.  I really am new to both scripting and project templates.  I think I can figure it out but...the layer icon class is a guess that I need to experiment with  .An experts help is more than welcome (what is the CAR to track?)

The CAR is 369668. For the scripting, I would specify a CustomVIMode of "AfterPage2NoUI", and here's a VI illustrating how I would do it. I tried this approach with some of the core templates/sample projects and it seemed to work correctly, i.e. the generated project did not have any additional icon overlay applied to its VIs.

Message 4 of 5
(3,510 Views)

CAR 369668 discussed in this thread has been fixed in LabVIEW 2013. You can download an evaluation copy of LabVIEW 2013 at http://www.ni.com/trylabview/ or if you have an earlier version of LabVIEW installed and an active SSP subscription, you will be able to download the latest version of LabVIEW through NI Update Service.

 

Jeff Peacock 

 

Product Support Engineer | LabVIEW R&D | National Instruments 

Message 5 of 5
(3,364 Views)