Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

How Can I Distribute a Custom LabVIEW Palette from My Computer to Others

Primary Software: LabVIEW Development Systems>>Base Package
Primary Software Version: 8.0
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
 How can I create a group of VIs on the LabVIEW functions palette so that later, they can be easily distributed to other LabVIEW users as a custom toolset?


Solution:
For LabVIEW 8.0 and later, the following applies. On the computer that will create the custom palette:
 
You will need to organize all your custom VIs for the palette you are creating in a new folder and place that folder in <LabVIEW>\vi.lib. This is the best directory to place these VIs because most LabVIEW users have this directory.
 
Next, you will need to create a .mnu file that will contain all the information about the palette you want to distribute. To create a .mnu file, you need to open up LabVIEW and edit the palette set.
 
1.      Tools>>Advanced>>Edit Palette Set…
2.      On the functions palette, right click on the palette you would like to add your subpalette to
3.      Select: Insert>>Subpalette…
4.      Select: Create a new palette file (.mnu)
5.      Name your .mnu file and save it. Make note of where you save the .mnu file, you will need it later
6.      Name your subpalette and press OK
7.      Click on your new subpalette's icon and right click on the palette. Select Insert>>VI(s)...
9.      Browse to your folder in vi.lib to add your custom VIs
10.    Save the changes to your palette set
 
On the computer that will receive the palette:
 
1.      Place the folder containing the custom VIs in <LabVIEW>\vi.lib
2.      Place the .mnu file in the <LabVIEW>\menus\Categories directory
 
For example: If you place the .mnu file in <LabVIEW>\menus\Categories\Programming, your palette will show up in the Programming palette.
 


Related Links:
KnowledgeBase 1YIDEPHE: Adding Custom Icons to the Functions Palette

Attachments:





Report Date: 11/30/2007
Last Updated: 12/18/2007
Document ID: 4FTCG24H

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit