LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Palette order keeps getting reset, How do you make it persist?

 

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 ????

1706900999094.jpg

 

 Cross posted to LinkedIn

Message 1 of 3
(1,101 Views)

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.

Message 2 of 3
(1,067 Views)

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?

0 Kudos
Message 3 of 3
(298 Views)