MrYoung Posted December 2, 2010 Report Share Posted December 2, 2010 Hi, I work with a team of very experienced LabVIEW developers, but none of them can answer this question! I seem to remember being able to drag and drop a diagram snippet from the block diagram of a subVI from it's icon. Imagine you have your function pallet open, and you grab a VI, and instead of its icon being placed, it's the code snippet from its block diagram. Kinda like a template. The VI DOESN'T HAVE A FRONT PANEL!! Have I simply dreamed this up!? I don't really need this functionality, but I would love to clear my head. Thanks in advance, Andrew Quote Link to comment
jgcode Posted December 2, 2010 Report Share Posted December 2, 2010 Hi, I work with a team of very experienced LabVIEW developers, but none of them can answer this question! I seem to remember being able to drag and drop a diagram snippet from the block diagram of a subVI from it's icon. Imagine you have your function pallet open, and you grab a VI, and instead of its icon being placed, it's the code snippet from its block diagram. Kinda like a template. The VI DOESN'T HAVE A FRONT PANEL!! Have I simply dreamed this up!? I don't really need this functionality, but I would love to clear my head. Thanks in advance, Andrew Hi Andrew You are not dreaming... ...yes you can do this. All you need to do is select that VI as a Merge VI (artifact) or to Place VI Contents when editing the palettes (also I recommend checking out VIPM 2010 as it makes editing the palettes really easy too). Check out the Nugget Penman here for more info on it. As for dropping an actual template from the palettes - you can vote for this Idea 1 Quote Link to comment
ShaunR Posted December 2, 2010 Report Share Posted December 2, 2010 (edited) Hi, I work with a team of very experienced LabVIEW developers, but none of them can answer this question! I seem to remember being able to drag and drop a diagram snippet from the block diagram of a subVI from it's icon. Imagine you have your function pallet open, and you grab a VI, and instead of its icon being placed, it's the code snippet from its block diagram. Kinda like a template. The VI DOESN'T HAVE A FRONT PANEL!! Have I simply dreamed this up!? I don't really need this functionality, but I would love to clear my head. Thanks in advance, Andrew Indeed. You can. When you edit the pallet menus, there is an option (right click on the VI) to "Place Vi Contents". I you create a VI and set this value, the contents of the VI will be placed in the diagram instead of the icon. lol. JGCode is a faster typist than I Edited December 2, 2010 by ShaunR Quote Link to comment
jgcode Posted December 2, 2010 Report Share Posted December 2, 2010 Indeed. You can. When you edit the pallet menus, there is an option (right click on the VI) to "Place Vi Contents". I you create a VI and set this value, the contents of the VI will be placed in the diagram instead of the icon. lol. JGCode is a faster typist than I ...and I included links Quote Link to comment
MrYoung Posted December 2, 2010 Author Report Share Posted December 2, 2010 Wow....I expected to wait until tomorrow for a reply at the earliest!!! Thanks heaps for getting back to me on this issue. You guys are tops. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.