Measuring a physical parameter