Your resting electrocardiogram, or ECG, provides a view of your cardiac electrical performance while you're during a relaxed state . Basically , it detects the impulses that cause your muscle to beat . Physicians use this test to examine for potential heart conditions , such as abnormal rhythms,