A seismograph is the device that scientists use to measure earthquakes. The goal of a seismograph is to accurately record the motion of the ground during a quake. If you live in a city, you may have noticed that buildings sometimes shake when a big truck or a subway train rolls by.