Measurement by digital signal processor