07-31-2015 04:23 PM
Hey, have two questions. I'm writing an instrument driver for an instrument I have here at work, and I have the VI's working. I have the VIs organized and inserted into a library, which is in a project including that library and an examples folder (so basically the way Labview downloaded instrument drivers are set up). I put all this in the instr.lib folder, and the VIs show up in the functions palette just fine. So, based on that setup, my questions are:
1) How do I change the folder icons (not the VI Icons - already did that) in the functions palette?
2) How do LV instrument drivers hide the "Examples" folder and simply display the VIs from the "Public" Folder? (they don't appear to be marked private)
Thanks!
TG
Solved! Go to Solution.
08-02-2015 12:10 AM
I think the secret is in having an mnu file, which defines what will appear in the palettes. You can create one by editing the palettes (under Tools>>Advanced) and there you should be able to remove items and to edit the palette icon by right clicking it. You should probably also make sure that the mnu file is saved in the same folder, so that you can have it in other PCs. Note that the palette editor has this annoying confirmation dialog which tends to hide under other windows and which you need to get to finish editing, so move it to somewhere you can find it before you start editing.
Another option is using VIPM to install the driver, and that will also allow you to edit a palette.
08-02-2015 07:01 AM
I recommend just using VIPM to manage your driver and distribute it. It has a custom palette editor (that is better than the built-in LabVIEW one). Building a package with VIPM is simple and it is even easier to install. And you can do all of this with the free version of VIPM.
08-06-2015 09:59 AM
Thanks guys! That's exactly what I'm looking for!
TG