
2201R Mobile Tester SCPI Reference Guide
Chapter 2 Remote control of the 2201R Mobile Tester
47090/323
Copyright © 2016 Aeroflex Limited. All rights reserved.
34
LOOP UNTIL result$=””
MEASure:ARRay
The
:ARRay
command element makes the 2201R perform any measurement property a user-definable number of
times. All measurement result values obtained during the process are stored in an internal array and can be read out
using the related commands of the FETCh subsystem or are returned in case the measurement process has been
started using the query format of the command.
After the specified number of measurements has been performed, the measurements are stopped and no further
measurement result values are stored internally. Therefore, any attempt to read out data again (unless any
measurement has been started before) results in a timeout and thus in an error message.
This is one of the main differences between the
[:CONTinuous]
and the
:ARRay
command element.
Note: Any measurement is terminated if a new MEASure command of the same or related type is issued (see Notes
in section
’The MEASure subsystem’ on page 31
for details).
Syntax
MEASure:ARRay<{:measProp}>[?] <numMeas>
Parameters
numMeas
is the number of measurements to be performed.
Description
Takes a
numMeas
number of measurements of the specified type
measProp
.
The results of the single measurements are stored in an internal array.
The measurement results array can be read out using the related command of the
FETCh subsystem (see examples below for reference).
After an array has been read out using the related
FETCh
command, the internal
array is cleared. Any subsequent
FETCh
command trying to read out the same mea-
surement result array is not able to read any measurement results and thus results in
a timeout. In this case, an error message is added to the 2201’s internal error queue
(for further details, refer to section
’:MEASure[:CONTinuous]’ on page 32
Query
The query form of any
MEAS:ARR
command starts the related measurement the
specified number of times. After the number of measurements specified has been
performed, the measurements are stopped.
The query then returns a string containing all the measurement results. The single
result values are separated by commas.
Any subsequent
FETCh
command trying to read out the same measurement result
array is not able to read any measurement results and thus results in a timeout. In this
case, an error message is added to the 2201’s internal error queue (for further details,
refer to section
’:MEASure[:CONTinuous]’ on page 32
Examples
:MEASure:GSM:ARRay:RFTX:PPEAk 10
This command makes the 2201R perform 10 independent measurements of the
maximum phase error in GSM.
After those 10 results have been achieved, the measurement is stopped.
The 10 result values are stored in an internal array.
To read out the measurement result array, use the
FETCh
subsystem:
:FETCh:GSM:RFTX:PPEAK?
returns the 10 values in one string (like
“5.42,5.44,5.80,...5.72,5.64”
)
Any subsequent
:FETCh:GSM:RFTX:PPEAK?
command results in a timeout.
MEASure:GSM:ARRay:RFTX:ALL? 2
This command takes all relevant RFTX measurements twice. The measurements are
stopped as soon as the 2 x 19 result values are available.
The 38 result values are returned as a string; the single values are separated by com-
mas.
Any subsequent
:FETCh:GSM:RFTX:PPEAK?
command results in a timeout.