
Section 3: LPTLib command reference
S530/S540 KTE Linear Parametric Test Library (LPTLib) User's Manual
3-62
S530-900-01 Rev. E / September 2017
rdelay
This command sets a user-programmable delay.
Usage
int rdelay(double
n
);
n
The delay duration in seconds
Example
double ir4;
.
.
conpin(SMU1, 1, 0);
conpin(GND, 2, 0);
forcev(SMU1, 60.0); /* Generate 60 V from SMU1. */
rdelay(0.02); /* Pause for 20 ms. */
measi(SMU1, &ir4); /* Measure current; return */
/* result to ir4. */
This example measures the leakage current of a variable-capacitance diode. SMU1 presets 60 V across
the diode. The device is configured in reverse-bias mode with the high side of SMU1 connected to the
cathode. This type of diode has high capacitance and low-leakage current. Because of this, a 20 ms delay
is added. After the delay, current through SMU1 is measured and stored in the variable
ir4
.
Also see
None
refctrl
This command enables or disables automatic reference measurements.
Usage
int refctrl(int
instr_id
, int
auto_ref
)
instr_id
The instrument identification code
auto_ref
Automatic reference measurement on or off:
REF_ON =
1
REF_OFF =
2
Details
Use this command to turn off automatic reference measurements in sweeps and other test
sequences in which measurement timing is critical.
When automatic reference measurements are disabled, the instrument may gradually drift out of
specification.