01-10-2012 05:34 PM
@Steve Chandler wrote:
Hey, maybe a reuse VI that contains the Here.vi and the comment with a scrollbar below it. Set that VI to place contents.
Nice if you only want one comment....or you want to search though every Here-x.vi created from Here.vit in the heirarchy (Bloats vi.llb too)
01-10-2012 05:37 PM
Not a VIT. Just a VI in the reuse pallet set to place it's contents. It's contents contain Here.vi and a string constant. That way when you drop the container VI it places those two things. I edited my previous post and added a snippet.
01-10-2012 05:42 PM
@Steve Chandler wrote:
Not a VIT. Just a VI in the reuse pallet set to place it's contents. It's contents contain Here.vi and a string constant. That way when you drop the container VI it places those two things. I edited my previous post and added a snippet.
Ive never used that feature. can you attach the vi (I'm off to the LabVIEW Help file)
01-10-2012 05:57 PM
I only know how to do this using VIPM so that wouldn't work since you are behind that curtain. Here is a post describing how to do it manually. I know that this is how the math constants work. They are just VIs that place their block diagram contents when dropped. The block diagram just has a numeric constant with the value set to pi or whatever. (Well some of them work that way, I am not sure if they all do)
01-10-2012 08:17 PM
@Steve Chandler wrote:
I only know how to do this using VIPM so that wouldn't work since you are behind that curtain. Here is a post describing how to do it manually. I know that this is how the math constants work. They are just VIs that place their block diagram contents when dropped. The block diagram just has a numeric constant with the value set to pi or whatever. (Well some of them work that way, I am not sure if they all do)
Fair enough- So, with VIMP and Odd wires, I am curious to know if I can create that vi and have no effect on the heirarchy view- If so, I can "ignore the man behind the curtain" and be awarded a brain.
01-10-2012 08:33 PM
01-10-2012 08:40 PM
@Steve Chandler wrote:
It will not have any effect on the hierarchy view. It will place a string constant and your Here.vi on your bd just as if you had placed them yourself. The weird wires thing is something you can obviously ignore. I just did that manually for effect. If you look for Darrens Nuggets he wrote one on placing VI contents. I'm on my phone now so can't provide a link. I might take back the part about how math constants are just VIs that work like this. I know the string constants do (linefeeds, spsce constant, tab constant) but I cannot verify that the numerics work the same. I imagine they would.
Bows~~~~Dude....Awesome RTFM, RTFM, RTFM. I should take my own advice
01-17-2012 06:34 AM
Can Micro-nuggets simply point to other nuggets? The "Place VI Contents" (formerly known as "Merge VIs") is an awsome one, that many people aren't aware of.
Darren documented this here: http://forums.ni.com/t5/LabVIEW/Darren-s-Weekly-Nugget-11-23-2009/m-p/1028104
01-17-2012 08:41 AM
@Phillip Brooks wrote:
Can Micro-nuggets simply point to other nuggets?
There ain't no rules!
01-27-2012 11:41 AM
LabVIEW micro-nugget: Recusively strip path multiple times using Build Path
http://forums.ni.com/t5/LabVIEW/Strip-path-multiple-times/m-p/1408296#M547386