Feedback-Controlled X-Ray diffraction topography