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);
The delay duration in seconds
Example
.
.
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 */
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
.
Also see
None
refctrl
This command enables or disables automatic reference measurements.
Usage
int refctrl(int instr_id, int auto_ref)
The instrument identification code
Automatic reference measurement on or off:
REF_ON = 1
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.