How to Make a Dynamic Dispatch VI Static in a Class?

Updated Jul 31, 2019

Reported In

Software

  • LabVIEW

Issue Details

I am using Object-Oriented Programming (OOP) in LabVIEW and have a dynamic dispatch VI that is part of a class. Now I want this VI to be static. What should I do?

Solution

Complete the following steps to change a dynamic VI into static:
  1. Open the dynamic VI which you want to change.
  2. Right click on the Class In terminal and select This Connection Is>>Required as shown below.
  3. Change the Class Out terminal into Recommended or Optional similar to Step 2.
If the class is going to be part of a dll or executable, you must make the VIs static if you do not want them to be included in a separate support folder.

Additional Information

Vice versa for the VI changing from static to dynamic dispatch.