30.01.2015 Views

DS335 Synthesized Function Generator

DS335 Synthesized Function Generator

DS335 Synthesized Function Generator

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Programming Commands 3-5<br />

*TRG<br />

The *TRG command triggers a single sweep. The trigger source must be set<br />

to SINGLE (see the TSRC command below).<br />

SDIR()i Sets the sweep direction. 0 = Ramp (unidirectional), 1 = Triangle<br />

(bidirectional), 2 = enable FSK (disable sweeps).<br />

STYP () i<br />

The STYP command sets the sweep type to i. The correspondence of i to<br />

type is shown in the table below. The STYP query returns the current<br />

sweep type. Refer to the SDIR command for sweep direction.<br />

i Waveform<br />

0 LIN SWEEP<br />

1 LOG SWEEP<br />

SPFR () x<br />

SRAT () x<br />

STFR () x<br />

SWEN() i<br />

TSRC () i<br />

The SPFR command sets the sweep stop frequency to x Hertz. An error will<br />

be generated if the sweep frequency is less than or equal to zero or greater<br />

than allowed by the current function. The SPFR query returns the current<br />

sweep stop frequency. If the stop frequency is less than the start frequency<br />

(the STFR command) a downward sweep from maximum to minimum<br />

frequency will be generated. The stop frequency is also used in the FSK<br />

mode.<br />

The SRAT command sets the trigger rate for internally triggered single<br />

sweeps and FSK to x Hertz. x is rounded to two significant digits and may<br />

range from 0.01 Hz to 1 kHz for sweeps and 0.01Hz to 50kHz for FSK. The<br />

SRAT query returns the current trigger rate. If the rate is set to 0Hz and<br />

FSK is enabled (SDIR = 2) then the external FSK BNC is used to toggle<br />

between the start and stop frequencies.<br />

The STFR command sets the sweep start frequency to x Hertz. An error will<br />

be generated if the sweep frequency is less than or equal to zero or greater<br />

than allowed by the current function. The STFR query returns the current<br />

sweep start frequency. If the start frequency is greater than the stop<br />

frequency (the SPFR command) a downward sweep from maximum to<br />

minimum frequency will be generated. The stop frequency is also used in the<br />

FSK mode.<br />

Enables sweeps on (i=1) or off (i=0). If the continuous sweep is selected,<br />

enabling sweeps will start the sweep with the specified rate. If triggered<br />

single sweep is selected and sweeps are enabled then the <strong>DS335</strong> waits for a<br />

front panel trigger or a *TRG command to start the sweep.<br />

The TSRC command sets the trigger source for sweeps to i. The<br />

correspondence of i to source is shown in the table below. The TSRC<br />

query returns the current trigger source.<br />

i Waveform<br />

0 SINGLE<br />

1 INTERNAL RATE<br />

For single sweeps the *TRG command triggers the sweep.<br />

<strong>DS335</strong> <strong>Synthesized</strong> <strong>Function</strong> <strong>Generator</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!