Try the attached VI. I think it will do what you want. It's setup to used as a subvi. Check context help for more information on how to use it.
This is saved in 6.0.2, but upgrades with no problems and should be platform independent.
Ed

Ed Dickens - Certified LabVIEW Architect
Lockheed Martin Space
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.