To avoid the XY Problem, here's what I'm trying to do: I want to generate a repetitive waveform with an occasional glitch. I intend to use it as a demonstration of how oscilloscope acquisition modes, interpolation, and triggers work. So the exact characteristics are yet to be determined. A minimum example would be 10 cycles (with some pre-determined period) with 1 cycle having a glitch (not sure how "big" yet.) A maximum example would be 20 cycles with the glitch where the glitch varies in the waveform. (All depending on available sample memory.)
Off-hand, I'm not aware of any good tools that help automate generating an arbitrary waveform such as that. Ideally, I'd like a CSV export. I'd like the time/voltage as CSV to make it more compatible with various instruments. (Also seems like it'd be useful in simulations?)
Any suggestions? Or what do other people use?