What does the piezoelectric scanner do? Does it record the electric current tunnelled by the tip or is it just used to move the tip in response to electric currents?
The latter. It is to move the atomically-sharp tip across the sample view, which is on the order of hundreds of square nanometers (in a fine-scan scheme).