Custom high-speed sampling frequency accurately identifies the location and size of surface convex and concave defects on flat wires. Simultaneously measures width and thickness while detecting surface particle defects.