04-12-2011 09:58 AM
I learned that if you create a template (vit) and use the template, every instances would be a clone. However, I used some of the vit files that come with LabVIEW, and I do not get a clone. When would a vit translate into a clone? Is a clone just a regular vi with reentrant execution and preallocate clone for each instance enabled in the execution menu? Is the only reason use a clone is to have unique memory spaces for multiple instance of the same vi (clone) used? Are there other purposes of a clone?
Solved! Go to Solution.
04-13-2011 10:31 AM
jyang72211
This may shed some more light on this:
http://digital.ni.com/public.nsf/allkb/EC8BC15455F345DC862571630000074D?OpenDocument
http://digital.ni.com/public.nsf/allkb/98847B4E4C715E6D86256C59006B57CC?OpenDocument 🙂
I hope this helps
04-13-2011 11:29 AM
So I'm confused by parts of the original post. I've created some template files (.vit extension) and they were not clones. Are they clones when jyang72211 creates them because his VIs are cloned instances before creating the .vit file?
I think a .vit file only translates to a clone when you manually change it to be one in the VI properties menu, correct?
04-13-2011 11:51 AM
zenthoef-
I believe you are correct, they are not clones initially but upon changing the properties menu they become clones 🙂