3: LPTLib command reference S530/S540 KTE Linear Parametric Test Library (LPTLib) User's Manual
3-30 S530-900-01 Rev. E / September 2017
Example
.
.
conpin(2, GND, 0);
conpin(SMU1, 1, 0);
limiti(SMU1, 2.0E-4); /* Limit 1 mA to 200 uA. */
forcev(SMU1, 40.0); /* Apply 40.0 V. */
measi(SMU1, &ir12); /* Measure leakage; */
/* return results to ir12. */
The reverse bias leakage of a diode is measured after applying 40.0 V to the junction.
Also see
None
getlpterr
This command returns the first LPT library error since the last devint command.
Usage
int getlpterr(void);
Details
This command returns the error code of the first error encountered since the last call to the devint
command.
Also see
devint (on page 3-26)