03-31-2014 01:56 PM
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: http://zone.ni.com/reference/en-XX/help/371361J-01/lvhowto/creating_vi_templates/
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..."