Section 13: LPT library function reference
Model 4200A-SCS Parameter Analyzer Reference Manual
13-36
4200A-901-01 Rev. C / February 2017
rtfary
This command returns the force array determined by the instrument action.
Usage
int rtfary(double *
results
);
results
The floating point array where the force values are stored
Details
This command eliminates the need to calculate the forced array in the application.
When this command is used with one of the sweep routines, you can determine the exact forced
value for each point in the sweep.
When the test sequence is executed, the sweep command initiates the first step of the voltage or
current sweep. The sweep then logs the force point that the buffer specified by the
rtfary
command.
Locate the
rtfary
command before the sweep. The number of data points returned by the
rtfary
command is determined by the number of force points generated by the sweep.
Example
Refer to the examples for the
smeas
X
and
sweep
X
commands.
Also see
(on page 13-45)
(on page 13-88)
savgX
This command makes an averaging measurement for every point in a sweep.
Usage
int savgi(int
instr_id
, double *
result
, long
count
, double
delay
);
int savgv(int
instr_id
, double *
result
, long
count
, double
delay
);
instr_id
The instrument identification code of the measuring instrument
result
The floating point array where the results are stored
count
The number of measurements made at each point before the average is computed
delay
The time delay in seconds between each measurement within a given ramp step