How Do I Dynamically Load VIs with Different Connector Panes?

Updated Jul 29, 2018

Reported In


  • LabVIEW

Issue Details

I am trying to dynamically load multiple subVIs in order to call a different subVI in each state of my program.  However, each VI has a different connector pane.


Depending on your program structure, there are two ways to resolve this issue.

1. If possible, modify your subVIs to have the same connector pane.  Then, a call by reference node can be used to call each subVI.

2. If your subVIs must have different connector panes, then you may need to use multiple call by reference nodes inside of a case structure.  Inputs to each subVI can be wired as input tunnels to the case structure, and outputs from the subVIs can be wired as output tunnels.  Unused inputs in each case can be left unwired, and a default value wired to unused outputs to signal they are not valid.  Please see the image below as an example.


Not Helpful