<br>
Hello,

I hope I understood you correctly...  In general, it's better to use
sub VIs to organize and modularize your code.  So, if you can separate
part of the code into a sub VI, do it.

And if your main VI is calling the sub VI in a loop, the sub VI
executes every iteration of the loop.  So, you do not need a loop in
sub VI, normally.  But it depends on what exactly you are trying to
do.

Use the Execution Highlight mode (the light bulb on the diagram
toolbar) to see how the code gets executed, and make changes
accordingly.

Regards,

<i>Khalid</i><p>

Reply via email to