This section provides an example of how to make
Frequency Stability
measurements via GPIB.
The following program example assumes that a signal within the measurement range in connected to the RF IN/OUT connector (see Input Signal Requirements ).
The basic procedure to test
Frequency Stability
is as follows:
Frequency Stability Setup
parameters as desired for measurement timeout and multi-measurements.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
The measurements returned by this program are: