03-31-2014
01:56 PM
- last edited on
07-25-2025
12:12 PM
by
Content Cleaner
Hi I am taking over some existing LV code where the programmer created 8 exact copies of the same vi with different names. As you can image this is a maintenance nightmare. So I was reading about using vi templates to create 8 instances of my same sub vi here: https://www.ni.com/docs/en-US/bundle/labview/page/creating-template-vis.html
I have attached an image of my labview code and utimately would like to have 8 references to new vis spawned off 1 template VI. Is there an example or does anyone have any guidance on how to achieve this?
03-31-2014 03:07 PM - edited 03-31-2014 03:10 PM
Look at the shipping examples "Populating the Asynchronous Call pool.vi" ans Asynchronous Call and Collect (Using option 0x04).vi
Using a VIT at run time is obsolete with the Asynchronous Call By Reference node.
Leave your VIT's in <LabVIEW>\Templates for "File>>New..."