Tomi Maila Posted November 8, 2007 Report Share Posted November 8, 2007 Hi, I've developed some XNodes that I now want to add to functions palette. The problem is that I don't know how to define the palette icon for an XNode. If I add MyXNode.xnode to functions palette, then for some reason LabVIEW shows the icon of MyXNode.xnode:Help.vi and not the library icon. Has anybody succesfully defined the palette icon of the XNode? Tomi Quote Link to comment
PJM_labview Posted November 8, 2007 Report Share Posted November 8, 2007 I had the same problem. By error and trial I figure out that you have to change the icon of the help ability and the palette will display it. Just to be safe I typically put the icon I want in both the XNode and in the Help ability. If you don't have a help ability I think you can use the initialize ability icon. PJM Quote Link to comment
Tomi Maila Posted November 8, 2007 Author Report Share Posted November 8, 2007 QUOTE(PJM_labview @ Nov 7 2007, 07:20 PM) By error and trial I figure out that you have to change the icon of the help ability and the palette will display it. Just to be safe I typically put the icon I want in both the XNode and in the Help ability. If you don't have a help ability I think you can use the initialize ability icon. Thanks I'll use the Help ability then to specify the palette icon. I just got ready my first actually useful set of XNodes that are not only playing around but actually meant for powerful programming tools Tomi Quote Link to comment
PJM_labview Posted November 8, 2007 Report Share Posted November 8, 2007 Cool :thumbup: . I am looking forward to see these XNodes. PJM Quote Link to comment
Aitor Solar Posted November 9, 2007 Report Share Posted November 9, 2007 QUOTE(Tomi Maila @ Nov 7 2007, 05:47 PM) Has anybody succesfully defined the palette icon of the XNode? Yes, it's easy. Things go more or less like this: If your XNode has a description, the palette will show the XNode library icon. If the XNode doesn't have a description, then the palette will show the Help VI icon. If the XNode doesn't have a description nor the Help Ability, then the palette will show the Initialize VI icon. If the XNode has no description, no Help and no Initialize, the palette won't accept it. So, use a description Saludos, Aitor Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.