LAVA Forums Buy cool LAVA gear Forums RSS Feed

Welcome Guest ( Log In | Register )

> Related links

Check out our XNodes Code Repository Files and visit our LabVIEW Wiki XNodes Portal


Tags
(This content has not been tagged yet)
 
Reply to this topic Start new topic
> Palette Icon for an XNode, Howto define the palette icon for an XNode?
Tomi Maila
post Nov 7 2007, 03:47 PM
Post #1


Drawing Tool - LVOOP example application
*****

Premium Member
Posts: 1168
Joined: 29-January 06
From: Helsinki
Member No.: 4014
Using LabVIEW Since:2004
LV:8.5.1 ,8.2.1 ,7.1.1
Finland Nothing Selected Nothing Selected My Blog


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

--------------------
Tomi Maila



Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Ad
post Nov 7 2007, 03:47 PM
Post #















Tags
(This content has not been tagged yet)
Go to the top of the page
Quote Post
PJM_labview
post Nov 7 2007, 05:20 PM
Post #2


Extremely Active
****

JKI
Posts: 612
Joined: 19-June 03
From: Bay Area, CA (USA)
Member No.: 121
Using LabVIEW Since:1998
LV:8.5.1 ,8.6 ,8.2.1
United States France Nothing Selected My Blog


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

--------------------

Got VIPM?

JKI . VIPM . EasyXML . OpenG . LAVA . Builder . Blog



Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Tomi Maila
post Nov 7 2007, 06:26 PM
Post #3


Drawing Tool - LVOOP example application
*****

Premium Member
Posts: 1168
Joined: 29-January 06
From: Helsinki
Member No.: 4014
Using LabVIEW Since:2004
LV:8.5.1 ,8.2.1 ,7.1.1
Finland Nothing Selected Nothing Selected My Blog


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 smile.gif 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 smile.gif

Tomi

--------------------
Tomi Maila



Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
PJM_labview
post Nov 7 2007, 07:11 PM
Post #4


Extremely Active
****

JKI
Posts: 612
Joined: 19-June 03
From: Bay Area, CA (USA)
Member No.: 121
Using LabVIEW Since:1998
LV:8.5.1 ,8.6 ,8.2.1
United States France Nothing Selected My Blog


Cool thumbup1.gif . I am looking forward to see these XNodes.

PJM

--------------------

Got VIPM?

JKI . VIPM . EasyXML . OpenG . LAVA . Builder . Blog



Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Aitor Solar
post Nov 8 2007, 08:12 AM
Post #5


Extremely Active
****

Member
Posts: 262
Joined: 26-January 05
Member No.: 1450
Using LabVIEW Since:2000
LV:8.5 ,8.20 ,7.1.1
Spain spn_Madrid Nothing Selected


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:
  1. If your XNode has a description, the palette will show the XNode library icon.
  2. If the XNode doesn't have a description, then the palette will show the Help VI icon.
  3. If the XNode doesn't have a description nor the Help Ability, then the palette will show the Initialize VI icon.
  4. If the XNode has no description, no Help and no Initialize, the palette won't accept it.
So, use a description yes.gif

Saludos,
Aitor

This post has been edited by Aitor Solar: Nov 8 2007, 08:13 AM


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post

Reply to this topicStart new topic

 




Time is now: 22nd November 2008 - 07:26 AM