Linear Absolute Position Sensor.
This sensor uses an electronic board with microprocessor and a magnetic detectors strip to define the absolute position of the external magnet with respect to the measuring bar.

This device is very robust, it can bear total immersion, it has no moving electrical parts and it is very suitable for heavy duty