capacitive-resistive measurement