Electromyography (EMG) involves doctors using needles to detect electrical activity in the muscles. This test can confirm a diagnosis of carpal tunnel syndrome. Carpal tunnel syndrome occurs when the ...