‎05-22-2006 04:42 AM
‎05-22-2006 11:37 AM
‎05-23-2006 06:04 AM
‎05-23-2006 07:20 AM
‎05-23-2006 07:44 AM
‎05-23-2006 07:58 AM
‎05-23-2006 08:08 AM
‎05-23-2006 08:20 AM
‎05-23-2006 08:21 AM
A inline subroutine is just a "cut'n paste" routine that is inserted by the compiler. For instance if i have the subroutine:
A(b,c) = b^2 + c^2
then later i write
D=A(3,8)
(all in diagram form)
then the compiler will just replace the A(3,8) with 3^2 + 8^2 before it compiles the program.
‎05-23-2006 08:21 AM
hi there,
besides the optimized execution speed of subroutine VIs there's another point:
subroutine VIs prevent OTHER VIs to execute at the same time! So if you have PARALLEL tasks the execution speed of non-subroutine VIs will decrease in general, those of subroutine VIs won't! It's not only a question of efficiency, it's also a question of determinism. As long as there is only one single VI running in a single loop the execution speed of subroutine VI and non-subroutine should differ not that mouch.