\n",i,fRelAmptd[i]);
/*Total harmonic distortion in percent*/
printf("Total Harmonic Distortion: %lf
\n",dPrcntDistort);
/*Close the session*/
viClose(viESA);
viClose(defaultRM);
}
Chapter 3
Programming Examples
Measuring Harmonic Distortion (HP-IB)
3-77