Reusing VIs
- Updated2025-07-23
- 1 minute(s) read
If a user interface calls a VI that the test program also calls as a code module, you must ensure that the name of the VI called from the user interface does not match the name of the VI when it is called as a code module.
Apply a prefix to all dependent VIs when building the user interface into a stand-alone application to avoid a naming conflict among the dependencies of the user interface executable and the code module VIs called from test sequences.
Note When you apply a prefix to a user interface-dependent VI, the user interface does not share the same instance of the VI as the VI when it is called as a code module. Use shared variables or LabVIEW queues to share information between user interface and code module VIs.