From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

What is the Modularity Index?

Solved!
Go to solution

 

  Modularity Index In  "The Labview Style Book", p 13,
 
     Equation 1.1
     Modularity Index = (# user VIs   /    total # of nodes ) * 100

 

Way?

" 一天到晚游泳的鱼"

labview@263.net

我的个人网站:LabVIEW——北方客栈 http://www.labview365.com
欢迎加入《LabVIEW编程思想》组——http://decibel.ni.com/content/groups/thinking-in-labview
0 Kudos
Message 1 of 2
(3,088 Views)
Solution
Accepted by topic author jwdz

It's a measurement the VI analyzer does.  Something to quantitatively assess whether your VI is very modular or not.  It looks at the number of subVI's used vs. the overall size of the program (by counting total number of nodes.)  If you use enough subVI's, that means you likely have modular code, and will have a higher index.  If you pack all your code in one large diagram and fail to use subVI's to break it down into smaller modules, then your modularity index will be approaching zero.

Message 2 of 2
(3,077 Views)