Arrangements in which the value to be measured is automatically compared with a reference value