My poor ol 97 Elantra's(240,000 miles) check engine light has come on. It's still running, but not well. Replaced the wires and plugs and it still has a slight miss and low power. Anyway I had it scanned at Autozone and it gave a code that the Cam Position Sensor was showing high resistance. In your experience does these sensors get weak(they're magnetized) or go bad. I would suppose if it was shot the car wouldn't run at all, but I'm just guessing there. I understand it could be anywhere in the system associated with this sensor up to and including the ECM.
Thanks, Rick