If you use the SVT Fractional-octave Analysis [ANSI] VI instead of the SVT Third-octave Analysis [ANSI] VI, you can set the frequency range to your desired range as opposed to being limited by the available choices in the third-octave analysis VI.
There is nothing that should prevent you from measuring the THD up to any arbitrarily high harmonic. Without seeing your code, I can't give much more help than that.
Attached is a VI that simulates a 10 kHz square wave for 100,000 samples at a sample rate of 1 MHz and performs third-octave analysis and measures the THD and individual harmonic components up to the Nyquist frequency (500 kHz).
Hope this helps,
Doug
Doug
Enthusiast for LabVIEW, DAQmx, and Sound and Vibration