
1GA16_1L.DOC
ROHDE & SCHWARZ
34
6
6 Combining Several Measurements
Combining Several Measurements
In many cases it may be required to start operating steps or whole test sequences by a single keystroke.
If a certain test sequence has been tried out and is to be frequently used, it should not be necessary to
set each measurement step manually. When the test program is used in production, automatic test
sequences are an absolute necessity to avoid operating errors and to shorten the throughput time.
The tools required for combining measurements are available under the UTILITY softkey (softkey level 1).
6
6.1
.1 Macro Operation
Macro Operation
The simplest way to generate and perform automatic test sequences is the use of macros. A sequence of
keystrokes is stored and repeated in the same order when required. Macro operation in a way simulates
an operator performing the same operating steps over and over again.
To
create
a macro, the keystrokes are written into a file, which is closed after recording, and stored under
a reserved (MACRO #0 to MACRO #5) or a user-defined name (USER MAC).
To
call up
a macro, these files are loaded by a keystroke (or by entering the file name in the case of
USER MAC). All stored keystrokes are sequentially simulated until no more information on keys is left in
the file or (in the case of a GO/NOGO test) a "DUT failed" occurs.
To ensure proper function of the procedure, recording and calling up must be started from the same point.
This is ensured by the application software where the common start point is stored in the menu under
UTILITY -> MACRO.
Any number of macros can be defined. 7 sample macros (SPEAKER0 to SPEAKER6) have been defined
and assigned to the softkeys MACRO #0 to MACRO #5. They can be called up via USER MAC and may
be overwritten any time. Macros can be prepared and stored under any name with the aid of the USER
MAC softkey.
6.1.1 Recording a Macro
To record a macro press the STRT REC softkey and enter the memory location of the macro (MACRO #0
to MACRO #5) or a file name (USER MAC). The recording mode is indicated by the MACRO REC label in
the display. Press the required softkeys as in normal operation. The keystrokes for several measurements
can be performed in succession so that also the measurements will be sequential. Recording of a macro
can be terminated in two ways:
•
by pressing the ESC key at any point in the program. The macro is terminated immediately and the
user may continue manual operation (eg restart the current measurement, trigger a screen printout,
etc).
•
by returning to the start point via the softkey menu and then pressing the STOP REC softkey. This has
the advantage that a new macro (or the same one) can be started right away.
In both cases the macro is stored under the preselected name or softkey when recording is terminated.
Note
:
•
If parameters are to be changed while a macro is performed (eg between two measurements), a
new configuration file should be loaded (see 6.2).
•
If the BACK key is pressed immediately after the STRT REC softkey, recording is not started as no
memory location has been defined for the macro. The application is in the normal operating mode,
ie MACRO REC is not displayed.
Содержание UPD
Страница 38: ...1GA16_1L DOC ROHDE SCHWARZ 37 ...