Exception in rendering!

Message: window is not defined

ReferenceError: window is not defined
    at new c (/tmp/execjs20161208-80463-yux39wjs:136:3912)
    at m.mountComponent (/tmp/execjs20161208-80463-yux39wjs:47:15602)
    at /tmp/execjs20161208-80463-yux39wjs:49:31860
    at a.r.perform (/tmp/execjs20161208-80463-yux39wjs:47:12503)
    at Object.a [as renderToString] (/tmp/execjs20161208-80463-yux39wjs:49:31821)
    at r (/tmp/execjs20161208-80463-yux39wjs:50:21164)
    at Object.S.ReactOnRails.serverRenderReactComponent (/tmp/execjs20161208-80463-yux39wjs:32:6073)
    at eval (eval at <anonymous> (/tmp/execjs20161208-80463-yux39wjs:173:8), <anonymous>:10:23)
    at eval (eval at <anonymous> (/tmp/execjs20161208-80463-yux39wjs:173:8), <anonymous>:17:3)
    at /tmp/execjs20161208-80463-yux39wjs:173:8

Q: Code P0340

asked by on

code p340 keeps coming back. the sensors that were changed where the one on the right and the front. I smell gas and car is running sluggish.

My car has 132000 miles.
My car has an automatic transmission.

A: Hello. Code P0340 sets due to many possible...

Hello. Code P0340 sets due to many possible faults. The sensors themselves have to be tested using an oscilloscope to see if the output waveform meets spec. If the sensors were not tested, there may have been nothing wrong with them and that is why the Code has returned. DTC's do not necessarily identify faulty parts. The only way to condemn a part is on the basis of a specific test procedure and diagnostic in the shop manual, wherein the specifications for the part will also be printed.

An expert can diagnose it for you to get the issue resolved promptly. Among the initial steps, you are to check the sensor wiring back to the ECM. If the crankshaft position sensor (CPS) is malfunctioning (it can be tested), such a failure could set code P0340. Code P0340 can also set if there is a fault in the VVT (variable valve timing) system on your vehicle. All of these possibilities, and quite a few others, have to be evaluated a mechanic. To have this checked for you, a qualified professional from YourMechanic can come to your home or office to diagnose the code and proceed with proper repairs.

Was this answer helpful?

Need advice from certified mechanic? Get help now!

Over 1000 mechanics are ready to answer your question.
The statements expressed above are only for informational purposes and should be independently verified. Please see our terms of service for more details

Ask a Mechanic
(100% Free)

Have a car question? Get free advice from our top-rated mechanics.

Ask A Mechanic
Over 10,000 questions answered!

Get an instant quote for your car

Our certified mechanics come to you ・Backed by 12-month, 12,000-mile guarantee・Save up to 30%

Get a quote

What others are asking

Q: Front tire locking up

A locking front wheel can be catastrophic in many cases. Your vehicle may be experiencing failure in its ABS system. Also this can be a result of a ceased brake caliper. I would have a certified mechanic take a closer...

Q: Bank one and two in rich conditions, CEL on

If the mass air flow sensor has failed, unfortunately cleaning will not resolve the issue. I would recommend having your mass air flow sensor tested with a digital multimeter or scan tool using the manufacturer's suggested procedure to determine if...

Q: Check engine light with P1717 error code

The code does pertain to the transmission selector range switch. This switch tells the transmission what gear you are selecting. This code can be induced if the battery voltage got below 11 volts. I would suggest having the code cleared;...

Related articles

What Causes Hoses to Leak?
While the largest part of your engine is mechanical, hydraulics plays a significant role. You’ll find fluids at work in a number of different areas. Your car's fluids include: Engine oil Transmission...
How to Avoid Back Pain in a Car
If you have back problems, sitting in a car for an extended period of time can be excruciating. Even without back problems, you could experience discomfort and soreness from...
How Much Does a Mechanic Make in Vermont?
Automotive technician jobs in Vermont have an average mechanic salary of $37k, with some mechanics earning a salary of $53k.