3: LPTLib command reference S530/S540 KTE Linear Parametric Test Library (LPTLib) User's Manual
3-74 S530-900-01 Rev. E / September 2017
setauto
This command re-enables autoranging and cancels any previous rangeX command for the specified instrument.
Usage
int setauto(int instr_id);
The instrument identification code
Details
Due to the dual mode operation of the SMU (v versus i), setauto places both voltage and current
ranges in autorange mode.
The specific range is not changed until a measurement is made. When a measurement is made, the
autorange software evaluates the data and changes the range if necessary.
Example
rangei(SMU1, 2.0E-9); /* Select manual range. */
delay(200); /* Delay after range change. */
measi(SMU1, &icer1); /* Measure leakage; return. */
.
.
setauto(SMU1); /* Enable autorange mode. */
lorangei(SMU1, 2.0E-6); /* Select 2 uA as minimum range */
/* during autoranging. */
delay(200); /* Delay after range change. */
smeasi(SMU1, idatvg); /* Setup sweep measurement of IDS. */
sweepv(SMU2, 0.0, 2.5, 24, 0.002); /* Sweep gate from 0 V to 2.5 V. */
Also see
None
setmode
This command sets instrument-specific operating mode parameters.
Usage
int setmode(int instr_id, long modifier, double value);
The instrument identification code of the instrument being operated on
The instrument-specific operating characteristic to change; refer to Modifier tables
(on page 3-76)
Value to set the operating parameter to
Details
The setmode command allows you to control certain instrument-specific operating characteristics.
A special instrument ID named KI_SYSTEM is used to set operating characteristics of the system. All
modifiers listed in the setmode modifier tables (on page 3-76
) are used with the KI_SYSTEM
pseudo-instrument.