beautypg.com

Agilent Technologies N5183A MXG User Manual

Page 110

background image

100

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

Programming Examples
GPIB Programming Interface Examples

40 OUTPUT 717;"SYST:LANG SCPI";END

50 WAIT .5

60 OUTPUT 717;"OUTP:STAT OFF"

70 OUTPUT 717;"*OPC?"

80 ENTER 717; Reply

90 OUTPUT 717;"SYST:LANG COMP";END

100 WAIT .5

110 OUTPUT 716;"C2"

120 END

Setting the PSG Sweep Time Requirements (PSG with Firmware

4.92)

By default, the PSG sweep time is automatically adjusted to the fastest possible sweep when exiting
Pass- Thru mode. To disable this feature and retain specific time selection, set the 8757D system time
to Manual.

The front panel key sequence is:

Sweep > Sweep Type > 8757D System Sweep Time to Manual

The SCPI command sequence is:

[:SOURce]:SWEep:TIME:COMP:AUTO OFF

NOTE

The changes to sweep time mode are persistent. For more information on persistent memory,
refer to the User’s Guide.

The SCPI command to set up sweep time is: :SWE:TIME .

For more on SCPI commands, refer to the SCPI Command Reference.

Setting the PSG Sweep Time Requirements (PSG with Firmware

4.91)

By default, the PSG sweep time is automatically adjusted to the fastest possible sweep when exiting
Pass- Thru mode. To select a different sweep time, these additional steps are required:

1.

Insert line 25, that saves state 1 (SV1).

25 OUTPUT 716;”SV1”

2.

Insert line 55, that sets the sweep- time of the source, :SWE:TIME .

55 OUTPUT 717;”:SWE:TIME .200S”

3.

Insert line 56, that saves the state into the register, sequence 0, register 1, *SAV
[,], (*SAV 1,0).

56 OUTPUT 717;”*SAV 1,0”

4.

Insert line 115, that recalls state 1, (RC1).

This manual is related to the following products: