138
S:\Hp8960\E1962B CDMA 2000\Pi Release\Reference Guide\Chapters\cdma2000_prog_generic_step5_ac.fm
Step 5: INITiate and FETCh Measurements
OUTPUT Test_set;"INIT:TXP;PFER"
starts the transmit power measurement and the phase and frequency error measurement. These
measurements then run concurrently.
Determine if a Measurement Is Done Use the INITiate:DONE? query command to determine which
measurement has completed.
This command is a query only and returns only one response per query. The responses returned and their
meanings are shown in the following table:
Once a measurement is reported as being complete via the INITiate:DONE? query it is removed from the done
list (it is not reported again). To use the INITiate:DONE? query properly, your control program should
immediately fetch a measurement’s results once it is reported as being complete.
Obtain a Set of Measurement Results In order to minimize bus traffic and reduce test time, the test set’s
measurements are designed to return multiple measured values in response to a single measurement request.
For example, if a transmit power measurement with averaging is initiated there are five measurement results
available. These are:
1. Measurement integrity value
2. Average value
3. Minimum value
4. Maximum value
5. Standard deviation value
The test set can return the measurement results in a variety of formats to suit your needs using the FETCh?
subsystem. The general structure of the FETCh? command is as follows:
FETCh:<measurement mnemonic>:<result format>?
For example, the transmitter power measurement results can be returned as:
Table 9. Responses Returned from INITiate:DONE? Query
Response String Meaning
<MEASUREMENT1
mnemonic>
MEASUREMENT1 is done.
<MEASUREMENT2
mnemonic>
MEASUREMENT2 is done.
WAIT There are one or more measurements that are in progress,
but none of those measurements are done yet.
NONE No measurements are in progress.
Example FETCh? Result Formats
Command Results Returned
FETC:TXP?
Measurement integrity and average value
FETC:TXP:POW:ALL?
Minimum, maximum, average and standard
deviation values