A method for the measurement of a solid sample by pulsed glow discharge spectrometry, comprising the following steps: a) applying a pulsed RF electric field at the terminals of the electrodes of a glow discharge lamp in the presence of a carrier gas and a sample to be analysed, said lamp being electrically coupled to an impedance matching device having a variable electric impedance Ω, the impedance matching device being consisted of electromechanical components, so as to generate a pulsed glow discharge plasma, the duration of an electric pulse being equal to τ 1 the pulse repetition frequency being equal to F 1 comprised between 0.1 kHz and 20 kHz and the cyclic ratio of a pulse being equal to τ 1 x F 1; b) measuring by mass spectrometry at least one signal representative of an ionised species having a predetermined m/z ratio, said measurement being carried out at an acquisition frequency F 2 higher than 1/τ 1, characterized by the steps: c) measuring a signal representative of the impedance mismatch ΔΩ between the pulsed RF electric field generator and the electrodes of the discharge lamp during at least a part of the plasma pulses by means of a fast numerical measurement acquisition system synchronised with said pulses, said fast acquisition system having an acquisition frequency F 3 higher than 1/τ 1; d) determining an impedance variation dΩ to be applied to the impedance matching device as a function of the measurement of a signal representative of the impedance mismatch ΔΩ; e) modifying the impedance Ωof the impedance matching device, the electromechanical components being capable of varying continuously said variable electric impedance Ω over a cycle of several pulses as a function of the value of dΩ determined at step d); f) repeating steps c) to e) so as to minimize the impedance mismatch ΔΩ. a) applying a pulsed RF electric field at the terminals of the electrodes of a glow discharge lamp in the presence of a carrier gas and a sample to be analysed, said lamp being electrically coupled to an impedance matching device having a variable electric impedance Ω, the impedance matching device being consisted of electromechanical components, so as to generate a pulsed glow discharge plasma, the duration of an electric pulse being equal to τ 1 the pulse repetition frequency being equal to F 1 comprised between 0.1 kHz and 20 kHz and the cyclic ratio of a pulse being equal to τ 1 x F 1; b) measuring by mass spectrometry at least one signal representative of an ionised species having a predetermined m/z ratio, said measurement being carried out at an acquisition frequency F 2 higher than 1/τ 1, c) measuring a signal representative of the impedance mismatch ΔΩ between the pulsed RF electric field generator and the electrodes of the discharge lamp during at least a part of the plasma pulses by means of a fast numerical measurement acquisition system synchronised with said pulses, said fast acquisition system having an acquisition frequency F 3 higher than 1/τ 1; d) determining an impedance variation dΩ to be applied to the impedance matching device as a function of the measurement of a signal representative of the impedance mismatch ΔΩ; e) modifying the impedance Ωof the impedance matching device, the electromechanical components being capable of varying continuously said variable electric impedance Ω over a cycle of several pulses as a function of the value of dΩ determined at step d); f) repeating steps c) to e) so as to minimize the impedance mismatch ΔΩ.