Measurement logic