A position measuring system having a housing with a wall, the wall having an opening and including a deformation. A measurement device accommodated in the housing, the measurement device detects and/or processes measurement values and outputs a position-dependent measurement signal. A cable including a shield, wherein the cable is positioned within the opening and is electrically connected to the measurement device so as to carry the measurement signal. The deformation of the wall fixes the cable in the opening and for binding the shield to the housing.