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)
4 Pages V   1 2 3 > »   
Reply to this topic Start new topic
> [CR] XNode Manager
Aitor Solar
post Feb 21 2007, 12:15 PM
Post #1


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


File Name: XNode Manager File Submitter: Aitor Solar File Submitted: 28 Feb 2007 File Updated: 14 Mar 2008 File Category: XNodes File Version: 1.5.2 LabVIEW Version: 8.2.x License: The BSD License XNode Manager V1.5.2 Copyright © 2007, Aitor Solar All rights reserved. Author: Aitor Solar aitor.solar@gmail.com Distribution: This code was downloaded from the LAVA Code Repository: http://forums.lavag.org/downloads.html Description: This is an application for creation and management of XNodes. The program allows to open or create XNodes, to add or remove abilities and to easily access the ability VIs. It's prepared for all the LV82 abilities known so far. Dependancies: The application requires the Internet Toolkit for LabVIEW 8.2 Support: If you have any problems with this code or want to suggest features: http://forums.lavag.org/CR-XNode-Manager-t6539.html Change Log: 1.5.2: Added management of the XNode Icon. 1.5.0: Added descriptions for the XNode (read/write) and the abilities (only read). 1.4.3: Now, removing an ability also disconnects the VI from the XNode Library. Solved the "absolute path" bug. 1.4.0: Initial release in the Repository Code License: This code is distributed under the BSD License Copyright © 2007, Aitor Solar All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Aitor Solar nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Click here to download this file

This post has been edited by Aitor Solar: Mar 14 2008, 10:55 AM


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Ad
post Feb 21 2007, 12:15 PM
Post #















Tags
(This content has not been tagged yet)
Go to the top of the page
Quote Post
Jim Kring
post Feb 21 2007, 05:15 PM
Post #2


Changing the world, one VI at a time.
*****

JKI
Posts: 1717
Joined: 22-October 02
From: San Francisco, CA
Member No.: 17
Using LabVIEW Since:1995
LV:8.2.1 ,8.5 ,7.1.1
United States us_california Nothing Selected My Blog My Gallery


Looks nice. However, it won't run, because it is missing a couple VIs: "borrar error.vi" and "convierte vilib path (from string).vi"

Thanks,

--------------------
-----------------------------------------------------------------------------------------------------
| Book | OpenG | LAVA | Champion | VIPM | Builder | Blog | JKI |
-----------------------------------------------------------------------------------------------------


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Aitor Solar
post Feb 21 2007, 08:12 PM
Post #3


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 (Jim Kring @ Feb 21 2007, 06:15 PM) *
Looks nice. However, it won't run, because it is missing a couple VIs: "borrar error.vi" and "convierte vilib path (from string).vi"


They should be in the "comunes Xnode manager.llb" included in the zip.

Saludos,
Aitor


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Jim Kring
post Feb 21 2007, 09:18 PM
Post #4


Changing the world, one VI at a time.
*****

JKI
Posts: 1717
Joined: 22-October 02
From: San Francisco, CA
Member No.: 17
Using LabVIEW Since:1995
LV:8.2.1 ,8.5 ,7.1.1
United States us_california Nothing Selected My Blog My Gallery


QUOTE (Aitor Solar @ Feb 21 2007, 12:12 PM) *
They should be in the "comunes Xnode manager.llb" included in the zip.

Saludos,
Aitor


Thanks -- I'll see if I can relink them. Also, this will be a problem for other users too, so it might be best to relink everything correctly and then repost wink.gif

--------------------
-----------------------------------------------------------------------------------------------------
| Book | OpenG | LAVA | Champion | VIPM | Builder | Blog | JKI |
-----------------------------------------------------------------------------------------------------


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
daal
post Feb 22 2007, 03:42 AM
Post #5


More Active
**

Premium Member
Posts: 39
Joined: 17-December 03
From: St-Hubert
Member No.: 223
Using LabVIEW Since:1996
LV:8.5 ,8.6 ,.
Canada ca_quebec Nothing Selected


QUOTE (Aitor Solar @ Feb 21 2007, 07:15 AM) *
I think the program is self-explaining in its simplicity. It allows to open or create a XNode and add or remove abilities, and I hope will be a useful tool for anybody who wants to try their own XNodes. I don't have much free time nowadays, but I'll try to correct any problem that arises. I'll love to read your feedback.


Thanks Aitor, Great tool thumbup1.gif


QUOTE (Aitor Solar @ Feb 21 2007, 07:15 AM) *
2) Maybe the abilities list is not complete (but I have tried all the proposed til now). If you find other abilities, please tell me.


You can find all the Abilities vi's in <LV8.2>\resource\Framework\Providers\xi\xnode.llb

Dany

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




Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Aitor Solar
post Feb 22 2007, 07:50 AM
Post #6


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 (DanyAllard @ Feb 22 2007, 04:42 AM) *
You can find all the Abilities vi's in <LV8.2>\resource\Framework\Providers\xi\xnode.llb


That's the tricky part: not all the abilities in that llb work properly. Some of them give an "ability not recognized" error (different from the "parameter X has incorrect datatype" error, that just means the inputs / outputs for that ability are not what they should).

Anyway, you can add new abilities easily and check them in the XNode Manager, just add the new ability to the list ("Ability list.ctl", IIRC).

Saludos,
Aitor

P.S.: I think the new zip is linked properly, please check.

This post has been edited by Aitor Solar: Feb 22 2007, 08:20 AM


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
AdamRofer
post Feb 24 2007, 12:02 AM
Post #7


More Active
Group Icon
**

WIKI Moderator
Posts: 47
Joined: 29-June 05
From: Santa Cruz, CA
Member No.: 2496
Using LabVIEW Since:2000
LV:8.5 ,6.1 ,7.1.1
United States us_california Nothing Selected


Fantastic job on this! thumbup1.gif

This adds the primary necessary functionality to create XNodes now, let the games begin!

One thing that could be added is the documentation for each ability. Sounds tricky, but then again you can find them here:
1) Open Labview 8.x\resources\lvstring.rsc
2) Search for "This is a strict type definition"
3) This refers to the State Ability...the rest follow, separated by x00 or whatever bytes that show up as Attached Image

Keep in mind the list has grown in LabVIEW 8.2, so don't get the info from the 8.0 folder!

You can probably parse it out, make sure things are pointing to them, whatever here.

I might poke around for a fuller Ability list than what you have (you have most of them), I'll let you know.


Take a look at the presentation I gave last night at LAVA...I ended up skipping over the two "Create an XNode" pages since your utility does all this now! thumbup1.gif
I'll be posting my example XNode (Recurse) in a couple days when I get a chance to clean it up for the Code Repository.

I'd like to attach the presentation, but it's more than 2 megs.

XNodes Presentation - Lava meeting 02/23/07


QUOTE (Aitor Solar @ Feb 21 2007, 11:50 PM) *
That's the tricky part: not all the abilities in that llb work properly. Some of them give an "ability not recognized" error (different from the "parameter X has incorrect datatype" error, that just means the inputs / outputs for that ability are not what they should).


I've noticed some XNodes that have abilites (GetImage.vi) that instead say the ability is the "old" name (Image). Check my ppt presentation for the "old" (8.0) list versus the "new" list (8.2).

If an ability has a 2, 3 following it then it's the working Ability name (example: AAA, AAA2, AAA3). If it's something like "OnXXX" (in LV8.2) and the original is "XXX" (in LV8.0) then the ability "XXX" is the real name, despite the .vi being called "OnXXX" inside the LLB you refer to.

Does that make sense? Not very consistent. I'm also not sure if this is true for all of the "new" names but I noticed it for most of them.

This post has been edited by Michael_Aivaliotis: Feb 24 2007, 08:11 PM

--------------------
Adam Rofer


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Michael_Aivaliot...
post Feb 24 2007, 09:00 AM
Post #8


Confucius say: Crowded elevator always smell different to midget
Group Icon
*****

Admin
Posts: 2402
Joined: 13-October 02
From: Planet Earth
Member No.: 2
Using LabVIEW Since:1994
LV:8.5 ,8.2.1 ,7.1.1
Greece Canada United States My Blog My Gallery


I've created an xnodes category in the code repository. Please post this code there.
Also, please post the xnodes presentation there.
Thanks for the hint on the 2Mb limit, I've increased it to 10Mb.

Don't want to be all administrative and stuff but I might just end up shutting down threads in the future that would rather be initiated via the code repository.

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


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Jim Kring
post Feb 25 2007, 12:55 AM
Post #9


Changing the world, one VI at a time.
*****

JKI
Posts: 1717
Joined: 22-October 02
From: San Francisco, CA
Member No.: 17
Using LabVIEW Since:1995
LV:8.2.1 ,8.5 ,7.1.1
United States us_california Nothing Selected My Blog My Gallery


QUOTE (Aitor Solar @ Feb 21 2007, 04:15 AM) *
This is an application for creation and management of XNodes. Hypothetical future versions will be at the bottom of the thread.


Aitor: Under which license are you distributing the XNode Manager tool? I would like to volunteer to help package this up so that people can install it using VIPM.

--------------------
-----------------------------------------------------------------------------------------------------
| Book | OpenG | LAVA | Champion | VIPM | Builder | Blog | JKI |
-----------------------------------------------------------------------------------------------------


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Aitor Solar
post Feb 26 2007, 03:23 PM
Post #10


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 (AdamRofer @ Feb 24 2007, 01:02 AM) *
Does that make sense? Not very consistent. I'm also not sure if this is true for all of the "new" names but I noticed it for most of them.


Thanks, Adam. Yes, it seems there are some inconsistences, like deprecated abilities that point to an ability not supported. Also, there are at least two VIs that are not abilities but of recommended use: L10N and HelpMap. Here is my last list of abilities, see if you find any hole:

Attached Image


QUOTE (Michael_Aivaliotis @ Feb 24 2007, 10:00 AM) *
I've created an xnodes category in the code repository. Please post this code there.


I'm preparing a new version with Adam's suggestions for the Code Repository. But I'm reading the CR requisites and seem daunting ohmy.gif . I'll try to adapt the code, though.

QUOTE (Jim Kring @ Feb 25 2007, 01:55 AM) *
Aitor: Under which license are you distributing the XNode Manager tool? I would like to volunteer to help package this up so that people can install it using VIPM.


Good question. I hadn't thought about that. People is free to use the code, modify it as they please and redistribute it, provided they respect original authorship and their versions retain the same conditions. Is there any of the usually acepted licenses that accomplishes that?

Saludos,
Aitor


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
crelf
post Feb 26 2007, 03:42 PM
Post #11


I'm a LAVA, not a fighter.
******

V I Engineering, Inc.
Posts: 3849
Joined: 13-October 03
From: Michigan, USA
Member No.: 181
Using LabVIEW Since:1993
LV:8.5 ,. ,.
Australia United States Nothing Selected My Blog


QUOTE (Aitor Solar @ Feb 27 2007, 01:23 AM) *
I'm preparing a new version with Adam's suggestions for the Code Repository. But I'm reading the CR requisites and seem daunting ohmy.gif . I'll try to adapt the code, though.

Don't be frightened Aitor! All you need is neat code, a decent style with an appropriate level of documentation and all will be well - it doesn't need to be the best code ever, but it can't be the worst smile.gif

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


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Chris Davis
post Feb 26 2007, 04:09 PM
Post #12


Extremely Active
****

Premium Member
Posts: 412
Joined: 8-July 05
From: Tullahoma, Tennessee, USA
Member No.: 2547
Using LabVIEW Since:2000
LV:8.20 ,7.0 ,8.0.1
United States us_tennessee Nothing Selected


QUOTE (Aitor Solar @ Feb 26 2007, 09:23 AM) *
Good question. I hadn't thought about that. People