Measuring domain wall position or domain wall motion