Agilent Technologies N5183A MXG User Manual

Page 283

background image

Agilent N518xA, E8663B, E44x8C, and E82x7D Signal Generators Programming Guide

273

Creating and Downloading Waveform Files

Programming Examples

250 OUTPUT @Esg;END

260 ASSIGN @Esg TO *

270 ASSIGN @Esgb TO *

280 PRINT

290 PRINT "*END*"

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 268

for program comments.

This manual is related to the following products: