Based on LabVIEW,this paper designs an automatic n/γ discrimination software system for traditional discrimination methods,which can automatically optimize the configuration parameters according to the PSD feature distribution of neutrons and γ-rays to achieve intelligent feature parameter calculation,and autonomously realize n/γ discrimination.The test results show that the automatic discrimination method can avoid manual adjustment,and intelligently complete the extraction and discrimination of feature parameters,and the discrimination effect and experimental time consuming are better than the manual adjustment.The automatic discrimination method proposed in this paper is effective and reliable,and can be applied to n/γ discrimination in real mixed fields,providing greater convenience for experimenters.