LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Custom palette for newly created instrument driver

Solved!
Go to solution

I've created all the VI's for my new instrument driver, now I want to create mnu files so when I distribute the driver, it shows up on the end user's palette. Where can I find a tutorial that steps me through this process for LabView v8.6.

 

I've created mnu files, but when I place the vi and mnu files in the instr.lib directory, I get palette icons for each of my instrument driver subdirectories plus the mnu contents. How do I make only the mnu contents appear on the palette?

0 Kudos
Message 1 of 4
(3,073 Views)

Create the following dir structure:

 

Mydriver.mnu           //the palettefile

_Mydriver                // folder containing the driver, make sure it starts with an underscore (_)

_Mydriver\Mycode   // the actual code

 

Now you can easily zip 'm up and distribute. make sure the menu refers to the code in the 'underscore' folder.

 

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 2 of 4
(3,068 Views)
Solution
Accepted by topic author David673

Are you using the recomended project style driver? If you used the wizard for this, then you would have the mnu files in the project. In the help, there is a topic Instrument Drivers>Modification Instructions and it talks a little about updating the mnu files.

 

If you distribute a project style driver, the mnu files should be correct and any example VIs would be automatically added to the LabVIEW example finder.

 

If you did not create a project style driver, it might be something to consider if you want certification.

Message 3 of 4
(3,054 Views)

The project wizard got me going in the right direction. Using that as a starting point, I was able to complete my driver.

 

Thanks for everyone's help!

0 Kudos
Message 4 of 4
(3,024 Views)