171
S:\Hp8960\E1962B CDMA 2000\Pi Release\Reference Guide\Chapters\cdma2000_prog_fstab.fm
Programming a Frequency Stability Measurement
Programming a Frequency Stability Measurement
This section provides an example of how to make analog frequency stability measurements via GPIB.
The following program example assumes that a signal within the measurements range is connected to the RF
IN/OUT connector (see “Input Signal Requirements” on page 57).
The basic procedure to test Frequency Stability is as follows:
1. Set the operating mode to CW (see “CALL[:CELL]:OPERating” ).
2. Enter the expected power (see “RFANalyzer:CW:EXPected:POWer” ).
3. Enter the expected frequency (see “RFANalyzer:MANual:MEASurement[:MFRequency]” ).
4. Define the Frequency Stability Setup parameters as desired for measurement timeout and
multi-measurements (see “SETup:FSTability” on page 546).
5. Use the “INITiate” command to start the measurement.
6. Use the “FETCh:FSTability” command to obtain the measurement results.
Programming Example
10 !Set the expected frequency and power.
20 OUTPUT 714;”SETup:FSTability:CONTinuous OFF” !Set the frequency stability
30 !measurement to single trigger mode.
40 OUTPUT 714;”SETup:FSTability:TIMeout 1 S” !Set a timeout value of 1 second
50 !in case the measurement cannot be made.
60 OUTPUT 714;”SETup:FSTability:COUNt 5” !Set multi-measurements to 5.
70 OUTPUT 714;”INITiate:FSTability” !Start the measurement.
80 OUTPUT 714;”FETCh:FSTability?” !Query the returned integrity indicator and the
90 !Worst Case Frequency Error and average Frequency measurements.
100 ENTER 714;Integrity,Freq_error,Frequency !Enter the returned values into variables.
110 IF Integrity=0 THEN !See if the integrity value = 0 (valid measurement).
120 ELSE
130 PRINT “Measurement problem; check for signal level over/under range condition.”
140 END IF
150 END
Returned Values
The measurements returned by this program are:
• Integrity returns the measurement integrity indicator; 0 means a successful measurement with no
errors.
• Freq_error returns the worst case frequency error in parts per million (PPM). Frequency returns the
average frequency.