Electromyography (EMG) and nerve conduction studies (NCS) are tests that measure muscle and nerve function. In most cases, both tests are done.