Your baseline electrocardiogram, or ECG, offers a record of your cardiac electrical function while you're at a relaxed state . Basically , it measures the waves that trigger your heart to beat . Doctors use this procedure to examine for possible cardiac problems , such as abnormal rhythms, indica