LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Micro-Nuggets !!! ~~~~ Post 'em if you got 'em


@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)


"Should be" isn't "Is" -Jay
0 Kudos
Message 101 of 368
(2,130 Views)

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.

=====================
LabVIEW 2012


0 Kudos
Message 102 of 368
(2,128 Views)

@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)


"Should be" isn't "Is" -Jay
0 Kudos
Message 103 of 368
(2,126 Views)

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)

=====================
LabVIEW 2012


Message 104 of 368
(2,121 Views)

@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.


"Should be" isn't "Is" -Jay
0 Kudos
Message 105 of 368
(2,109 Views)
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.
=====================
LabVIEW 2012


Message 106 of 368
(2,119 Views)

@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 adviceSmiley Embarassed  


"Should be" isn't "Is" -Jay
0 Kudos
Message 107 of 368
(2,114 Views)

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

 

Message 108 of 368
(2,004 Views)

@Phillip Brooks wrote:

Can Micro-nuggets simply point to other nuggets?  


There ain't no rules!

Richard






0 Kudos
Message 109 of 368
(1,976 Views)

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

 

Message 110 of 368
(1,899 Views)