A valve controller for controlling a valve, the valve controller being configured to execute a setup process and comprising: a first pilot valve configured to control the position of a first disc cooperating with a first valve seat to form part of a flow controlling unit of the valve by means of energizing an actuator that is mechanically coupled to the first disc by allowing a first pressurized fluid to enter the actuator and by means of de-energizing the actuator by allowing the first pressurized fluid to leave the actuator, a second pilot valve configured to control the position of the first disc by means of energizing the actuator by allowing a second pressurized fluid to enter the actuator and by means of de-energizing the actuator by allowing the second pressurized fluid to leave the actuator, wherein the first pilot valve and the second pilot valve are configured to move the first disc in opposite directions when the actuator is individually energized by the first pilot valve and the second pilot valve, a first sensor for providing a sensor reading indicative of the position of the first disc, an input device configured to initiate the setup process, and a memory unit configured to store setup parameter values, the setup process being configured to perform the steps: determining parameter values indicative of the functionality of at least one of the valve controller, the actuator and the flow controlling unit, the step of determining parameter values comprising the sub-steps: obtaining a first sensor reading from the first sensor when the actuator is de-energized by the first pilot valve, wherein the first sensor reading comprises a first parameter value, obtaining a second sensor reading from the first sensor when the actuator is energized by the first pilot valve, wherein the second sensor reading comprises a second parameter value, and obtaining a third sensor reading from the first sensor when the actuator is energized by the second pilot valve, wherein the third sensor reading comprises a third parameter value; and storing the parameter values as setup parameter values in the memory unit. a first pilot valve configured to control the position of a first disc cooperating with a first valve seat to form part of a flow controlling unit of the valve by means of energizing an actuator that is mechanically coupled to the first disc by allowing a first pressurized fluid to enter the actuator and by means of de-energizing the actuator by allowing the first pressurized fluid to leave the actuator, a second pilot valve configured to control the position of the first disc by means of energizing the actuator by allowing a second pressurized fluid to enter the actuator and by means of de-energizing the actuator by allowing the second pressurized fluid to leave the actuator, wherein the first pilot valve and the second pilot valve are configured to move the first disc in opposite directions when the actuator is individually energized by the first pilot valve and the second pilot valve, a first sensor for providing a sensor reading indicative of the position of the first disc, an input device configured to initiate the setup process, and a memory unit configured to store setup parameter values, determining parameter values indicative of the functionality of at least one of the valve controller, the actuator and the flow controlling unit, the step of determining parameter values comprising the sub-steps: obtaining a first sensor reading from the first sensor when the actuator is de-energized by the first pilot valve, wherein the first sensor reading comprises a first parameter value, obtaining a second sensor reading from the first sensor when the actuator is energized by the first pilot valve, wherein the second sensor reading comprises a second parameter value, and obtaining a third sensor reading from the first sensor when the actuator is energized by the second pilot valve, wherein the third sensor reading comprises a third parameter value; and obtaining a first sensor reading from the first sensor when the actuator is de-energized by the first pilot valve, wherein the first sensor reading comprises a first parameter value, obtaining a second sensor reading from the first sensor when the actuator is energized by the first pilot valve, wherein the second sensor reading comprises a second parameter value, and obtaining a third sensor reading from the first sensor when the actuator is energized by the second pilot valve, wherein the third sensor reading comprises a third parameter value; and storing the parameter values as setup parameter values in the memory unit.