Intelligent multi-input instrument for electrical measurements