I have a Rigol MSO5104 scope and tested its built in AWG. I have read that it is only a basic waveform generator and not very good, so I am wondering if the square wave output I measured is within spec. I get that a square wave has lots of extra harmonics and that these get attenuated more the higher the frequency of the harmonic, hence distorting the wave. However the max output of the AWG is 15MHz for a square wave, the scope is 100MHz and should deal with a 100/5 = 20 MHz square wave just fine. And as I understand it, due to the oversampling (8GSa/s) it should even be fine for higher frequency square wve signals...
So I tested 1kHz - looks good to me.
Then 10kHz - still good.
At 1Mhz I can see some overshoot at the rise of the wave, but it still looks decent.
At 10MHz it is not really a square wave any longer.
At 15MHz it looks more like a distorted sine wave.
That said - is this to be expected?
Oh - I forgot to mention, I am using the standard 10x passive probe connected to a 50ohm BNC cable from the function generator to try and eliminate wave reflections.