GLA Summit 2021/XNodes: Choose Your Own Adventure: Difference between revisions
Appearance
Added video and links |
mNo edit summary |
||
| Line 7: | Line 7: | ||
==Presentation Links== | ==Presentation Links== | ||
* [https://youtu.be/QwHQQh_k1lY YouTube Video Link] | * [https://youtu.be/QwHQQh_k1lY YouTube Video Link] | ||
== See Also == | == See Also == | ||
Revision as of 15:11, 20 May 2022
XNodes: Choose Your Own Adventure by Quentin "Q" Alldredge
Like a "choose your own adventure" novel, LabVIEW provides the ability to create nodes that allows the developer to choose, at edit time, how the node will execute at run time. These nodes are called XNodes and they allow a developer to create new LabVIEW "primitives" for use in other developers' code. These potentially save the developer time by simplifying tasks, making code easier to read and develop, and enabling the reuse of code. In this example, I show how an XNode solves the problem of allowing a LabVIEW Class to access and execute its methods in an "Invoke Node-like" way similar to how it can already access its properties through a Property node.