Control of a photon control spm002 spectrometer