code to control the tension applied to a mariotte vessel - at this stage with a linear actuator and displacement