LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

quantifying LabVIEW code

How can i quantify a LabVIEW code in terms of Lines of Code like the program in C/C++ done.
0 Kudos
Message 1 of 4
(2,881 Views)

hi there

you can use the "VI Metrics" menu-item from Tools->Advanced (maybe PDS only..?). or the elements of the "Metrics" VI-property.

 

Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 2 of 4
(2,866 Views)

Yes, VI Metrics seems to be the best way.

Another simple but inaccurate way may be to think of it terms of number of subvis, where each subvi is one screen full of code.  It is generally good programming practice to make code that is bigger than your screen a subvi so this could be a good way unless someone doesn't follow this rule.

 
Brian

Message Edited by BrianPack on 12-06-2005 09:53 AM

0 Kudos
Message 3 of 4
(2,862 Views)

I've heard people advocate treating "number of nodes" (from VI metrics) as equivalent to lines of code. Naturally that's crude, but lines-of-code estimation for textual languages is also a crude process.

::Marty

 

 

 

 

 

 

 

0 Kudos
Message 4 of 4
(2,811 Views)