Your resting electrocardiogram, or ECG, offers a record of your cardiovascular electrical function while you're in rest . Simply put, it records the impulses that cause your organ to pump . Your healthcare provider use this test to assess for possible heart conditions , such as abnormal rhythms, signs of a past myocardial infarction , or mineral de