Chapter 5
EDGE Asynchronous Mode Operation
Alignment
4460 GSM System Option and 4468 EDGE System Option
Version 12.20
195
To create a new script file or modify an existing one, you can either use a stan-
dard editor on an external PC or the built-in
which includes an editor.
Existing files can be loaded from floppy disk onto the 4400’s hard disk. Please
ensure that the file is stored in the correct directory!
Alignment scripts basically follow the language rules and conventions as simple
RAPID! programs. See section
about RAPID!. Some
additional rules apply:
–
List of test steps:
The preparation includes the definition of the names of
the steps which should appear in the Step scroll box. This definition is
given by the
gui “STEP:a,b,c,...,”
statement. a,b,c,... are to be
replaced by the text for the different steps (cases).
If you want to change the sequence of steps, just reorder them in the
gui
statement.
–
Initialization:
An additional initialization phase sets the 4400 to a known
state, for example with settings that are common for all the test steps
such as the coupling loss. All these preparatory commands, including the
list of test steps, are placed in an empty case statement.
Example:
case “” ‘ Elements of the scroll box
gui “STEP:Ch 56 –55dBm,Ch 700 –85dBm,Ch 700 TX-IQ”
scpi “:RFGenerator:STYPe CWAVe”
scpi “:CONFigure:COUPloss:DATA “”3210_1.5_2””, 897.6,
1.5, 1747.8, 4.0”
scpi “:CONFigure:COUPloss:STATe ON”
–
Definition of the actual step:
The actual step is a case. The case is handed
over to the script in the following statement:
select case cmdline$
.
This statement must precede the first case.
–
Test steps:
Each test step is located in a
case
statement. The text in the
case statement is the one presented in the Step scroll box. See example
below.
–
User instructions
before the start of a measurement should be placed in a
message box. Example:
msgbox “Settings done”,”OK”
status = inkeywait
–
Progress indication text:
You can display a message, for example to
explain the ongoing test step. Example:
open “GUI:” as #1
sub gui(cmd$)
print #1, cmd$
end sub
gui “STEP:Ch 60, –55dBm”
–
Setup and measurement commands:
You can issue 4400 SCPI commands
by sending them to a device called “SCPI:”. Example:
open “SCPI:” as #2
sub scpi(cmd$)
print #2, cmd$
end sub
scpi “:RFGenerator:STYPe CWAVe”