Event triggered pulses

Worked on adding externally triggered pulses to Controller. Still has to
be checked.