Keithley S530 Manual

Manual is about: Parametric Test System, KTE Linear Parametric Test Library

Summary of S530

  • Page 1

    Www.Tek.Com/keithley s530/s540 parametric test system kte linear parametric test library manual s530-900-01 rev. E / september 2017 *ps530-900-01e* s530-900-01e a tektronix company.

  • Page 2

    Kte linear parametric test library (lptlib) user's manual © 2017, keithley instruments cleveland, ohio, u.S.A. All rights reserved. Any unauthorized reproduction, photocopy, or use of the information herein, in whole or in part, without the prior written approval of keithley instruments is strictly ...

  • Page 3: Safety Precautions

    Safety precautions the following safety precautions should be observed before using this product and any associated instrumentation. Although some instruments and accessories would normally be used with nonhazardous voltages, there are situations where hazardous conditions may be present. This produ...

  • Page 4

    For safety, instruments and accessories must be used in accordance with the operating instructions. If the instruments or accessories are used in a manner not specified in the operating instructions, the protection provided by the equipment may be impaired. Do not exceed the maximum signal levels of...

  • Page 5: Table Of Contents

    General information ................................................................................................. 1-1 introduction .......................................................................................................................... 1-1 manual contents .........................

  • Page 6

    Table of contents s530/s540 kte linear parametric test library (lptlib) user's manual scope card commands ............................................................................................................. 3-4 pulse generator commands ..........................................................

  • Page 7

    S530/s540 kte linear parametric test library (lptlib) user's manual table of contents refctrl ....................................................................................................................................... 3-62 rtfary .............................................................

  • Page 8

    Table of contents s530/s540 kte linear parametric test library (lptlib) user's manual 656 tapi_chanlimit .............................................................................................................. 4-6 657 tapi_bufoflow .................................................................

  • Page 9: Introduction

    In this section: introduction .............................................................................. 1-1 manual contents ....................................................................... 1-1 introduction the linear parametric test library (lptlib) contains detailed information about th...

  • Page 10: Introduction

    In this section: introduction .............................................................................. 2-1 measuring ................................................................................ 2-1 sourcing and limits ................................................................... 2-2 ...

  • Page 11: Sourcing and Limits

    Section 2: linear parametric test library s530/s540 kte linear parametric test library (lptlib) user's manual 2-2 s530-900-01 rev. E / september 2017 averaged measurements averaged measurements are made with the avgxcommand. Make an averaged measurement by making several single-point measurements an...

  • Page 12: Ranging

    S530/s540 kte linear parametric test library (lptlib) user's manual section 2: linear parametric test library s530-900-01 rev. E / september 2017 2-3 all sources have default limits, but you can change limit values with the limitx command. When there are active sources in a test sequence, you can re...

  • Page 13: Matrix Operations

    Section 2: linear parametric test library s530/s540 kte linear parametric test library (lptlib) user's manual 2-4 s530-900-01 rev. E / september 2017 settling time another issue associated with range changes is settling time. The lowest ranges of an instrument can have significantly larger settling ...

  • Page 14: Sweeping

    S530/s540 kte linear parametric test library (lptlib) user's manual section 2: linear parametric test library s530-900-01 rev. E / september 2017 2-5 to make new connections or remove connections in the middle of a test sequence, use the addcon and delcon commands. These commands do not clear the ma...

  • Page 15: Triggers

    Section 2: linear parametric test library s530/s540 kte linear parametric test library (lptlib) user's manual 2-6 s530-900-01 rev. E / september 2017 triggers several linear parametric test library (lptlib) commands use triggers. Triggers are boolean conditions, but to fully understand them you must...

  • Page 16

    S530/s540 kte linear parametric test library (lptlib) user's manual section 2: linear parametric test library s530-900-01 rev. E / september 2017 2-7 because of the slow speed of gpib communication and the order in which instruments are cleared, do not use gpib instruments when performing bsweepx te...

  • Page 17

    Section 2: linear parametric test library s530/s540 kte linear parametric test library (lptlib) user's manual 2-8 s530-900-01 rev. E / september 2017 the following commands are supported by pulse-generator unit (pgu) drivers: • pgu_init • pgu_load • pgu_current_limit • pgu_range • pgu_period • pgu_r...

  • Page 18: Optimizing Test Sequences

    S530/s540 kte linear parametric test library (lptlib) user's manual section 2: linear parametric test library s530-900-01 rev. E / september 2017 2-9 instrument and terminal ids the linear parametric test library (lptlib) uses instrument identification codes to refer to the instruments in the system...

  • Page 19

    Section 2: linear parametric test library s530/s540 kte linear parametric test library (lptlib) user's manual 2-10 s530-900-01 rev. E / september 2017 specify the default system speed mode starting with keithley test environment (kte) software version 5.6, you can specify one of the following speed ...

  • Page 20

    S530/s540 kte linear parametric test library (lptlib) user's manual section 2: linear parametric test library s530-900-01 rev. E / september 2017 2-11 editing the icconfig_.Ini file the $kihome/ic/icconfig_.Ini file is a system configuration file that defines the types of instruments installed in th...

  • Page 21: Error Handling

    Section 2: linear parametric test library s530/s540 kte linear parametric test library (lptlib) user's manual 2-12 s530-900-01 rev. E / september 2017 default maximum voltage the default maximum voltage for model 2657a smus in s540 systems is set to 3000 v in the icconfig_.Ini . You can change the d...

  • Page 22

    S530/s540 kte linear parametric test library (lptlib) user's manual section 2: linear parametric test library s530-900-01 rev. E / september 2017 2-13 error messages there are two parts to an error message generated by the s530/s540. These are the error header and the error text. An example error me...

  • Page 23: Introduction

    In this section: introduction .............................................................................. 3-1 categorized command lists ...................................................... 3-2 lptlib commands ................................................................... 3-7 introduction t...

  • Page 24: Categorized Command Lists

    Section 3: lptlib command reference s530/s540 kte linear parametric test library (lptlib) user's manual 3-2 s530-900-01 rev. E / september 2017 the following table contains a list of valid suffixes, the parameter (function) each represents, and the units used throughout the lptlib for that parameter...

  • Page 25

    S530/s540 kte linear parametric test library (lptlib) user's manual section 3: lptlib command reference s530-900-01 rev. E / september 2017 3-3 matrix commands command description addcon (on page 3-7) add a connection. Clrcon (on page 3-17) clear all connections. Conpin (on page 3-21) connect a pin ...

  • Page 26

    Section 3: lptlib command reference s530/s540 kte linear parametric test library (lptlib) user's manual 3-4 s530-900-01 rev. E / september 2017 scope card commands command description scp_close (on page 3-65) disconnect communications to the scope card. Scp_detect_peaks (on page 3-66) return frequen...

  • Page 27

    S530/s540 kte linear parametric test library (lptlib) user's manual section 3: lptlib command reference s530-900-01 rev. E / september 2017 3-5 combination commands command description asweepx (on page 3-8) sweep with a user-defined force array (i, v). Bmeasx (on page 3-13) block measurement; take a...

  • Page 28

    Section 3: lptlib command reference s530/s540 kte linear parametric test library (lptlib) user's manual 3-6 s530-900-01 rev. E / september 2017 general commands command description devclr (on page 3-26) set all sources to a zero state. Devint (on page 3-26) reset all instruments and clear the system...

  • Page 29: Lptlib Commands

    S530/s540 kte linear parametric test library (lptlib) user's manual section 3: lptlib command reference s530-900-01 rev. E / september 2017 3-7 lptlib commands addcon this command adds connections without clearing existing connections. Usage int addcon(int exist_connect, int connect1, [connectn, [.....

  • Page 30: Adelay

    Section 3: lptlib command reference s530/s540 kte linear parametric test library (lptlib) user's manual 3-8 s530-900-01 rev. E / september 2017 adelay this command specifies an array of delay points to use with asweepx command calls. Usage int adelay(unsigned int delaypoints, double *delayarray); de...

  • Page 31

    S530/s540 kte linear parametric test library (lptlib) user's manual section 3: lptlib command reference s530-900-01 rev. E / september 2017 3-9 the maximum number of times data is measured (using the smeasx, sintgx, or savgx command) is determined by the num_points argument in the asweepx command. A...

  • Page 32

    Section 3: lptlib command reference s530/s540 kte linear parametric test library (lptlib) user's manual 3-10 s530-900-01 rev. E / september 2017 example double icmeas[10], ifrc[10]; . . Ifrc[0]=1.0e-10; for (i=1; i /* 1.0e-10 to 1.0e-1. */ ifrc[i]=10.0*ifrc[i-1]; . . Conpin(smu1, 1, 0); /* base conn...

  • Page 33: Avgx

    S530/s540 kte linear parametric test library (lptlib) user's manual section 3: lptlib command reference s530-900-01 rev. E / september 2017 3-11 avgx this command makes a series of measurements and averages the results. Usage int avgc(int instr_id, double *result, unsigned int stepno, double steptim...

  • Page 34

    Section 3: lptlib command reference s530/s540 kte linear parametric test library (lptlib) user's manual 3-12 s530-900-01 rev. E / september 2017 example double ciss; . . Conpin(cmtr1l, 3, 0); conpin(cmtr1h, 2, 0); rangec(cmtr1, 2.0e-12); /* select range for 2.0 pf. */ avgc(cmtr1, &ciss, 10, 2.0e-3);...

  • Page 35: Bmeasx

    S530/s540 kte linear parametric test library (lptlib) user's manual section 3: lptlib command reference s530-900-01 rev. E / september 2017 3-13 bmeasx this command makes a series of readings as quickly as possible. This measurement mode allows for waveform capture and analysis (within the resolutio...

  • Page 36

    Section 3: lptlib command reference s530/s540 kte linear parametric test library (lptlib) user's manual 3-14 s530-900-01 rev. E / september 2017 example 1 double irange, volts, rdng[5], timer[5]; : . . Enable(timer1); /* enable the timer module. */ . . Conpin(gnd, 11, 0); /* make connections. */ con...

  • Page 37: Bsweepx

    S530/s540 kte linear parametric test library (lptlib) user's manual section 3: lptlib command reference s530-900-01 rev. E / september 2017 3-15 bsweepx this command supplies a series of ascending or descending voltages or currents and shuts down the source when a trigger condition is encountered. U...

  • Page 38

    Section 3: lptlib command reference s530/s540 kte linear parametric test library (lptlib) user's manual 3-16 s530-900-01 rev. E / september 2017 defining new test sequences using the smeasx, sintgx, or savgx command adds the command to the active measure list. The previous measures are still defined...

  • Page 39: Clrcon

    S530/s540 kte linear parametric test library (lptlib) user's manual section 3: lptlib command reference s530-900-01 rev. E / september 2017 3-17 clrcon this command opens or de-energizes all device under test (dut) pins and instrument matrix relays, disconnecting all crosspoint connections. Usage in...

  • Page 40

    Section 3: lptlib command reference s530/s540 kte linear parametric test library (lptlib) user's manual 3-18 s530-900-01 rev. E / september 2017 example double res1[14], res2[14]; . Conpin(smu1, 1, 0); conpin(smu2, 2, 0); conpin(gnd, 3, 0); forcev(smu1, 4.0); /* apply 4 v to gate. */ smeasi(smu2, re...

  • Page 41: Clrtrg

    S530/s540 kte linear parametric test library (lptlib) user's manual section 3: lptlib command reference s530-900-01 rev. E / september 2017 3-19 clrtrg this command clears the user-selected voltage or current level that is used to set trigger points. This permits the use of the trigxlor trigxg comma...

  • Page 42

    Section 3: lptlib command reference s530/s540 kte linear parametric test library (lptlib) user's manual 3-20 s530-900-01 rev. E / september 2017 this example collects data and creates a graph that shows the forward and reverse conduction characteristics of a diode. The clrtrg command allows multiple...

  • Page 43: Conpin

    S530/s540 kte linear parametric test library (lptlib) user's manual section 3: lptlib command reference s530-900-01 rev. E / september 2017 3-21 conpin this command connects pins and instruments together. Usage int conpin(int connect1, [connectn, [...]] 0); connect1 a pin number or an instrument ter...

  • Page 44: Conpth

    Section 3: lptlib command reference s530/s540 kte linear parametric test library (lptlib) user's manual 3-22 s530-900-01 rev. E / september 2017 example conpin(3, gnd, 0); /* connect pin 3 to gnd (through interconnect pathway) */ /* and ground. */ conpin(2, hvsmu1, 0); /* connect pin 2 to hvsmu1. */...

  • Page 45

    S530/s540 kte linear parametric test library (lptlib) user's manual section 3: lptlib command reference s530-900-01 rev. E / september 2017 3-23 matrix errors are generated under the following conditions: • i-v connections are included in the connection list, except as noted above. • high-voltage pi...

  • Page 46: Delay

    Section 3: lptlib command reference s530/s540 kte linear parametric test library (lptlib) user's manual 3-24 s530-900-01 rev. E / september 2017 delay this command provides a user-programmable delay in a test sequence. Usage int delay(unsigned int n); n the duration of the delay in milliseconds deta...

  • Page 47: Delcon

    S530/s540 kte linear parametric test library (lptlib) user's manual section 3: lptlib command reference s530-900-01 rev. E / september 2017 3-25 delcon this command removes specific matrix connections. Usage int delcon(int exist_connect, [int exist_connectn, [...]] 0); exist_connect a pin number or ...

  • Page 48: Devclr

    Section 3: lptlib command reference s530/s540 kte linear parametric test library (lptlib) user's manual 3-26 s530-900-01 rev. E / september 2017 devclr this command sets all sources to a zero state. Usage int devclr(void); details this command clears all sources sequentially in the reverse order fro...

  • Page 49

    S530/s540 kte linear parametric test library (lptlib) user's manual section 3: lptlib command reference s530-900-01 rev. E / september 2017 3-27 s530/s540 instrument defaults after a devint command is called are shown in the following tables. Source-measure unit (smu) settings after a devint command...

  • Page 50: Disable

    Section 3: lptlib command reference s530/s540 kte linear parametric test library (lptlib) user's manual 3-28 s530-900-01 rev. E / september 2017 disable this command stops the timer and sets the time value to zero (0). Usage int disable(int instr_id); instr_id the instrument identification code of t...

  • Page 51: Forcex

    S530/s540 kte linear parametric test library (lptlib) user's manual section 3: lptlib command reference s530-900-01 rev. E / september 2017 3-29 forcex this command programs a sourcing instrument to generate a voltage or current at a specific level. Usage int forcei(int instr_id, double value); int ...

  • Page 52: Getlpterr

    Section 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 double ir12; . . 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. */ m...

  • Page 53: Getstatus

    S530/s540 kte linear parametric test library (lptlib) user's manual section 3: lptlib command reference s530-900-01 rev. E / september 2017 3-31 getstatus this command returns the operating state of a specified instrument. Usage int getstatus(int instr_id, unsigned int parameter, double *result); in...

  • Page 54: Imeast

    Section 3: lptlib command reference s530/s540 kte linear parametric test library (lptlib) user's manual 3-32 s530-900-01 rev. E / september 2017 smu parameter returns comment ki_complnc active compliance status for fixed range in range compliance if 1 ki_complnc_ever compliance history reset by read...

  • Page 55

    S530/s540 kte linear parametric test library (lptlib) user's manual section 3: lptlib command reference s530-900-01 rev. E / september 2017 3-33 details some instruments are designed to be used with other instruments to provide complementary or enhanced functionality to the other instrument. For exa...

  • Page 56: Intgx

    Section 3: lptlib command reference s530/s540 kte linear parametric test library (lptlib) user's manual 3-34 s530-900-01 rev. E / september 2017 intgx this command performs voltage or current measurements averaged over a user-defined period (usually, one ac line cycle). Usage int intgc(int instr_id,...

  • Page 57

    S530/s540 kte linear parametric test library (lptlib) user's manual section 3: lptlib command reference s530-900-01 rev. E / september 2017 3-35 example double idss; . . Conpin(gnd, 5, 4, 3, 0); conpin(smu1, 2, 0); limiti(smu1, 2.0e-8); /* limits to 20.0 na. */ rangei(smu1, 2.0e-8); /* select range ...

  • Page 58: Kibdefclr

    Section 3: lptlib command reference s530/s540 kte linear parametric test library (lptlib) user's manual 3-36 s530-900-01 rev. E / september 2017 kibdefclr this command defines the device-dependent command sent to an instrument connected to the gpib1 interface. Usage int kibdefclr(int pri_addr, int s...

  • Page 59: Kibdefint

    S530/s540 kte linear parametric test library (lptlib) user's manual section 3: lptlib command reference s530-900-01 rev. E / september 2017 3-37 kibdefint this command defines a device-dependent command sent to an instrument connected to the gpib1 interface. Usage int kibdefint(int pri_addr, int sec...

  • Page 60: Kibrcv

    Section 3: lptlib command reference s530/s540 kte linear parametric test library (lptlib) user's manual 3-38 s530-900-01 rev. E / september 2017 kibrcv this command reads a device-dependent string from an instrument connected to the gpib interface. Usage int kibrcv(int pri_addr, int sec_addr, char t...

  • Page 61: Kibsnd

    S530/s540 kte linear parametric test library (lptlib) user's manual section 3: lptlib command reference s530-900-01 rev. E / september 2017 3-39 kibsnd this command sends a device-dependent command to an instrument connected to the gpib interface. Usage int kibsnd(int pri_addr, int sec_addr, unsigne...

  • Page 62: Kibspl

    Section 3: lptlib command reference s530/s540 kte linear parametric test library (lptlib) user's manual 3-40 s530-900-01 rev. E / september 2017 kibspl this command serial polls an instrument connected to the gpib interface. Usage int kibspl(int pri_addr, int sec_addr, unsigned int timeout, int *ser...

  • Page 63: Kibsplw

    S530/s540 kte linear parametric test library (lptlib) user's manual section 3: lptlib command reference s530-900-01 rev. E / september 2017 3-41 kibsplw this command synchronously serial polls an instrument connected to the gpib interface. Usage int kibsplw(int pri_addr, int sec_addr, unsigned int t...

  • Page 64: Lorangex

    Section 3: lptlib command reference s530/s540 kte linear parametric test library (lptlib) user's manual 3-42 s530-900-01 rev. E / september 2017 this command must be called in the test sequence before the associated forcex, sweepx, or searchx command is used to generate the voltage or current. The l...

  • Page 65

    S530/s540 kte linear parametric test library (lptlib) user's manual section 3: lptlib command reference s530-900-01 rev. E / september 2017 3-43 details the lorangex command is used with autoranging to limit the number of range changes, which saves test time. If the instrument is on a range lower th...

  • Page 66

    Section 3: lptlib command reference s530/s540 kte linear parametric test library (lptlib) user's manual 3-44 s530-900-01 rev. E / september 2017 example double idatvg[25]; . . Conpin(smu1, 10, 0); conpin(smu2, 11, 0): conpin(12, gnd, 0); lorangei(smu1, 2.0e-6); /* select 2 ua as minimum */ /* range ...

  • Page 67: Measx

    S530/s540 kte linear parametric test library (lptlib) user's manual section 3: lptlib command reference s530-900-01 rev. E / september 2017 3-45 measx this command allows the measurement of voltage, current, charge capacitance, or conductance. Usage int measc(int instr_id, double *result); int measc...

  • Page 68

    Section 3: lptlib command reference s530/s540 kte linear parametric test library (lptlib) user's manual 3-46 s530-900-01 rev. E / september 2017 example double if46, vf47; . . If46 = 50e-3; . . Conpin(3, gnd, 0); conpin(smu1, 2, 0); forcei(smu1, if46); /* forward bias the diode; */ /* set smu curren...

  • Page 69: Mpulse

    S530/s540 kte linear parametric test library (lptlib) user's manual section 3: lptlib command reference s530-900-01 rev. E / september 2017 3-47 mpulse this command uses a source-measure unit (smu) to force a voltage pulse and measure both the voltage and current for exact device loading. Usage int ...

  • Page 70: Pgu_Current_Limit

    Section 3: lptlib command reference s530/s540 kte linear parametric test library (lptlib) user's manual 3-48 s530-900-01 rev. E / september 2017 pgu_current_limit this command sets the maximum amount of current that the pulse generator unit (pgu) channel can supply because of the pulse amplitude and...

  • Page 71: Pgu_Fall

    S530/s540 kte linear parametric test library (lptlib) user's manual section 3: lptlib command reference s530-900-01 rev. E / september 2017 3-49 pgu_fall this command sets the fall time of a pulse. Usage istat = int pgu_fall(int instr_id, double fall_time); instr_id the instrument identification cod...

  • Page 72: Pgu_Height

    Section 3: lptlib command reference s530/s540 kte linear parametric test library (lptlib) user's manual 3-50 s530-900-01 rev. E / september 2017 pgu_height this command sets the peak-to-peak height of the pulse. Usage istat = int pgu_height(int instr_id, double height); instr_id the instrument ident...

  • Page 73: Pgu_Load

    S530/s540 kte linear parametric test library (lptlib) user's manual section 3: lptlib command reference s530-900-01 rev. E / september 2017 3-51 example pgu_init(pgu2) initializes pgu2 and resets it to default settings. Also see none pgu_load this command sets the load impedance of a pulse. Usage is...

  • Page 74: Pgu_Offset

    Section 3: lptlib command reference s530/s540 kte linear parametric test library (lptlib) user's manual 3-52 s530-900-01 rev. E / september 2017 example pgu_mode(pgu2, 1) sets pgu2 to the continuous pulse mode. Also see pgu_init (on page 3-50) pgu_offset this command sets the peak-to-peak height and...

  • Page 75: Pgu_Range

    S530/s540 kte linear parametric test library (lptlib) user's manual section 3: lptlib command reference s530-900-01 rev. E / september 2017 3-53 pgu_range this command sets the voltage range of a pulse generator channel. Usage istat = int pgu_range(int instr_id, double range); instr_id the instrumen...

  • Page 76: Pgu_Select

    Section 3: lptlib command reference s530/s540 kte linear parametric test library (lptlib) user's manual 3-54 s530-900-01 rev. E / september 2017 pgu_select this deprecated command selects a pulse generator unit on which to modify a pulse output channel. Usage int pgu_select(int instr_id) instr_id th...

  • Page 77: Pgu_Trig_Burst

    S530/s540 kte linear parametric test library (lptlib) user's manual section 3: lptlib command reference s530-900-01 rev. E / september 2017 3-55 pgu_trig_burst this command triggers a specified number of pulses on the selected pulse generator unit. Usage istat = int pgu_trig_burst(int instr_id, int ...

  • Page 78: Pgu_Trig_Unit

    Section 3: lptlib command reference s530/s540 kte linear parametric test library (lptlib) user's manual 3-56 s530-900-01 rev. E / september 2017 pgu_trig_unit this command triggers a specified pulse generator unit, or units, to output waveforms. Usage istat = int pgu_trig_unit(int instr_id, int unit...

  • Page 79: Pgu_Width

    S530/s540 kte linear parametric test library (lptlib) user's manual section 3: lptlib command reference s530-900-01 rev. E / september 2017 3-57 pgu_width this command sets the width of a pulse. Usage istat = int pgu_width(int instr_id, double width); instr_id the instrument identification code widt...

  • Page 80

    Section 3: lptlib command reference s530/s540 kte linear parametric test library (lptlib) user's manual 3-58 s530-900-01 rev. E / september 2017 the pulsev and pulsei commands generate either a positive or negative voltage, as specified by the sign of the value argument. With both the pulsev and pul...

  • Page 81

    S530/s540 kte linear parametric test library (lptlib) user's manual section 3: lptlib command reference s530-900-01 rev. E / september 2017 3-59 example float res1, res2; . . Conpin(gnd, 2, 3, 0); conpin(smu1, 1, 0) conpin(smu2, 4, 0) forcev(smu1, .5) trigil(smu1, -1e-5) /* set the trigger point for...

  • Page 82: Rangex

    Section 3: lptlib command reference s530/s540 kte linear parametric test library (lptlib) user's manual 3-60 s530-900-01 rev. E / september 2017 rangex this command selects a range and prevents the selected instrument from autoranging. Usage int rangec(int instr_id, double range); int rangei(int ins...

  • Page 83

    S530/s540 kte linear parametric test library (lptlib) user's manual section 3: lptlib command reference s530-900-01 rev. E / september 2017 3-61 example double icer2; . . Conpin(3, 2, gnd, 0); conpin(smu1, 4, 0); limiti(smu1, 1.0e-3); /* limit current to 1.0 ma. */ rangei(smu1, 2.0e-3); /* select ra...

  • Page 84: Rdelay

    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);...

  • Page 85: Rtfary

    S530/s540 kte linear parametric test library (lptlib) user's manual section 3: lptlib command reference s530-900-01 rev. E / september 2017 3-63 example int refctrl(smu1, 2) turn off automatic reference measurements on source-measure unit 1. Also see none rtfary this command returns the force array ...

  • Page 86: Savgx

    Section 3: lptlib command reference s530/s540 kte linear parametric test library (lptlib) user's manual 3-64 s530-900-01 rev. E / september 2017 savgx this command makes an averaging measurement for every point in a sweep. Usage int savgi(int instr_id, double *result, unsigned int count, double dela...

  • Page 87: Scp_Close

    S530/s540 kte linear parametric test library (lptlib) user's manual section 3: lptlib command reference s530-900-01 rev. E / september 2017 3-65 this example gets the measurement data that is needed to create a graph that shows the capacitance versus voltage characteristics of a variable-capacitance...

  • Page 88: Scp_Detect_Peaks

    Section 3: lptlib command reference s530/s540 kte linear parametric test library (lptlib) user's manual 3-66 s530-900-01 rev. E / september 2017 scp_detect_peaks this command returns frequencies in signal amplitude order. Usage int scp_detect_peaks(int instr_id, double min_level, double lower_bound,...

  • Page 89: Scp_Init

    S530/s540 kte linear parametric test library (lptlib) user's manual section 3: lptlib command reference s530-900-01 rev. E / september 2017 3-67 if any detected peak frequency is less than or equal to the min_level parameter, that peak is dropped and the frequency is returned as zero. If a detected ...

  • Page 90: Scp_Measure

    Section 3: lptlib command reference s530/s540 kte linear parametric test library (lptlib) user's manual 3-68 s530-900-01 rev. E / september 2017 scp_measure this command measures the frequency and amplitude of the strongest signal. Usage int scp_measure(int instr_id, double *freq_result, double *amp...

  • Page 91: Scp_Measure_Next

    S530/s540 kte linear parametric test library (lptlib) user's manual section 3: lptlib command reference s530-900-01 rev. E / september 2017 3-69 scp_measure_next this command returns the frequency and amplitude of the next highest peak in the frequency spectrum. Usage int scp_measure_next(int instr_...

  • Page 92: Scp_Selftest

    Section 3: lptlib command reference s530/s540 kte linear parametric test library (lptlib) user's manual 3-70 s530-900-01 rev. E / september 2017 scp_selftest this command does an internal self-test of the scope card. Usage int scp_selftest(int instr_id) instr_id the instrument identification code of...

  • Page 93: Searchx

    S530/s540 kte linear parametric test library (lptlib) user's manual section 3: lptlib command reference s530-900-01 rev. E / september 2017 3-71 this command returns a 0 if executed without error; a negative number indicates an error. Example double freq; double ampltd; . . . Status1 = scp_init(scp1...

  • Page 94

    Section 3: lptlib command reference s530/s540 kte linear parametric test library (lptlib) user's manual 3-72 s530-900-01 rev. E / september 2017 a total of 16 iterations can be programmed. When all iterations are completed, a value of voltage or current is returned as the result of the search operat...

  • Page 95

    S530/s540 kte linear parametric test library (lptlib) user's manual section 3: lptlib command reference s530-900-01 rev. E / september 2017 3-73 for example, assume the minimum and maximum values of the source range are from 0 v to 20 v, and the number of iterations is 16. The 20 v level automatical...

  • Page 96: Setauto

    Section 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); instr_id...

  • Page 97

    S530/s540 kte linear parametric test library (lptlib) user's manual section 3: lptlib command reference s530-900-01 rev. E / september 2017 3-75 example 1 double ic[10]; double vb[10]; conpin(smu1, 1, 0); conpin(smu2, 2, 0); conpin(gnd, 3, 0); setmode(smu1, ki_intgplc, 0.025); forcev(smu2, 5.0); sin...

  • Page 98

    Section 3: lptlib command reference s530/s540 kte linear parametric test library (lptlib) user's manual 3-76 s530-900-01 rev. E / september 2017 setmode modifier tables modifiers that affect the system modifier value comment ki_bsweep_delay in milliseconds adjusts the discharge delay time for a high...

  • Page 99

    S530/s540 kte linear parametric test library (lptlib) user's manual section 3: lptlib command reference s530-900-01 rev. E / september 2017 3-77 modifiers that affect source-measure unit (smu) behavior modifier value comment ki_avgmode 26xx: ki_integrate ki_measx controls the behavior of the avgx co...

  • Page 100

    Section 3: lptlib command reference s530/s540 kte linear parametric test library (lptlib) user's manual 3-78 s530-900-01 rev. E / september 2017 modifiers that affect source-measure unit (smu) behavior (continued) modifier value comment ki_meas_delay ki_delay_off ki_delay_auto controls measurement d...

  • Page 101

    S530/s540 kte linear parametric test library (lptlib) user's manual section 3: lptlib command reference s530-900-01 rev. E / september 2017 3-79 modifiers that affect source-measure unit (smu) behavior (continued) modifier value comment ki_vmtr sets up a smu as a voltmeter. The ranges used are repre...

  • Page 102

    Section 3: lptlib command reference s530/s540 kte linear parametric test library (lptlib) user's manual 3-80 s530-900-01 rev. E / september 2017 modifiers that affect cvu measurements modifier value comment ki_cvu_acv 10 mv to 100 mv (45 mv is default) ki_cvu_acz_range 0 = autorange (default) 1e-6 =...

  • Page 103: Setxmtr

    S530/s540 kte linear parametric test library (lptlib) user's manual section 3: lptlib command reference s530-900-01 rev. E / september 2017 3-81 setxmtr this command allows a source to operate as a voltmeter or current meter. The source function is disabled after calling the setxmtr command. Usage i...

  • Page 104: Sintgx

    Section 3: lptlib command reference s530/s540 kte linear parametric test library (lptlib) user's manual 3-82 s530-900-01 rev. E / september 2017 sintgx this command makes an integrated measurement for every point in a sweep. Usage int sintgi(int instr_id, double *result); int sintgv(int instr_id, do...

  • Page 105

    S530/s540 kte linear parametric test library (lptlib) user's manual section 3: lptlib command reference s530-900-01 rev. E / september 2017 3-83 example float idss[16]; . . Conpin(smu1, 2, 0); conpin(gnd, 5, 4, 3, 0); limiti(smu1, 1.5e-8); rangei(smu1, 2.0e-8); /* select range for 20 na. */ sintgi(s...

  • Page 106: Smeasx

    Section 3: lptlib command reference s530/s540 kte linear parametric test library (lptlib) user's manual 3-84 s530-900-01 rev. E / september 2017 smeasx this command allows a number of measurements to be made by a specified instrument during a sweepx command. The results of the measurements are store...

  • Page 107

    S530/s540 kte linear parametric test library (lptlib) user's manual section 3: lptlib command reference s530-900-01 rev. E / september 2017 3-85 example double resi[13]; /* defines array. */ . . Conpin(smu1, l, 0); conpin(gnd, 2, 0); smeasi(smu1, resi); /* make a series of */ /* measurements; */ /* ...

  • Page 108: Ssmeasx

    Section 3: lptlib command reference s530/s540 kte linear parametric test library (lptlib) user's manual 3-86 s530-900-01 rev. E / september 2017 ssmeasx this command makes a series of readings until the change (delta) between readings is within a specified percentage. Usage int ssmeasi(int instr_id,...

  • Page 109

    S530/s540 kte linear parametric test library (lptlib) user's manual section 3: lptlib command reference s530-900-01 rev. E / september 2017 3-87 example double meascur; . . Conpin(smu3, 12, 0); /* make connections. */ conpin(smu2, 10, 0); setimtr(smu2); . . Forcev(smu3, 0.1); /* perform the test. */...

  • Page 110: Sweepx

    Section 3: lptlib command reference s530/s540 kte linear parametric test library (lptlib) user's manual 3-88 s530-900-01 rev. E / september 2017 sweepx this command generates a ramp consisting of ascending or descending voltages or currents. The sweep consists of a sequence of steps, each with a use...

  • Page 111

    S530/s540 kte linear parametric test library (lptlib) user's manual section 3: lptlib command reference s530-900-01 rev. E / september 2017 3-89 when multiple calls to the sweepx command are executed in the same test sequence, the smeasx, sintgx , or savgx arrays are loaded sequentially. This append...

  • Page 112

    Section 3: lptlib command reference s530/s540 kte linear parametric test library (lptlib) user's manual 3-90 s530-900-01 rev. E / september 2017 example double resi[11], ssbiasv; . . Conpin(smu1, 1, 0); conpin(smu2, 2, 0); conpin(smu3, 3, 0); conpin(gnd, 4, 0); forcev(smu3, ssbiasv); /* apply substr...

  • Page 113: Trigxg, Trigxl

    S530/s540 kte linear parametric test library (lptlib) user's manual section 3: lptlib command reference s530-900-01 rev. E / september 2017 3-91 also see rtfary (on page 3-63) savgx (on page 3-64) sintgx (on page 3-82) smeasx (on page 3-84) trigxg, trigxl this command monitors for a predetermined le...

  • Page 114

    Section 3: lptlib command reference s530/s540 kte linear parametric test library (lptlib) user's manual 3-92 s530-900-01 rev. E / september 2017 example 1 double res22, vcc8; . . Conpin(smu1, 3, 0); conpin(smu2, 2, 0); conpin(gnd, 1, 0); forcev(smu2, vcc8); /* apply collector voltage to vcc8. */ tri...

  • Page 115

    S530/s540 kte linear parametric test library (lptlib) user's manual section 3: lptlib command reference s530-900-01 rev. E / september 2017 3-93 example 2 double res1[19]; . . Conpin(smu1, 1, 0); conpin(gnd, 2, 0); trigil(smu1, +5.0e-3); /* if greater than -5 ma, */ /* stop ramping. */ smeasi(smu1, ...

  • Page 116: Tstsel

    Section 3: lptlib command reference s530/s540 kte linear parametric test library (lptlib) user's manual 3-94 s530-900-01 rev. E / september 2017 tstsel this command enables or disables a test station. Usage tstsel(long x); x the test station number: 1 details only one test station can be active at a...

  • Page 117: Error Definitions

    In this section: result values indicating an error .............................................. 4-1 error messages ........................................................................ 4-2 result values indicating an error the following table contains errors that are returned as measured result...

  • Page 118: Error Messages

    Section 4: error definitions s530/s540 kte linear parametric test library (lptlib) user's manual 4-2 s530-900-01 rev. E / september 2017 error messages this section lists all of the error messages. The error number, error description, and additional remarks are given for each error. Note that linear...

  • Page 119

    S530/s540 kte linear parametric test library (lptlib) user's manual section 4: error definitions s530-900-01 rev. E / september 2017 4-3 100 mx_invldcnt message: invalid connection count, number of connections passed was nnn. Remarks: the matrix driver could not determine what to connect because the...

  • Page 120

    Section 4: error definitions s530/s540 kte linear parametric test library (lptlib) user's manual 4-4 s530-900-01 rev. E / september 2017 129 ut_tmrivld message: timer not enabled. Remarks: time measurements can only be made on a timer when the timer is enabled. 137 ut_invldval message: invalid value...

  • Page 121

    S530/s540 kte linear parametric test library (lptlib) user's manual section 4: error definitions s530-900-01 rev. E / september 2017 4-5 173 cb_multitimer message: system supports only four timer(timer1, ..., timer4). Remarks: the lpt function was expecting timer1, timer2, timer3, or timer4 for the ...

  • Page 122

    Section 4: error definitions s530/s540 kte linear parametric test library (lptlib) user's manual 4-6 s530-900-01 rev. E / september 2017 650 tapi_badchannel message: request to open unknown channel type xxx. Remarks: an internal system software error has occurred. 651 tapi_badtester message: **this ...

  • Page 123

    Specifications are subject to change without notice. All keithley trademarks and trade names are the property of keithley instruments. All other trademarks and trade names are the property of their respective companies. Keithley instruments corporate headquarters • 28775 aurora road • cleveland, ohi...