The autodiagnosis system of an intelligent measuring instrument