How does a potentiostat measure electrochemical impedance and cyclic voltammetry?

Electrochemical Impedance Spectroscopy (EIS) and Cyclic Voltammetry (CV) are very popular electrochemical techniques and both of them have been covered in separate articles in our knowledge base: