The principle of biofeedback is used to incorporate a patient into a control loop for relaxation by light signals. For this purpose, a sensor measures physiological parameters of the patient. By virtue of the fact that the respective physiological parameter controls a lighting parameter such as light color or light intensity of a lighting unit using the signal processing of a microprocessor in a control loop, the patient acquires visual biofeedback with respect to his/her physiological parameter. Endogenous regulation processes of the patient are thus made accessible to his/her consciousness. The outputting of the light signals is continued until the patient is prepared for the required examination and there is no need for a further administration of medicaments for calming. The work results of the medical-technical installation may be kept optimal as a result of the relaxation of the patient even without administration of medicaments.