Spectrum analysis : swept frecuency measurements and selective frequency counting with a tracking generator