It is applicable to the detection of harmful substances in all products and parts. A device for analyzing the energy of X-ray fluorescence and detecting the elements and contents of the sample.