analogue to digital conversion (for measuring instruments)