Programming Commands
3-4
ed and the frequency will be set to the maximum allowed for the new func-
tion. If modulation is enabled and the current modulation parameters are in-
compatible with the selected function the modulation will be disabled and
then the function will be set. The FUNC? query returns the current function.
i
Function
0
SINE
1
SQUARE
2
TRIANGLE
3
RAMP
4
NOISE
5
ARBITRARY
INVT (?) i
The INVT command turns output inversion on (i = 1) and off (i=0). The
INVT? query returns the current inversion status.
OFFS (?) x
The OFFS command sets the output's DC offset to x volts. The OFFS?
query returns the current value of the DC offset. The DC offset voltage plus
the peak AC voltage must be less than 5 Volts.
PCLR
The PCLR command sets the waveform phase value to 0 degrees.
PHSE (?) x
The PHSE command sets the waveform output phase to x degrees. X has
0.001 degree resolution and may range from 0.001 to 7199.999 degrees.
This command will produce an error if the function is set to either NOISE or
ARB, or if a frequency sweep, FM, or phase modulation is enabled. The
PHSE? query returns the current waveform phase.
Modulation Control Commands
note:
All modulation parameters may be set at any time. For the changes to have an effect be sure that the
modulation type is set correctly and that modulation is enabled (see the MTYP and MENA commands).
*TRG
The *TRG command triggers a burst or single sweep. The trigger source
must be set to SINGLE.
BCNT (?) i
The BCNT command sets the burst count to i (1 to 30000). The maximum
value of i is limited such that the burst time does not exceed 500s (that is, the
burst count * waveform period <= 500s). The BCNT? query returns the cur-
rent burst count.
DPTH (?) i
The DPTH command sets the AM modulation depth to i percent ( 0 to 100
%). If i is
negative
the modulation is set to double sideband suppressed car-
rier modulation (DSBSC) with i % modulation. The DPTH? query returns the
current modulation depth.
FDEV (?) x
The FDEV command sets the FM span to x Hertz. The maximum value of x
is limited so that the frequency is never less than or equal to zero or greater
than that allowed for the selected function. The FM waveform will be cen-
tered at the front panel frequency and have a deviation of ±span/2. The
FDEV? query returns the current span.
MDWF (?) i
The MDWF command sets the modulation waveform to i. The correspon-
dence of i to waveform is shown in the table below. If i is a value not allowed
by the current modulation type an error will be generated. The MDWF?
Summary of Contents for DS345
Page 2: ......
Page 5: ...DS345 Synthesized Function Generator iii...
Page 20: ...Introduction 2 4...
Page 64: ...Programming Commands 3 14...
Page 72: ...Program Examples 3 22...
Page 78: ...Troubleshooting 4 6...
Page 82: ...Performance Tests 5 4...
Page 101: ...Calibration 6 10...
Page 109: ...Arbitrary Waveform Composer 7 8...
Page 117: ...DS345 Circuitry 8 8...