Writing to buffer on trigger

RecordBuf has run and trigger inputs; perhaps these would handle it.

hjh