From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

dynamic dispatch and call by reference node

Does dynamic dispatch not work with call by reference nodes? I get this message:
"You have connected a refnum of one type to a refnum of another type and both types are members of some class hierarchy, but there is neither a simple up cast nor type cast between the two classes."
 
In the reference node, the dynamic terminals looks like ordinary terminals, and not like dynamic ones.
 
LV8.2
0 Kudos
Message 1 of 2
(2,519 Views)
It does work, but with a limitation (bug?) and i was not correct in the first post.
 
The terminals SHALL look normal beause the call by reference node does not call the dynamic VI directly.
 
The input dynamic terminal work. The correct inhereted VI is chosen.
The output termnal does not work correct, it is always the most general class that comes out, and i have to manually cast the wire to a more specific class. When the VI is called normally the correct wire is created automatically.
0 Kudos
Message 2 of 2
(2,514 Views)