To measure the electric current in a circuit the ammeter is connected in