LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

SubVI's of reentrant VI's - super basic question

Ahhh, the No Free Lunch law

0 Kudos
Message 11 of 13
(202 Views)

@PaulOfElora wrote:

Ahhh, the No Free Lunch law


That sums it up nicely.

0 Kudos
Message 12 of 13
(197 Views)

wiebe@CARYA wrote:

@PaulOfElora wrote:

I like the in-lining approach, might get a little speed boost out of it.


At the expense of extra compile time.

 

And you'll loose the ability to debug the VI (probes, FP values, breakpoints, etc.).

 

You can't inline everything. VIs containing property nodes, invoke nodes, expression nodes (probably not a complete list) can't be inlined.

 

You can't put anything in a clone either. Pre-allocated clones don't allow application events, IIRC. A rarity, but recently ran into this.


Which is why we state that inlining is useful for small, concise, simple VIs where you will not need to do much debugging, but could use some extra potential optimizations.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 13 of 13
(191 Views)