This article presents the design and fabrication of two onedimensional highprecision flux gate magnetometers with ringshaped magnetic cores based on LabVIEW filter program, which are used for weak magnetic field measurement. Both magnetometers use a 1.5 kHz sine wave as the excitation signal. Differently, the No.1 magnetometer uses 1k107 thin tape as the magnetic core material, with a measured sensitivity of 2.913×10-4 V/μT, a minimum resolution of 56.0 nT, and a range of approximately 1300 μT; The No. 2 magnetometer uses 1j85 thin tape as the magnetic core material, with a sensitivity of 3.050×10-4 V/μT, a resolution of 99.5 nT, and a range of approximately 600 μT. The experiment verified the measurement ability of the magnetometer in four typical magnetic fields (geomagnetic field, Helmholtz coil, DC wire, and small magnet magnetic field), and the measured magnetic field distribution was consistent with theory.