10-05-2009 01:19 PM
Hi all,
I've searched and could not find any posts with this situation. I have made a template vi, and saved it in a subdirectory in Labview's built-in templates folder. Then, I've added it to a new palette so that I can access this template quickly and base a new vi on it.
My problem is: when I click this template in my new palette, the template gets placed as a subvi in my blank diagram, and the icon has a blue "T" on it. If I double click this icon it opens the template itself.
What I want: when I click the template in the palette, I want to place the template's block diagram on a blank diagram that I already have open.
If I double click the vit in Windows Explorer, it opens a new vi with my template in it (which is good, but I don't want to have to click from Windows all the time).
Is there a setting or property that I missed? I know this is possible, I've seen it done with other custom templates (such as the JKI Toolkit templates).
Thanks,
Don
Solved! Go to Solution.
10-05-2009 01:36 PM
Take a look at this nugget by Yair.
They used to be called Merge VI's so I found it using a different search.
Ben
10-05-2009 01:44 PM - edited 10-05-2009 01:47 PM
Ah, thanks, Ben. That was it.
In LabView 8.6 it's named as "Place VI contents" which is self-explanatory but I did not think to look in the right click menu while customizing my palette.
03-12-2014 06:08 PM
The new method of doing about the same thing is called snippets:
http://labviewwiki.org/Snippet
Worth looking at if you found yourself here in a search on vi templates.