Observation of the formation of the 0-pi pulse