139
S:\Hp8960\E1962B CDMA 2000\Pi Release\Reference Guide\Chapters\cdma2000_prog_generic_step5_ac.fm
Step 5: INITiate and FETCh Measurements
Example 12. Concurrent Measurement Process Programming Example
! Start a Set of Concurrent Measurements:
!
OUTPUT Test_set;”INIT:TXP;PFER”
!
! Determine if a Measurement Is Done:
!
LOOP
OUTPUT Test_set;”INIT:DONE?”
ENTER Test_set;Meas_done$
!
! Obtain a Set of Measurement Results:
!
SELECT Meas_done$
CASE “TXP”
OUTPUT Test_set;”FETC:TXP:POW?”
ENTER Test_set;Avg_tx_power
CASE “PFER”
OUTPUT Test_set;”FETC:PFER:RMS?”
ENTER Test_set;Max_rms_phas_er
END SELECT
EXIT IF Meas_done$=“NONE”
END LOOP
Validate Measurement Results Validating measurement results is extremely important. The test set
returns a result if it is capable of making a measurement, even if this result is obtained under adverse
conditions.
The measurement integrity indicator is a measurement result and therefore is queried using the FETCh
subsystem. A value of 0 indicates that the measurement is valid. A value other than 0 indicates that an error
occurred during the measurement process.
FETC:TXP:POW:AVER?
Average value only
FETC:TXP:POW:MIN? Minimum value only
FETC:TXP:POW:MAX?
Maximum value only
FETC:TXP:POW:SDEV?
Standard deviation value only
FETC:TXP:INT?
Measurement integrity value only
Example Integrity Indicators
Value Returned Description
(message also appears on test set)
0Normal
1 No Result Available
Example FETCh? Result Formats
Command Results Returned