From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
05-04-2016 12:46 PM
I've created some packages using VIPM and am using them on a regular basis. What I've not worked out how to do yet is have a link to the my palette when I right click on a SubVI that I've dropped.
For example if I right click on an "add" node I get a right click menu that shows the "Numeric" pallet.
Can this be done for custom palettes?
Thanks.
Solved! Go to Solution.
05-04-2016 12:58 PM
@Richard_Ha wrote:I've created some packages using VIPM and am using them on a regular basis. What I've not worked out how to do yet is have a link to the my palette when I right click on a SubVI that I've dropped.
For example if I right click on an "add" node I get a right click menu that shows the "Numeric" pallet.
Can this be done for custom palettes?
Thanks.
The easy answer is, Yes, it can be done! See your PM's
05-04-2016 02:05 PM
Not sure what cryptic message is in the PM, but I heard VIPM has a feature called Add Palette to Library or Class which is supposed to do this somehow.
http://jkisoft.com/vipm/docs/2014/index.html?turl=addpalettetolibraryorclass.htm
I've found some packages still link to the palette even without this for some reason.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
05-04-2016 02:16 PM
Ah, I think that's what I was looking for, shame it's VIPM Pro only.
05-04-2016 02:29 PM
For anyone else who comes acros this, this is how to do it.
05-05-2016 08:43 AM - edited 05-05-2016 08:45 AM
Turns out it's even easier than that....
http://zone.ni.com/reference/en-XX/help/371361J-01/lvhowto/setting_default_palette_menus/
I've cheated by creating a VIPackage, installing it, then opening the library and adding the palette.mnu file that the packages installs as the default menu, then creating and isntalling the package again!
04-19-2017 08:11 AM - edited 04-19-2017 08:12 AM
I know this is solved, and I know this is about a year old, but I thought I'd come back with my solution for how I am doing this in VIPM. I use a Post-Install VI that will look at all libraries and classes that were installed by VIPM, then look at all the MNU files installed, and will add the MNU to the library that is the most root palette installed, then set the default menu to that palette. I do this for all libraries and classes in a package because I may have multiple subpalettes of libraries in a single package.
Oh and for completeness here is some other links on the subject.
http://forums.ni.com/t5/LabVIEW/Here-s-a-scripting-VI-for-LVClass-default-menu/td-p/2429356
http://forums.ni.com/t5/LabVIEW/Display-palette-on-function-right-click/m-p/2778326
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
04-19-2017 08:40 AM
This is excellent. I've just changed the input to a receive list function so it has to be operated manually, but saves $500 on VIPM pro!
04-19-2017 08:54 AM
But honestly the $500 is worth it in my opinion. Being able to make VIPC (collections of packages) and distribute them as a single self contained file for offline PCs is pretty useful. Then there is the Pre-Build stuff that you could do manually (just run a VI before building) but I used to forget all the time to run it so I'd end up wasting time building, installing, testing, realizing I forgot to do the pre build, run the pre build, build again install again, test again. When the pro just runs the pre build for me. The VIPM API can come in handy too, being able to build and install packages by calling VIs.
But also the solution I posted doesn't require VIPM Pro. Pre or Post Install or Uninstall VIs don't require Pro, it is the Pre or Post Build ones that do.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord