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
> Adding XNodes to LabVIEW Classes
Gavin Burnell
post Jan 8 2008, 10:07 AM
Post #1


Very Active
***

Premium Member
Posts: 119
Joined: 21-January 06
From: Leeds, UK
Member No.: 3951
Using LabVIEW Since:1994
LV:8.5.1 ,8.6 ,8.2.1
United Kingdom uk_yorkshire Nothing Selected


Has anyone out there succeded in adding an XNode to a LabVIEW class ?

Ideally I'd like to write an XNode that accesses some private methods of a class, so it would need to be part of the class. As a work around I can just change the scope of the private method to public, but it isn't as elegant...

--------------------
Gavin Burnell
Lecturer and EPSRC Advanced Research Fellow
School Physics and Astronomy
University of Leeds, UK.


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Ad
post Jan 8 2008, 10:07 AM
Post #















Tags
(This content has not been tagged yet)
Go to the top of the page
Quote Post
Tomi Maila
post Jan 8 2008, 10:55 AM
Post #2


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 (Gavin Burnell @ Jan 8 2008, 12:07 PM) *
Has anyone out there succeded in adding an XNode to a LabVIEW class ?

I don't think it's possible to get XNodes to even work with LabVIEW classes. LabVIEW simply crashes when a class type wire in connected to an XNode. At least this is my experience. Do you have some knowledge that would allow using XNodes with LabVIEW classes? I would really love to use XNodes with LabVIEW classes.

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



Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Gavin Burnell
post Jan 9 2008, 12:10 AM
Post #3


Very Active
***

Premium Member
Posts: 119
Joined: 21-January 06
From: Leeds, UK
Member No.: 3951
Using LabVIEW Since:1994
LV:8.5.1 ,8.6 ,8.2.1
United Kingdom uk_yorkshire Nothing Selected


QUOTE (Tomi Maila @ Jan 8 2008, 10:55 AM) *
I don't think it's possible to get XNodes to even work with LabVIEW classes. LabVIEW simply crashes when a class type wire in connected to an XNode. At least this is my experience. Do you have some knowledge that would allow using XNodes with LabVIEW classes? I would really love to use XNodes with LabVIEW classes.


Hmmm, yes I hadn't fully appreciated the weirdness that a combination of XNodes and Classes can give - I just tried to use one of my Array XNodes with an array of objects and whilst it claims that the output is an array of objects like it should, I can't then index the output array. Seriously strange !

--------------------
Gavin Burnell
Lecturer and EPSRC Advanced Research Fellow
School Physics and Astronomy
University of Leeds, UK.


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Aristos Queue
post Jan 9 2008, 07:02 AM
Post #4


LV R&D Envoy
*****

NI
Posts: 1226
Joined: 15-August 06
From: Austin, TX
Member No.: 5877
Using LabVIEW Since:2000
LV:8.5.1 ,. ,.
United States Nothing Selected Nothing Selected My Gallery


QUOTE (Gavin Burnell @ Jan 8 2008, 06:10 PM) *
Hmmm, yes I hadn't fully appreciated the weirdness that a combination of XNodes and Classes can give

What is the word for "the opposite of interoperable"? I can't think of it right now. But whatever that word is, it applies to XNodes and LVClasses. They don't work well together. They don't play well together. Hell, they won't even go out to a bar and complain about the weather together. What they will do together is pace off 10, turn and shoot each other in the head, generally killing any LabVIEW.exe process that happens to be in the vicinity.

Never forget -- XNodes have never been released. They don't officially exist. Specific XNodes have been designed, tested and certified to work in specific situations. The general technology is unstable for a host of reasons. And LabVIEW classes push all of the boundaries of those instabilities.

It's being addressed, but given that XNodes are a pure NI-internal feature, it really isn't a priority (from a business standpoint) at all to make the two features work together.

Caveat empor.

--------------------
"A VI outside a class is a gun without a safety. Data outside a class is a target."
--- A message from LabVOOP R&D


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Gavin Burnell
post Jan 9 2008, 09:42 AM
Post #5


Very Active
***

Premium Member
Posts: 119
Joined: 21-January 06
From: Leeds, UK
Member No.: 3951
Using LabVIEW Since:1994
LV:8.5.1 ,8.6 ,8.2.1
United Kingdom uk_yorkshire Nothing Selected


QUOTE (Aristos Queue @ Jan 9 2008, 07:02 AM) *
What is the word for "the opposite of interoperable"?


I'll settle for "immiscible" wink.gif

QUOTE (Aristos Queue @ Jan 9 2008, 07:02 AM) *
Caveat empor.


Well, it's like those medieval maps that marked large areas at the edge of the known world with "here be dragons and all manner of strange beasts" - if you sail your ship there and it gets eaten by a sea-serpant you can't sue the map maker (!)

--------------------
Gavin Burnell
Lecturer and EPSRC Advanced Research Fellow
School Physics and Astronomy
University of Leeds, UK.


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:16 AM