RPM needle

What would cause my RPM needle to go all the way to the right (red zone) with no change in the engine. It most often happens the first few minutes of driving, but can happen at any time. The engine does not rev up at all. I have taken it in but they could find nothing that would cause this to happen.

These are electronic…so I suspect a loose connection or bad ground.