The invention refers to an arrangement and a method for determining a longitudinal position of a stopper for sealing a compartment of a translucent medicament container for a liquid medicament (M). The arrangement comprises a circular light source and a photo sensitive sensor, wherein either the light source or the sensor is laterally arrangeable next to the medicament container extending over at least part of the length of the medicament container, and wherein the respective other of the light source and the sensor is arrangeable in a circular manner around a head of the medicament container. The light source is arranged to emit light into the medicament container. The light is scattered by the medicament or medicament container and detected by the sensor. The sensor is connected to a processor unit for detecting the position of the stopper).本発明は、液状薬剤(M)の半透明の薬剤容器(1)のコンパートメント(5)をシールするためのストッパ(4)の長手位置を決定するための配置及び方法に関する。配置は、円形光源(8)及び光感受性センサ(7)を含み、ここで光源(8)又はセンサ(7)は、薬剤容器(1)の長さの少なくとも一部に広がる薬剤容器(1)に接して横方向に配置可能であり、ここでそれぞれの他の光源(8)及びセンサ(7)は薬剤容器(1)の先端周りに円形状に配置可能である。光源は薬剤容器中に光を放射するように配置される。光は薬剤又は薬剤容器(1)により散乱され、センサ(7)により検出される。センサ(7)はストッパ(4)の位置を検出するためにプロセッサユニットに連結される。【選択図】 図3