13: LPT library function reference Model 4200A-SCS Parameter Analyzer
13-166 4200A-901-01 Rev. C / February 2017
adelay
This command specifies an array of delay points to use with asweepX command calls.
Usage
int adelay(long numberOfPoints, double *delayArray);
Total number of sweep points
An array of delay values (in seconds)
Details
This command can be used with any of the asweepX commands. The following information pertains
specifically to the 4210-CVU.
This command is used to define an array of delay values for the points in a voltage array sweep
(asweepv). Each delay in the array is added to the delay time specified in asweepv. For example, if
the array contained four delays (0.04 s, 0.05 s, 0.06 s, and 0.07 s) and the delay time specified in
asweepv is 0.1 s, then the resulting delays are (0.14 s, 0.15 s, 0.16 s, and 0.17 s).
The number of delay values must match the number of points in the voltage array sweep. For
example: Assume asweepv is configured to sweep four points, and the following delay times need to
be set: 0.5 s, 0.25 s, 0.5 s, 0.25 s (in that order). With the delay time for asweepv set for 0 s, the
array for the adelay command would be configured as follows:
Example
See Programming example #5 (on page 13-198), which shows how to set up an array of delay times
for a voltage array sweep.
Also see
asweepX (on page 13-59)