Slimfish wrote:sorry, but you're mistaken here. The n-th armonic of a wave is defined as: f_n-th = f * n-th, where f is the fundamental frequency of the wave and n-th is the harmonic. So for a 1kHz square wave, its 5th armonic will be 5 kHz. And zero harmonic is the DC component.
I never talked about the fifth harmonic, I only referred to the 5th odd harmonic, not the same. If the first harmonic is even (2Mhz) then the pattern after the fundamental would be 2nd=even, 3rd=odd,4th=even,5th=odd; so the fifth harmonic would be odd and is 5Mhz, but I was referring to the second odd harmonic (which is the actually the 4th harmonic if you count the none existent even harmonics too) when I said 5x, so once again you are mistaken. As you have already said, the even harmonics don't exist, so they can not be counted.
Slimfish wrote:A perfectly square wave has infinite odd harmonics, and hence can't be perfectly sampled (also produced). With the corrected calculations you will require 30 Msps (15 Mhz x 2). With the arguments you gave in the previous messages... why not sampling 13th harmonic with 20x? So now its enough with 2x?. You are mixing theory and practise, and that's quite difficult without a solid ground. That was the point to stress.
See previous response.
Slimfish wrote:Although wikipedia says exactly what you posted before, in reality the signal has to be sampled with at least twice its bandwidth to be perfectly reconstructed.
My reference was not Wikipedia, my reference was a professional application note produced by Tektronix engineers. If you would bother to read this reference then you may become more informed. As you have already said, the odd harmonics are part of the square wave, and hence the sample rate must be twice the highest odd harmonic expected, unless Nyquist is wrong and you are right.
But i can bet my mother (only speaking, don't take me too serious
) that trigger is hardware (obviously is not an analog one, but digital). So QUAD can use equivalent time sampling for sure.
This is a fool's bet for someone who doesn't know the FPGA source code. But that FPGA source code may not be necessary if you look at the STM source code and find it's triggers source.
Slimfish wrote:I'd like this thread not to diverge into sampling theory, because its large and complex.
I believe that it was you that started with the equivalent time sampling theory, not myself. Sampling theory is not that complex and is explained quite well in the Tektronix reference that I provided in my earlier post. If you look at the Nano post viewtopic.php?f=12&t=1793&start=80
on page 9, BenF fully explains in his May 8th post just exactly how the Nano firmware trigger detection works without a hardware trigger. That discussion is also not very complex. You can also read my Tektronix reference, that also explain exactly how equivalent time sampling works. So I don't see anything here that is overly large and complex.
The only thing I find complex is trying to determine a hardware trigger within the FPGA, without first looking at the STM source code (which is available) to see if a software trigger is present. An even simpler approach would be to point out the Quad menu choice which provides enabling of this fictional equivalent sampling mode. If the Quad were in continuous equivalent sampling mode, then you could not look at non-repeating signals, but guess what; you can look at non-repeating signals with the Quad. Therefore if you assertion is true, then there must be a Quad menu choice to switch back and forth between equivalent sampling mode and real-time sampling mode. Please be so kind as to point out this menu choice, or stop wasting everyone's time with your non-validated theories.
Slimfish wrote:So for me, the theory discussion is over.
What a relief that is.
Look, my goal here is not to constantly criticize you, my only goal is to provide factual enlightenment for those looking for same. If you agree to stop spewing theory, then I will agree not to be critical in return. Do some research on your own as I have done, and present those research findings that support your claims.