A measurement instrument for fault diagnosis in QAM-based telecommunications