Other than plugging the scanner in and pulling the codes what tests did you do before condemning the cam and crank sensors?
There doesn't appear to be a question in your post.
Is the code permanant or does it clear until the vehicle is started?
From the information you have in your post it sounds like you want us to take a stab in the dark.
I do not mean to come across as being funny
There are many reasons why this code would be triggered by the ecu.
A few checks you could do.
Check timing Check feed,ground and signal to and from cam sensor Check signal from crank sensor
Then of course there are the mechanical issues that could cause this code
With a code like you have the scanner is doing you a massive fovour by pointing you in the general direction of what the ecu doesn't appear to be happy with, but, that's it you will have to dig a alot further in some cases to find the cause.
Post some tests and results and I think one of the top techs on here will gladly help you out and get you to the fix effiencently.
HTH
James
Re: Vauxhall Vivao 2.0 DCi 2007 - MIL on, code P0340 cam sensor #
Hi thanks for the replies. Sorry i meant to put in the post has anybody had the same fault code and was there any common known faults relating to this code. Going to check timing next and check wiring.