Excitation of an open strip-type resonator by a modulated beam of charged particles