> On a Pentium III 400 Mhz running LV 6.1 and Win2K calling a sub-VI
> seems to take approx. 3 microseconds.
>
> Even if the hierarchy is complex the total number of sub-VI calls
> might not be high (if e.g. you have 1000 VIs and call them twice every
> second the sub-VI structure will add just 6 milliseconds to the
> execution time) ; using subVIs mainly becomes a problem if you need to
> call the VIs extremely often.
Good explanation, and if you are calling the subVI lots of times, then
you can improve the call speed once the subVI is tested and working by
turning off the debugging options or making it a subroutine.
One other note. If you leave the subVI window open, you will see
controls redrawing and toolbar redrawing. Obviously this slows
things
down. It is great for debugging, but when doing timings, be sure to
close the panel. Also, note that if a subVI is not saved, it will also
run somewhat slower than when saved.
Greg McKaskle