Multipurpose computer-controlled scanning photometer