LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

template vis from right click menu

Solved!
Go to solution

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

0 Kudos
Message 1 of 4
(2,860 Views)
Solution
Accepted by topic author drmase13

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

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 2 of 4
(2,854 Views)

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.

 

 Place VI Contents

Message Edited by drmase13 on 10-05-2009 01:47 PM
0 Kudos
Message 3 of 4
(2,848 Views)

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.

 

0 Kudos
Message 4 of 4
(2,432 Views)