Can you use a microcontroller? If so, then it would be possible to start a loop when the trigger is activated which increments a counter and sets a DAC which is disabled. Let it count up until clock goes high - that is the count at which 1V should be output. Then on every next trigger activation, increment a counter and set a DAC which is enabled and scaled for 0-1v output.