Vauxhall Zafira 2.0DTI (53 Plate) - Car will not start - kds44

My 53 plate Vauxhall Zafira will not start. The engine turns over but it will just not kick into life.I a rranged for local vauxhall garage to check the car and they reported the following faults P0335 and P0340 advising they suspected a fault ewith tthe high pressure diesel pump. They then said it would £2.9k to replace pump (with a reconditioned one!). I had read that these faults could relate to a crankshaft sensor? Ho much would this cost and how easy is this to replace - any help would be greatly apprecaited. I am reluctant to spend nearly £3k on a car that is probably only worth that especially as the vauxhall dealer could not gaurantee this would fix the fault.

Vauxhall Zafira 2.0DTI (53 Plate) - Car will not start - Railroad.

P0335 is the code for the engine RPM sensor and P0340 is the code for the Camshaft sensor. If both of these signals are not received the engine will not start because the ECU does not know the engine turning. So assuming there is nothing mechanical at fault such as a broken cambelt the obvious place to start looking is the crankshaft sensor. The easiest way to test it is by using the scantool you presumabley used to extract the fault codes. Select Live Data and look at Engine Speed. Crank the engine and the speed should be displayed. If it isn't and shows zero that'll be your problem. It's an inductive sensor on these and you check it be measuring its resistance which should typically be between 150 & 1500 ohms. Then check the sensor by measuring its voltage output which should be at least 0.5 volts AC on cranking. Remember to check that using AC volts, not DC volts. If your sensor measures outside of these values it needs to be replaced.....