Chapter 8
SCPI
SCPI and RAPID!
4460 GSM System Option and 4468 EDGE System Option
Version 12.20
339
Standard TX measurements
The example below illustrates how to perform a standard TX test using RAPID!
and SCPI.
‘FILE: RFTXDEMO.RBS
’DESCRIPTION: RAPID! program that measures
’the RMS phase error, the frequency,
’peak power and also checks whether the shape
’of the burst is within the PTT.
’Definition of variables
DIM result(5)
’Opening SCPI as communication port
LET scpi = freefile
OPEN “scpi” as #scpi
’Configuring the measurements as above as a group and
’starting a group measurement
PRINT #scpi, “:CONFigure:MEASure:GROup:RFTX
PRMS,FREQuency,POWer,TEMPlate”
PRINT #scpi, “:MEASure:RFTX:GROup?”
’Read out the result string
INPUT #scpi, result$
’Read out the service register to check if there was
’some error
PRINT #scpi, “:PROG:STB?”
INPUT #scpi, A$
A$ = BIN$(VAL(A$),8)
’Select reaction on event occurred
IF (MID$(A$,2,1) = “1” THEN
’Some error occurred
PRINT #scpi, “:SYST:ERR?”
INPUT #scpi, Err$
GOTO FAIL_EXIT
ELSE
’Measurements have been completed without errors
GOTO PRINT_RESULTS
END IF
’Result procedure of the program
PRINT_RESULTS:
’Converting the result string back into
’four result values
index = 0
result$ = result$ + “,”
DO
Содержание 4400 Mobile Phone Tester Series
Страница 2: ......
Страница 4: ...ii 4460 GSM System Option and 4468 EDGE System Option Version 12 20 ...
Страница 16: ...Table of Contents xiv 4460 GSM System Option and 4468 EDGE System Option Version 12 20 ...
Страница 24: ...Safety Notes Shutdown when defective xxii 4460 GSM System Option and 4468 EDGE System Option Version 12 20 ...
Страница 64: ...Chapter 1 Overview Accessories and options 40 4460 GSM System Option and 4468 EDGE System Option Version 12 20 ...
Страница 272: ...Chapter 6 Tools Audio measurements 248 4460 GSM System Option and 4468 EDGE System Option Version 12 20 ...