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

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

Advertisement

Programming Examples
Reading Trace Data Using 32-bit Real Format (GPIB)
fprintf(fTraceFile,"ReadTrace32Hpib .exe Output\nHewlett-Packard 1999\n\n") ;
fprintf(fTraceFile,"The %d trace data points of th e
spectrum :\n\n",(lNumberBytes/4)) ;
for ( long i=O ;i<lNumberBytes/4 ;i++ )
fprintf(fTraceFile,"\tAmplitude of point[%d] = % .21 f
dBm\n",i+1,dTraceArray[i]) ;
fclose(fTraceFile) ;
/*Close the session* /
viClose(viESA) ;
viClose(defaultRM) ;
}
Chapter 3
3-33

Advertisement

Table of Contents
loading

Table of Contents