Fluxgate measurement code