XNode and ExternalNode help
#1
Posted 10 April 2012 - 04:57 PM
#3
Posted 11 April 2012 - 07:52 PM
#6
Posted 13 April 2012 - 01:20 AM
lordexod: The XNode tech is reserved to National Instruments for a long list of reasons, not the least of which is that it requires some significant contortions to avoid the traps and pitfalls of working with them. XNodes invoke G code to do their work. There are various operations that are not stable to do while LV is doing certain operations (loading a VI is not always safe, for example, depending on what else LV is doing at the time). As a matter of fact, XNodes have been mostly abandoned by NI for further development ourselves because of their issues. They work great for some things, but poorly (or crashily) for others, and it is very hard to tell in advance whether a given use case will turn out to be the former or the latter. We'd like to have a more complete "G written in G" solution, one that we could release to customers, but XNodes aren't it.
#7
Posted 13 April 2012 - 01:31 AM
https://decibel.ni.c.../docs/DOC-13859
Then check out some more of darin's black magic. There is an Xnode tool in the code repo as well that will help you as well.
#8
Posted 13 April 2012 - 03:26 AM

POPULAR
#10
Posted 14 April 2012 - 03:46 PM
Ah, but XControls don't have the potential to corrupt your VI if you do them wrong. There's a big difference between "complex" -- which is a reason to put a good UI on something but not a reason to never release it -- and "flakey around the edges" -- which is a reason to keep it in house.I usually buy the "it is too complicated for the masses" argument until I try using XControls. Compared to those XNodes are a walk in the park.
#11
Posted 15 April 2012 - 09:49 PM
XControls can lock you out of classes in rather unfriendly ways (and yes this is documented I know but I still think it's not great that the IDE lets one create uneditable items without a bit more effort to stop you...). Still XNodes are fun to play with and a pain in the backside to work with. It's a shame that that is apparently an unsurmountable hurdle, but hey third (or more ? - External Nodes, XNodes, ...) time luckyAh, but XControls don't have the potential to corrupt your VI if you do them wrong. There's a big difference between "complex" -- which is a reason to put a good UI on something but not a reason to never release it -- and "flakey around the edges" -- which is a reason to keep it in house.
Lecturer in Condensed Matter Physics
School of Physics and Astronomy
University of Leeds, UK
http://www.stoner.le...ac.uk/people/gb
#12
Posted 19 April 2012 - 07:49 PM
"Yes. I do. No, I won't share. " - If you do not want to share or exchange,you will not admit publicly that you have something.
Darin: With this "MathNode" a good job. A little bit I know already what is going on with this XNode.
#13
Posted 19 April 2012 - 07:58 PM
#14
Posted 19 April 2012 - 08:21 PM

POPULAR
I can corrupt a VI with scripting, with Write to File, or even setting the current values to default. And just because I can wreak havoc with my reciprocating saw does not change the fact it is my favorite tool in my garage. With great power comes great responsibility.
I do wish that someday I could package XNodes in Packed Project Libraries, they are made for each other. A single package containing one useful top-level object and a bunch of specialized subVIs that are best kept private.
In the meantime, besides the existing resources on LAVA I would check out the following:
http://forums.ni.com...ode/m-p/1293680
(a cool, simple XNode example. Shows handling clicks, type adaptation, and updating the image)
https://decibel.ni.c.../docs/DOC-15362
(a bit of a play, shows a few more abilities and techniques)
Attachment: This is a picture constant which allows drag and drop of common image types (JPEG, PNG). You can place this constant on the BD and then drag and drop an image file to get a constant picture. When you are finished, you can right-click and replace the XNode with a simple picture constant (this avoids the need to distribute the XNode with your VI). I like it as a quick way to get a picture constant without the usual method of read file, draw to picture indicator, create constant, copy, paste. Simply extract the folder and drag the .xnode file to your BD. XNodes can be added to your palettes, just remember to choose the 'All Files' filter when browsing for the .xnode file.
enjoy!
Attached Files
#15
Posted 20 April 2012 - 08:55 AM
Darin: This XNode's is a very interesting.
#16
Posted 22 May 2012 - 02:56 PM
Anyone know what is "LabVIEW_LabVIEWInternalTag_PKG"?
#17
Posted 22 May 2012 - 04:57 PM
#18
Posted 22 May 2012 - 06:24 PM
Second, xnodes were not designed as a feature for customers but as an internal tool. - I am not a customer.
As such, believe me!, they are buggy, under documented, flaky, dangerous and unfinished. - I did not bother me.
They are nowhere near a feature we can support and we are not allowed to talk about them. - This is the forum, you do not have to speak.
You know what it is "LabVIEW_LabVIEWInternalTag_PKG"?
#19
Posted 31 May 2012 - 04:26 PM
From what I saw, there are several types of XNode (CXNode, GXNode, HybridXNode).
#20
Posted 05 July 2012 - 12:00 PM














