what is the instrument that is used to measrure resistance