A computer controlled photon counting flame emission spectrometer