3152B User Manual
Publication No. 980935 Rev. A
5-58 Programming Reference
EADS North America Test and Services
The Apply Control
Commands
The APPLy commands combine popular commands into a macro
command that contains control of all parameters of a specific standard
waveform function. For example, to program a sine waveform that has
a certain frequency, amplitude and offset, you have to use five
different commands:
FUNC:MODE FIX
FUNC:SHAP SIN
FREQ <FREQ>
AMPL <AMPL>
OFFS <OFFS>
Alternatively, you can select the sine function and immediately assign
all of the required parameters when using the apply command. The
five lines above will be replaced by a simple line as follows:
APPL:SIN <FREQ>,<AMPL>, <OFFS>
There are certain rules you must follow when using the apply
commands and these are summarized below.
Using the Apply
Commands
The apply commands provide a high level method of programming
pre-defined standard and arbitrary waveforms. Selection can be made
for function, frequency, amplitude, offset and other parameters which
are associated with the selected function. For example, the following
statement outputs a 2 Vp-p square wave at 1 MHz with a 0 V offset
and 10% duty cycle:
APPL:SQU 1e6, 2, 0, 10
It is not necessary to enter every parameter with the APPLy
command. If only the frequency and offset need to be changed, omit
the other parameters while keeping the commas. The other
parameters will be set to the power-up default values:
APPL:SQU 10e6,,1
Alternatively, if just the first parameters need to be changed, omit the
commas. The other parameters will be set to the power-up default
values:
APPL:SQU 4e6,2
Queries can also be made on all parameters associated with a
standard function using the appl:<function_shape>? query. For
example, if the instrument was programmed using the above appl:squ
command, query the square wave parameters using the following
query:
APPL:SQU?
Table 5-7 lists the complete set of apply commands, followed by a
description of each command separately.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com