The Daily CLAD

Community Browser
cancel
Showing results for 
Search instead for 
Did you mean: 

Re: The LabVIEW Compiler #2

SercoSteveB
Active Participant

Which of the following does the LabVIEW Compiler use to optimize your code?

NOTE:  Multiple answers may apply.

a) SubVI Inlining

b) Unreachable Code Elimination

c) Dead Code Elimination

d) Loop Invariant Code Motion

Comments
mini09
Active Participant

A - User needs to select or say LabVIEW compiler to optimize the code.

B, C, D are done by compiler.

I learned the above from the link http://www.ni.com/tutorial/11472/en/

My answer would be all options, A,B,C,D

SercoSteveB
Active Participant

I learned the above from the link http://www.ni.com/tutorial/11472/en/

Great link gnshmrthy nice one.

Thoric
Trusted Enthusiast

All of them (where appropriate).

Thoric (CLA, CLED, CTD and LabVIEW Champion)


A.Bernau
Member

I know inline code from c programming language I never heart it from LabVIEW.
So I cant say anything about it.

And I dont know about "Loop Invariant code version"

But C ad D for sure.

Thank you gnshmrthy for the link.

LordNobady
Member

I beleve the programmer has to select A,

B, C and D for shure.


Learning LabVIEW since January 2013
crossrulz
Knight of NI

All the above.


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
MrStevenUND
Member

I was thinking all the above too.

clendon.gibson@canrig.com
Member

Like others have said, A the programmer has to select, but the others are automatic.

SercoSteveB
Active Participant

Answer:  A, B, C, D.  Nice one gnshmrthy, Thoric, LordNobady, crossrulz, MrStevenUND & clendon.gibson@canrig.com.