I've made a VI that does what you need.
I've attached it to this message, and a screenshot of it in case you don't have LV 8.2
Let my know how it works.
P.D. As a suggestion attach your screenshots as images instead of Powerpoint files, it's easier to see the images and faster
|Robst - CLD|
|Using LabVIEW since version 7.0 |