A cannula has an electrically conductive material that runs along the cannula. This material has an electrical terminal, which can be wired or wirelessly connected with a measuring device. This makes it possible to acquire the position of the cannula in a human body, and generate a warning signal given a dislocation of the cannula.