I'm not sure what you mean by a sub loop routine, but if you mean a subroutine (or subVI in LVspeak) within the loop, a case structure is what you want. To take Dennis's picture as an example, take the boolean value coming out of the "Greater or Equal" VI and wire it into the selector of a case structure. Then, put your code inside the True case. Keep in mind that you will still need to have some sort of condition for stopping the loop and that if you only want your new code to execute once, you should replace the "Greater or Equal" VI with "Equal". If you do want the loop to end and the code to execute after the loop ends, you need to place the new code outside the loop and force it to run after the loop ends. You can do this by wiring something coming out of the loop (like the stop condition) into the case structure, or you can artificially impose this by using a sequence structure.
To learn more, I suggest you try searching this site and google for LabVIEW tutorials. 
Here is one you can start with. You can also contact your local NI office and join one of their courses.
Message Edited by tst on 03-15-2005 12:11 PM
					
				
			
			
				
	
___________________
Try to take over the world!