Instrument for measuring electrical resistance