04-23-2009 11:08 AM
Dear Sir
Are there any problems if I used about 15 subvi in my main model from performance and execution points of view??
Ahmad
04-23-2009 11:18 AM
15 SubVIs don't matter.
My largest app has about 2.000 subVIs and I know of apps with 5.000+ subVIs.
If you really have problems with CPU load you have to think about the app itself. You can get improvement using the Inplace structure when working on large arrays or you must optimize the code in various ways.
Small VIs will allow you to spot those places by using the Profile>>Perfomance and Memory allocation tool in LV.
04-23-2009 01:55 PM
I just wanted to add that I also have worked on many projects with well over 5000 VIs, and from a performance perspective the issue is not the number of VIs. It almost always is memory usage of your data and normal design decisions. There is a great app note on handlign large data sets in LabVIEW if you feel that is your application.