LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LVOOP: invoke member VIs of class (data) reference; alternatives for "in place"?

Solved!
Go to solution

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

 

0 Kudos
Message 1 of 3
(2,499 Views)
Solution
Accepted by topic author bokorpet

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...


___________________
Try to take over the world!
0 Kudos
Message 2 of 3
(2,489 Views)

Fair enough!

 

Thanks,

 

Peter

0 Kudos
Message 3 of 3
(2,476 Views)