Your standard electrocardiogram, or ECG, offers a view of your heart's electrical performance while you're during rest . Basically , it detects the waves that trigger your heart to pump . Physicians use this test to examine for potential cardiac problems , such as arrhythmias , signs of a past myocardial infarction , or mineral deficiencies. While