output regwaveform