Hi there, The problem which requires to be solved its a small distance measurement at high speed (about 15cm/second) in a high EM radiation environement (near a few KW generated from 300KHz inductors). The medium distance to be measured is about 2mm, between a a metal surface which have inflexions (it's not a plane surface) and a moving tool. The metal surface is painted, dirty and gruffly, where the paint+dirt have a variable thickness. The generators can't be shutted off while the measurement is performed. I will be glad to hear any possible ideea from specialists (or just thinkers) from these lists. thank you in advance, Vasile http://surducan.netfirms.com -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads