Programming a Spectrum Emission Mask Measurement

Programming a Spectrum Emission Mask Measurement

Last updated: January 16, 2009

This section provides an example of how to make a spectrum emission mask measurement via GPIB. The following program example assumes that the mobile station's (UE's) antenna output is connected to the RF IN/OUT connector, and that the mobile station is transmitting an uplink signal.

The basic procedure is as follows:

  1. Set the spectrum emission mask setup parameters as desired using the SETup:WSEMask commands.
  2. Use the INITiate:WSEMask command to start the measurement.
  3. Use the FETCh:WSEMask? query to obtain the measurement results.

Programming Example

 
10    ! Set trigger mode to single for the Spectrum Emission Mask meas.
20    OUTPUT 714;"SETup:WSEMask:CONTiuous OFF"
30    ! Set the multi-measurement count to 10
40    OUTPUT 714;"SETup:WSEMask:COUNt 10"
50    ! Set a timout value of 5 seconds and enable the timeout state
60    OUTPUT 714;"SETup:WSEMask:TIMeout 5"
70    ! Set the trigger source to automatically select the appropriate
80    !  trigger
90    OUTPUT 714;"SETup:WSEMask:TRIGger:SOURce AUTO"
100   ! Initiate the Spectrum Emission Mask measurement
110   OUTPUT 714;"INITiate:WSEMask"
120   ! Fetch the integrity indicator and the results of the measurement
130   OUTPUT 714;"FETCh:WSEMask?"
140   ENTER 714;Integrity,Wsemask,Chan_power,R1,R2,R3,R4
150   ! Check the integrity indicator to ensure the results are valid
160   IF Integrity<>0 THEN
170     PRINT "Measurement failed."
180   ELSE
190   ! Process the measurement results.
200   END IF
210   END

Returned Values

Related Topics