Highlight channel waveform range and export as binary or hex data


Instead of visually transcribing "peaks and valleys" of digital capture waveform into ones and zeroes in notepad, then doing binary to hex conversion by hand, I would like to highlight waveform range and export it directly to binary or hex formatted text file, ready to copy and paste into micro controller IDE. The software will need to have option to define bit time or resolution, or better yet, automatically place markers where single bits are on waveform. I needed this feature when making duplicate gate opener remote for my community gate. I tapped into original micro's data out pin and could not figure out how to automatically transcribe the waveform into correct hex text string to paste into Atmel Studio IDE.