-SCS Parameter Analyzer Reference Manual Section 13:
LPT library function reference
4200A-901-01 Rev. C / February 2017 13-85
The following examples show the proper command sequence for using rtfary:
Example 1: Valid command
sequence for voltage sweep
Example 2: Valid command
sequence for frequency sweep
Example
Programming example #2 (on page 13-195) returns the array of force values for the voltage sweep.
Also see
None
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
When an instrument is returned to the autorange mode, it will remain in its present range for
measurement purposes. The source range will change immediately.
Due to the dual mode operation of the SMU (v versus i), setauto places both voltage and current
ranges in autorange mode.
Example
double idatvg[25];
.
.
rangei(SMU1, 2.0E-9); /* Select manual range. */
delay(200); /* Delay after range change. */
measi(SMU1, &icer1); /* Measure leakage. */
.
.
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