title: Create subvi from output of loop
body: <p>Labview is very frusturating to me having used C/Java before.</p>
  
  <p>I have a simple problem I dont know how to solve. </p>
  
  <p>My program does some operations in a loop and updates an indicator inside the loop. I would like to make this loop (and the inputs it requires) into a VI but I have no idea how to make the indicator an output of the VI.</p>
  
  <p>I would like to be able to reuse this VI, connect an indicator to it, and have it automatically update without creating any loops outside of the VI.</p>
  
  <p>In C I would be able to do this by either returning a pointer or passing by reference to a function.</p>