07-31-2013 07:37 AM
Hello,
I'm using in place structures to call member VIs of classes whose instances are referenced by LabVIEW's data value reference (DVR):
1. Create DVR of class instance;
2. Pass DVR to an in place structure's read reference input;
3. Call the VI within the in place structure.
Does anybody know of a shortcut of this that works without in place-ing, e.g., via invoke nodes?
Thanks,
Peter
Solved! Go to Solution.
07-31-2013 08:01 AM
There's only one shortcut - if the member VIs are configured for property node access, then you can wire the DVR into the property node and it will automatically get the object from the DVR. For other methods there is currently nothing. See here to see what NI thinks about this - http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Have-Dynamic-Dispatching-terminals-accept-Data-Value-r...
07-31-2013 08:29 AM
Fair enough!
Thanks,
Peter