The system consists of a sensor and a hand terminal. These are firmly connected to each other via a flexible arm. The closing mechanisms of windows are inspected and adjusted using the measured values which can be read on the hand terminal. This avoids injuries due to being caught or crushing.