Section 13: LPT library function reference
Model 4200A-SCS Parameter Analyzer Reference Manual
13-60
4200A-901-01 Rev. C / February 2017
Details
The
asweep
X
command is used with the
smeas
X
,
sintg
X
, or
savg
X
commands.
The
trig
X
l
or
trig
X
g
command can also be used with the
asweep
X
command. However, once a
trigger point is reached, the sourcing device stops moving through the array. The output is held at the
last forced point for the duration of the
asweep
X
command. Data resulting from each step is stored in
an array, as noted above, with
smeas
X
. After the trigger point is reached, measurements are made at
each subsequent point. Results are approximately equal because the source is held at a constant
output.
The
asweepv
and
asweepi
commands are sourcing-type commands. When called, an automatic
limit is imposed on the sourcing device. Refer to the
limit
X
command for additional information.
The maximum number of times data is measured (using the
smeas
X
,
sintg
X
, or
savg
X
command)
is determined by the
num_points
argument in the
asweep
X
command. A one-dimensional result
array with the same number of data elements as the selected value of the
num_points
parameter
must be defined in the test program.
When multiple calls to the
asweep
X
command are executed in the same test sequence, the
smeas
X
,
sintg
X
, or
savg
X
arrays are loaded sequentially. This appends the measurements from the second
asweep
X
command to the previous results. If the arrays are not dimensioned correctly, access
violations occur. The measurement table remains intact until the
devint
or
clrscn
command is
executed.
Defining new test sequences using the
smeas
X
,
sintg
X
, or
savg
X
command appends the command
to the active measure list. Previous measures are still defined and will be used. The
clrscn
command is used to eliminate previous buffers for the second sweep. Using the
smeas
X
,
sintg
X
,
and
savg
X
commands after calling the
clrscn
or
execut
command causes the appropriate new
measures to be defined and used.