Last updated: December 3, 2008
This section contains two programming examples:
This section provides an example of how to make the output RF spectrum (ORFS) measurement via GPIB.
The following procedure assumes that an active link is established between the test set and the mobile station. See Establishing an Active GSM Link with the Mobile Station .
10 Test_set=714 20 OUTPUT Test_set;"SETup:ORFSpectrum:CONTinuous OFF" 30 !Configures a ORFS measurement to single trigger mode. 40 OUTPUT Test_set;"SETup:ORFSpectrum:FILTer:TYPE AUTO" 50 !Configures the measurement to choose the fastest measurement filter. 60 OUTPUT Test_set;"SETup:ORFSpectrum:COUNt:STATe ON" 70 !Configures a multi-measurement state to on. 80 OUTPUT Test_set;"SETup:ORFSpectrum:TRIGger:SOURce AUTO" 90 !Configures trigger source to auto. 100 OUTPUT Test_set;"SETup:ORFSpectrum:FILTer:TYPE DIGital" 110 !Configures the measurement filter type to Digital ORFS. 120 OUTPUT Test_set;"SETup:ORFSpectrum:SWITching:COUNt:NUMBer 50" 130 !Configures ORFS due to switching multi-measurement count. 140 OUTPUT Test_set;"SETup:ORFSpectrum:SWITching:FREQuency 200KHZ,400KHZ" 150 !Configure switching offsets. 160 OUTPUT Test_set;"SETup:ORFSpectrum:MODulation:COUNt:NUMBer 100" 170 !Configure ORFS due to modulation multi-measurement count. 180 OUTPUT Test_set;"SETup:ORFSpectrum:MODulation:FREQuency 200KHZ" 190 !Configure modulation offset. 200 OUTPUT Test_set;"READ:ORFSpectrum?" 210 !Start and fetch ORFS measurement. 220 ! 230 ENTER Test_set;Integrity,Tx_pwr,Max_swit_200,Max_swit_400,Bw_pwr,Avg_mod_200 240 PRINT "Integrity: ";Integrity 250 PRINT "TX Power: ";Tx_pwr 260 PRINT "200 KHz offset frequency power: ";Max_swit_200 270 PRINT "400 KHz offset frequency power: ";Max_swit_400 280 PRINT "30 KHz Bandwidth Power: ";Bw_pwr 290 PRINT "Average Modulation Power at 200 KHz: ";Avg_mod_200 300 ! 310 END
The measurements returned by this program are:
Integrity
returns the measurement
Integrity Indicator
(0 means a successful measurement with no errors).
Tx_pwr
returns the transmit power in dBm.
Max_swit_200,Max_swit_400
returns maximum ORFS power due to switching in dBm (one maximum power level at a 200 kHz offset and one maximum power level at a 400 kHz offset).
Bw_pwr
returns the power level in a 30 kHz bandwidth at zero offset in dBm (this is the reference level for ORFS power due to switching and ORFS power due to modulation).
Avg_mod_200
returns the average ORFS power due to modulation in dBm (one average power level at a 200 kHz offset).This section provides an example of how to make the output RF spectrum (ORFS) measurement via GPIB.
When using the ORFS measurement with an EGPRS mobile, you can select a modulation coding scheme which uses either GMSK or 8PSK modulation. For more details on setting the modulation coding scheme, see
The following procedure assumes that a data connection has been established between the test set and the mobile station (connection status is Transferring). See Step 4: Make a Connection .
10 OUTPUT 714;"CALL:PDTCH:MSLOT:CONFIG D2U2" ! Configures the multislot 20 ! configuration to be 30 ! 2 downlink, 2 uplink. 40 OUTPUT 714;"CALL:PDTCH:MS:TXLEVEL:BURST1 5" ! Sets the uplink power for 50 ! the first burst. 60 OUTPUT 714;"CALL:PDTCH:MS:TXLEVEL:BURST2 5" ! Sets the uplink power for 70 ! the second burst. 80 OUTPUT 714;"CALL:PDTCH:MSLOT:MEASUREMENT:BURST 2" ! Select to measure the 90 ! second uplink burst in the 100 ! multislot configuration. 110 OUTPUT 714;"SETUP:ORFSPECTRUM:CONTINUOUS OFF" !Configures a ORFS measurement 120 !to single trigger mode. 130 OUTPUT 714;"SETUP:ORFSPECTRUM:COUNT:STATE ON" !Configures a multi-measurement 140 !state to on. 150 OUTPUT 714;"SETUP:ORFSPECTRUM:TRIGGER:SOURCE AUTO" !Configure trigger source 160 !to auto. 170 OUTPUT 714;"SETUP:ORFSPECTRUM:SWITCHING:COUNT:NUMBER 50" !Configures ORFS due 180 !to switching 190 !multi-measurement 200 !count. 210 OUTPUT 714;"SETUP:ORFSPECTRUM:SWITCHING:FREQUENCY 200KHZ,400KHZ" !Configure 220 !switching 230 !offsets. 240 OUTPUT 714;"SETUP:ORFSPECTRUM:MODULATION:COUNT:NUMBER 100" !Configure ORFS 250 !due to modulation 260 !multi-measurement 270 !count. 280 OUTPUT 714;"SETUP:ORFSPECTRUM:MODULATION:FREQUENCY 200KHZ" !Configure 290 !modulation offset. 300 OUTPUT 714;"INITIATE:ORFSPECTRUM" !Start ORFS measurement. 310 OUTPUT 714;"FETCH:ORFSPECTRUM?" !Fetch ORFS results. 320 ENTER 714;Integrity,Tx_pwr,Max_swit_200,Max_swit_400,Bw_pwr,Avg_mod_200 330 END
The measurements returned by this program are:
Integrity
returns the measurement
Integrity Indicator
(0 means a successful measurement with no errors).
Tx_pwr
returns the transmit power in dBm.
Max_swit_200,Max_swit_400
returns maximum ORFS power due to switching in dBm (one maximum power level at a 200 kHz offset and one maximum power level at a 400 kHz offset). This result relates to the whole multislot configuration.
Bw_pwr
returns the power level in a 30 kHz bandwidth at zero offset in dBm (this is the reference level for ORFS power due to switching and ORFS power due to modulation).
Avg_mod_200
returns the average ORFS power due to modulation for the specified burst of the multislot configuration in dBm (one average power level at a 200 kHz offset).