Here's a LabView 6.1 sample.
For the real application, instead of just writing to the Voltage indicator and local variable, call the sub-VI that sets the voltage twice (once inside of the loop and once outside of the loop). Because of the LabView data dependency model, since the input for Voltage for the sub-VI outside of the loop will come from inside the loop, the output won't be provided until the loop is done, and the subVI outside of the loop won't run until then.