Your cardiac test , also known as an electrocardiogram or ECG, provides a view of your cardiac electrical performance while you're at rest . This routine procedure involves sticking small electrodes to your chest , arms, and legs . The ECG device then displays these electrical waves , allowing your healthcare provider to check for any irregularitie