The heart captured with the use of ultrasonic waves. To capture these images, cardiologists inject their patients with dye or saline to better show the various chambers of the heart. Then the doctor or sonographer uses an maxx test 300 ultrasound transducer to capture images of the heart on a computer screen. Often, the electrodes are also placed on the chest to allow the doctor to take an electrocardiogram simultaneously. EKG machine Cardiologists use an EKG machine to measure the amount of electrical.