Selection of sensor