A method for performing electric measurements with precision self-control