Agilent Technologies N5183A MXG Portable Generator User Manual


 
Agilent N518xA, E8663B, E44x8C, and E82x7D Signal Generators Programming Guide 275
Creating and Downloading Waveform Files
Programming Examples
300 END
Program Comments
10: Program file name.
20 Sets the number of points in the waveform.
30: Defines arrays for I and Q waveform points. Sets them to be integer arrays.
40: Sets HP BASIC to use degrees for cosine and sine functions.
50: Sets up loop to calculate waveform points.
60: Calculates I waveform points.
70: Calculates Q waveform points.
80: End of loop.
160 and 210: The I and Q waveform files have the same name
90 to 300 See the table on page 271 for program comments.