User manual

Table Of Contents
3152B User Manual Publication No. 980935 Rev. M
3-14 Operation Astronics Test Systems
Example:
Generating
Standard
Waveforms
Previous paragraphs provided sinusoidal waveform
examples,
showing how to set amplitude and offset.
This section expands on
that capability, covering all nine standard waveforms in the 3152B
internal library: sine, triangle, square, pulse, ramp, Gaussian
pulses, exponential pulses, DC, and noise.
The following command sequence example demonstrates how
to
select a standard ramp waveform with an amplitude of 1Vp-
p, an
offset of zero, a rise time of 10% of
the ramp period, and a fall time
of 10% of the ramp period:
*rst Restores factory defaults.
outp 1 Activates the
hardware connection to
the front panel
OUTPUT connector
and turns the output on.
func:mode fix Selects the built-
in library of standard
waveforms.
func:shap ramp Selects the ramp from the built-in
library as the active waveform.
ramp:tran 10 Programs
the ramp leading edge rise
time in units of percent (referenced to
the ramp period).
ramp:tran:tra 10 Programs
the ramp trailing edge fall
time in
units of percent (referenced to
the ramp period).
volt 1 Sets the amplitude level to 1Vp-p.
volt:offs 0 Sets the offset level to zero.
Similar sequences could select different
standard waveforms and
program their parameters. See Chapter 5 for p
rogramming
references for the complete range of standard waveforms.
Using the
Apply
Command
The Apply command provides shortcuts for setting up a waveform
and its parameters without programming
each parameter
individually. This also selects the waveform as the active signal
at
the output connector.
It does not, however, eliminate the need for
turning on the output. You may use the Apply command on a
waveform from the built-in library or on waveform segments that are
pre-loaded to the waveform memory. Seq
uenced and modulated
waveforms do not use the Apply command.
The following example uses the Apply command to specify
a
square wave at the end of the programming sequence:
*rst Restores factory defaults.
appl:squ 10.7e6,2,1,30 Selects the standard square wa
ve as
the active function, and simultaneously