31
S:\Hp8960\E1960A GSM Mobile Test Application\A.04 Release\Proguide\Chapters\prog_prog_guide_step3.fm
Step 3: Configure the Measurement Execution Parameters
Example 23. Programming Example:
The following example illustrates configuring the measurement execution parameters for the output RF
spectrum, transmit power, and phase and frequency error measurements.
!***************************************************************************
! Step 3: Configure Measurement Execution Parameters
!***************************************************************************
!
! Configure ORFS Measurement:
!
OUTPUT Test_set;”SET:ORFS:SWIT:COUN 5” ! Examples of using complex
OUTPUT Test_set;”SET:ORFS:MOD:COUN 10” ! commands to set multi-meas
! state and count at same time.
OUTPUT Test_set;”SET:ORFS:TRIG:SOUR AUTO” ! Set trig source to AUTO.
OUTPUT Test_set;”SET:ORFS:CONT OFF” ! Set trig mode to single.
OUTPUT Test_set;”SET:ORFS:TIM 60” ! Set timeout time to 60 sec.
! Put switching and modulation offsets to be tested into string variables.
Swit_offs$=”400KHZ,-400KHZ,600KHZ,-600KHZ,1200KHZ,-1200KHZ,1800KHZ,-1800KHZ”
Mod_offs$=”.2MHZ,-.2MHZ,.4MHZ,-.4MHZ,.6MHZ,-.6MHZ,.8MHZ,-.8MHZ,1MHZ,-1MHZ”
OUTPUT Test_set;”SET:ORFS:SWIT:FREQ “&Swit_offs$
OUTPUT Test_set;”SET:ORFS:MOD:FREQ “&Mod_offs$
!
! Configure TX Power Measurement:
!
OUTPUT Test_set;”SET:TXP:COUN 3”
OUTPUT Test_set;”SET:TXP:TRIG:SOUR RISE;QUAL ON”
OUTPUT Test_set;”SET:TXP:CONT OFF”
OUTPUT Test_set;”SET:TXP:TIM 20”
!
! Configure Phase & Frequency Error Measurement:
!
OUTPUT Test_set;”SET:PFER:COUN 8”
OUTPUT Test_set;”SET:PFER:TRIG:SOUR PROT;QUAL ON”
OUTPUT Test_set;”SET:PFER:CONT OFF”
OUTPUT Test_set;”SET:PFER:TIM 30”
OUTPUT Test_set;”SET:PFER:BSYN MID