02-02-2024 03:47 PM
I don't want to default to modern controls, I like the NXG/Fuse controls better, so I want it to be the first palette. You can pin the palette, then drag to reorder, which works... for a while. Then later, maybe after a restart or a reboot, it will have reverted. I have machines where I eventually got it to stick but I have no idea how/why. I am not seeing an ini key or other setting to lock this in. I have observed this issue in LabVIEW 2020-32 and LabVIEW 2023-64.
How do you make palette order persist ????
Cross posted to LinkedIn
02-02-2024 05:58 PM - edited 02-02-2024 06:05 PM
Assuming you're using the 'default' palette set (which is almost always the case), customizations that you make will be saved in a special location. So first, make sure the following line is present in your LabVIEW INI file:
menuSetup="default"
Assuming it is, after you've made the desired change to the pinned palette (moving NXG/Fuse to the top+expanded, collapsing Modern), make sure the following folder is present on your system:
[LabVIEW Data]\202x(32/64-bit)\Palettes\menus\default
Inside that folder should be a root.mnu file that has a mod date that matches when you exited LabVIEW after customizing the pinned palette. Note: while experimenting with this functionality, I discovered that sometimes the file is not saved. I couldn't figure out a difference between when I saw it get saved and when I didn't. But assuming you do see that mod date change, you *should* see that your menu customization is preserved between runs of LabVIEW. If at any point the INI file token is gone, and/or that folder in the LabVIEW Data folder is gone, that would reset your palette customization.
You can also use the Read Palette VI to inspect the contents of your custom root.mnu... the NXG/Fuse palette should be the first item in the items array after your customization.
P.S. - I filed Bug 2643687 to LV R&D to investigate why the changes sometimes don't persist between LabVIEW launches.
08-21-2024 03:36 AM
I have exactly the same experience with the palettes. Customization of the order did work until LV 2020 for me. 2022 di not work anymore and also 2024 does not work to save the changes. Is there any news about the bug report?
05-20-2025 05:00 AM
Same bug here on LV2024 Q3 (64-bit) 24.3.3f3
The folder ..\Palettes\menus\default doesn't even exist. Also after creating it manually, no file is getting written to it.
05-20-2025 09:31 AM
Have you tried editting the palette order directly? Tools -> Advances -> Edit Palette Set...
Set the NXG folder to the top left for it to show as default. Then press Save Changes
This is what I always do on fresh installations. I have never found any issues with it resetting to the default order. I am on LabVIEW 2021 SP1 32 bit.
05-21-2025 01:53 AM
Hey Basjong53,
thank you very much for pointing that one out. In fact, when using Tools -> Advances -> Edit Palette Set... the change wasn't lost after a restart.
I'll leave the paths here for reference 🤔
"Controls palette"
Currently at: C:\Program Files\National Instruments\LabVIEW 2024\menus\default\root.mnu
Will be saved at: C:\Users\admin\Documents\LabVIEW Data\NI\LVAddons\nilvfpgahostcomm\2\Targets\win64\menus\default\root.mnu
"Functions palette"
Currently at: C:\Program Files\National Instruments\LabVIEW 2024\menus\default\root.mnu
Will be saved at: C:\Users\admin\Documents\LabVIEW Data\NI\LVAddons\nilvfpgahostcomm\2\Targets\win64\menus\default\root.mnu
05-21-2025 02:14 AM
Yes, modifications will land in your %labviewdata% in your account documents folder. Just like compile cache and a number of other things.
05-21-2025 11:47 AM - edited 05-21-2025 11:47 AM
@AlexElb wrote:
"Controls palette"
Currently at: C:\Program Files\National Instruments\LabVIEW 2024\menus\default\root.mnu
Will be saved at: C:\Users\admin\Documents\LabVIEW Data\NI\LVAddons\nilvfpgahostcomm\2\Targets\win64\menus\default\root.mnu
LabVIEW R&D already has Bug 3120144 to track the strange save location of the edited .mnu file. This issue should be addressed in the LabVIEW 2025 Q3 release.