I modified your vi a little. Now it should work how you want it to work.
Thomas
Using LV8.0 -------------------------------------------------------------------- Don't be afraid to rate a good answer... 😉 --------------------------------------------------------------------