A 1D simulation of the measurement process in the Atom Chip Microscope