Agilent Technologies ESA-E Series Programmer's Manual page 146

Esa spectrum analyzers
Hide thumbs Also See for ESA-E Series:
Table of Contents

Advertisement

Programming Examples
Measuring Harmonic Distortion (RS-232 )
for (lNum=2 ;lNum<=lMaxHarmonic ;lNum++ )
printf("Relative amplitude of Harmonic[%d] : %lf dB c
\n",lNum,fRelAmptd[lNum]) ;
/*Total harmonic distortion in percent* /
printf("Total Harmonic Distortion : %lf percent\n", dPrcntDistort) ;
/*Close the session* /
viClose(viESA) ;
viClose(defaultRM) ;
}
3-86
Chapter 3

Advertisement

Table of Contents
loading

Table of Contents