Control of working procedures of a spectrometer; Failure detection; Bandwidth calculation