LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LLB Palette Item Arrangement

When editing the palette set, you can make a subpalette from a .llb; and you can rearrange the items in that subpalette.  I want to retrieve that palette arrangement.  I've discovered that the arrangement info is somewhere inside the .llb, but I can't find it.  Does anyone know how to extract this information?

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 1 of 7
(1,907 Views)

Hi Paul,

I am not very sure if I understand the difficulty you are having correctly.

If you are looking for your subpalette arrangement, it should be in the .mnu file which is located in the project folder where you saved it when editing your subpalette after linking it to a .llb file. 

Here are some example from our the KnowledgeBase which shows the way to create or edit items in subpalette. If you trace back your path when you created the subpalette, you might be able to find your subpalette arrangement.

 

1. https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YGAyCAO&l=en-MY

2. https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YIU7CAO&l=en-MY

 

0 Kudos
Message 2 of 7
(1,840 Views)

@flim21 wrote:

Hi Paul,

I am not very sure if I understand the difficulty you are having correctly.

If you are looking for your subpalette arrangement, it should be in the .mnu file which is located in the project folder where you saved it when editing your subpalette after linking it to a .llb file. 

Here are some example from our the KnowledgeBase which shows the way to create or edit items in subpalette. If you trace back your path when you created the subpalette, you might be able to find your subpalette arrangement.

 

1. https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YGAyCAO&l=en-MY

2. https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YIU7CAO&l=en-MY

 


AS far as I can tell, there isn't a .mnu file associated with the subpalette that is defined by a .llb.  The arrangement seems to be stored inside the .llb, not in any .mnu,

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 3 of 7
(1,805 Views)

I don't think there's an easy way to do this. The closest I found was using this VI:

 

[LabVIEW 20xx]\vi.lib\Palette API\ResMgr\Load.vi

 

If you pass an LLB to that VI, you'll get all the resources stored in the LLB, and you can see a few of those resources have to do with the palette arrangement. As for interpreting the information in those resources, that's beyond the scope of my knowledge.

Message 4 of 7
(1,784 Views)

@Darren wrote:

I don't think there's an easy way to do this. The closest I found was using this VI:

 

[LabVIEW 20xx]\vi.lib\Palette API\ResMgr\Load.vi

 

If you pass an LLB to that VI, you'll get all the resources stored in the LLB, and you can see a few of those resources have to do with the palette arrangement. As for interpreting the information in those resources, that's beyond the scope of my knowledge.


Of course to use that, you must do something unsavory, like the attached VI.

"If you weren't supposed to push it, it wouldn't be a button."
Message 5 of 7
(1,780 Views)

This works for me.

"If you weren't supposed to push it, it wouldn't be a button."
Download All
Message 6 of 7
(1,763 Views)

Cool, glad I could help.

0 Kudos
Message 7 of 7
(1,758 Views)