Keysight Technologies E5260 Series Programming Manual

Keysight Technologies E5260 Series Programming Manual

Parametric measurement solutions
Hide thumbs Also See for E5260 Series:
Table of Contents

Advertisement

Keysight Technologies E5260/E5270 
Series of Parametric Measurement
Solutions
Programming Guide

Advertisement

Table of Contents
loading

Summary of Contents for Keysight Technologies E5260 Series

  • Page 1 Keysight Technologies E5260/E5270  Series of Parametric Measurement Solutions Programming Guide...
  • Page 2 Notices Warranty © Keysight Technologies 2004, 2007, 2008, 52.227-19(c)(1-2) (June 1987). U.S. Govern- 2014 ment users will receive no greater than Lim- The material contained in this docu- ited Rights as defined in FAR 52.227-14 No part of this manual may be reproduced in ment is provided “as is,”...
  • Page 3 User’s Guide B2900-9001x xxxx 201x Edition x...
  • Page 4 In This Manual This manual provides the information to control the Keysight E5260A/E5262A/ E5263A/E5270B via GPIB interface using an external computer, and consists of the following chapters: “Programming Basics” This chapter provides basic information to control the Keysight E5260/E5270. “Remote Mode Functions” This chapter explains the functions of the Keysight E5260/E5270 in the remote mode.
  • Page 5: Table Of Contents

    Contents 1. Programming Basics Before Starting ............1-3 Getting Started .
  • Page 6 Contents Conventions ............1-22 ASCII Data Output Format .
  • Page 7 Contents Staircase Sweep with Pulsed Bias Measurements ......2-12 Quasi-Pulsed Spot Measurements ........2-15 Binary Search Measurements .
  • Page 8 Contents Staircase Sweep with Pulsed Bias Measurements ......3-33 Quasi Pulsed Spot Measurements ......... . 3-37 Linear Search Measurements .
  • Page 9 Contents BGI ..............4-28 BGV .
  • Page 10 Contents LGI..............4-64 LGV .
  • Page 11 Contents RV..............4-100 RZ .
  • Page 12 Contents VAR? ............. . . 4-129 WAT.
  • Page 13: Programming Basics

    Programming Basics...
  • Page 14 Programming Basics This chapter describes basic information to control the Keysight E5260/E5270, and contains the following sections: • “Before Starting” • “Getting Started” • “Command Input Format” • “Data Output Format” • “GPIB Interface Capability” • “Status Byte” • “Programming Tips” 1- 2 Keysight E5260/E5270 Programming Guide, Edition 4...
  • Page 15: Before Starting

    Programming Basics Before Starting Before Starting Before starting the programming, connect an external computer, and set the GPIB address of the Keysight E5260/E5270 as shown below. 1. Connect a GPIB cable between the GPIB interface of the external computer and the GPIB connector on the rear panel of the E5260/E5270.
  • Page 16: Getting Started

    Programming Basics Getting Started Getting Started This section explains the following basic operations. In this section, the HP BASIC language is used for the examples. • “To Reset the Keysight E5260/E5270” • “To Read Query Response” • “To Perform Self-Test” •...
  • Page 17: To Reset The Keysight E5260/E5270

    Programming Basics Getting Started To Reset the Keysight E5260/E5270 The E5260/E5270 returns to the initial settings by the *RST command. Example OUTPUT @E5270;"*RST" For the initial settings, refer to “Initial Settings” on page 2-42. To Read Query Response If you enter a query command such as the *TST?, ERR? and so on, the E5260/E5270 puts an ASCII format response to the query buffer that can store only one response.
  • Page 18: To Perform Diagnostics

    Programming Basics Getting Started To Perform Diagnostics The E5260/E5270 starts the diagnostics by the DIAG? command, and returns the result. You must specify the diagnostics item by using the first parameter. Available parameter values are: 1: Trigger In/Out diagnostics 2: Front panel key diagnostics 3: High voltage LED diagnostics 4: Digital I/O diagnostics 5: Beeper diagnostics...
  • Page 19: To Select The Measurement Mode

    Programming Basics Getting Started To Select the Measurement Mode The E5260/E5270 provides the following measurement modes. To select the measurement mode, send the MM command. Measurement Mode Mode No. Spot Measurement Staircase Sweep Measurement Pulsed Spot Measurement Pulsed Sweep Measurement Staircase Sweep with Pulsed Bias Measurement Quasi-Pulsed Spot Measurement Linear Search Measurement...
  • Page 20: To Force Voltage/Current

    Programming Basics Getting Started To Force Voltage/Current The E5260/E5270 provides the following commands to enable the voltage/current output. For the commands available for each measurement mode, see Table 1-1. Command Description DV, TDV Forces the constant voltage immediately. DI, TDI Forces the constant current immediately.
  • Page 21 Programming Basics Getting Started Table 1-1 Measurement Mode and Available Source Output Commands Measurement Mode Command Spot Measurement DV, DI, TDV, TDI Staircase Sweep Measurement DV, DI, TDV, TDI, and WV(/WSV) or WI(/WSI) Pulsed Spot Measurement DV, DI, TDV, TDI, and PV/PT or PI/PT Pulsed Sweep Measurement DV, DI, TDV, TDI, and PWV/PT(/WSV) or PWI/PT(/WSI)
  • Page 22: To Set The Integration Time

    Programming Basics Getting Started To Set the Integration Time To adjust the balance of the measurement accuracy and the measurement speed, change the integration time or the number of averaging samples of the A/D converter (ADC) by using the AV command. The AV command is compatible with the AV command of the Keysight 4142B.
  • Page 23: To Set The Measurement Range

    Programming Basics Getting Started To Set the Measurement Range To set the measurement range, send the following command. For details, refer to Chapter 4, “Command Reference.” Command Description Sets the current measurement range. Available for measurement except for the high speed spot measurement.
  • Page 24: To Pause Command Execution

    Programming Basics Getting Started To Pause Command Execution To pause command execution until the specified wait time has elapsed, send the PA command. Example OUTPUT @E5270;"PA 5" If this command is sent, the E5260/E5270 waits 5 seconds before executing the next command.
  • Page 25: To Disable Source/Measurement Channels

    Programming Basics Getting Started To Disable Source/Measurement Channels To disable the channels, send the CL command. The E5260/E5270 opens the output switch of the specified channels. Opening the output switch disables the channel. Example OUTPUT @E5270;"CL 1" This example disables channel 1 (the module installed in slot 1 of the E5260/ E5270).
  • Page 26: To Read Error Code/Message

    Programming Basics Getting Started To Read Error Code/Message If any error occurs, the E5260/E5270 will not put the measurement data into the data output buffer. Hence, confirm that no error has occurred before reading the measurement data. To read the error code, enter the ERR? command, and to read the error message, enter the EMG? command.
  • Page 27 Programming Basics Getting Started ret_val = E5270.ReadString(3 + 12 + 1) head = Left(ret_val, 3) mdata = Val(Mid(ret_val, 4, 12)) Keysight E5260/E5270 Programming Guide, Edition 4 1- 15...
  • Page 28: To Read Sweep Measurement Data

    Programming Basics Getting Started To Read Sweep Measurement Data For the sweep measurements, the measurement data will be put into the data output buffer after every step measurement. You can read the data as shown below. The examples use the VISA COM library and Microsoft Visual Basic .NET language. For the data output format, see “Data Output Format”...
  • Page 29: To Read Time Stamp Data

    Programming Basics Getting Started To Read Time Stamp Data NOTE This function is not available for the quasi-pulsed spot measurement (MM 9), search measurement (MM 14 or 15), and the binary data output format (FMT 3 or 4). To read the time data with the best resolution (100 μs), clear the timer every 100 s or less (for FMT 1, 2, or 5), or 1000 s or less (for FMT 11, 12, 15, 21, 22, or 25).
  • Page 30: To Perform High Speed Spot Measurement

    Programming Basics Getting Started To Perform High Speed Spot Measurement The high speed spot measurement does not need the MM and XE commands to set the measurement mode and start measurement. To start and perform the high speed spot measurement immediately, send the TI/TTI command for the current measurement, or the TV/TTV command for the voltage measurement.
  • Page 31: Command Input Format

    Programming Basics Command Input Format Command Input Format The GPIB commands of the Keysight E5260/E5270 are composed of a header, numeric data, and terminator, as shown in the syntax diagram in the following figure. E5260/E5270 Control Command Syntax Diagram Separator Header Numeric Data Terminator...
  • Page 32: Numeric Data

    Programming Basics Command Input Format Numeric Data Numeric data are the command parameters. You can enter numeric data directly after the header or insert spaces between the header and numeric data. Some parameters require integer data. The following figure shows the syntax diagram for numeric data.
  • Page 33: Terminator

    Programming Basics Command Input Format Terminator The terminator completes the GPIB command entry and starts command execution. The following figure shows the terminator syntax diagram. Terminator Syntax Diagram Special Terminator If a semicolon (;) is inserted before the terminator, as shown in the following figure, the preceding commands are not executed until the next command line is input and another terminator is input, without a preceding semicolon.
  • Page 34: Data Output Format

    Programming Basics Data Output Format Data Output Format Keysight E5260/E5270 provides the following data output formats: • “ASCII Data Output Format” The E5260/E5270 supports ASCII format of the Keysight 4155B/4156B/4155C/ 4156C Parameter Analyzer in the Keysight FLEX command control mode and ASCII format of the Keysight 4142B Modular DC Source/Monitor.
  • Page 35: Ascii Data Output Format

    Programming Basics Data Output Format ASCII Data Output Format This section describes the ASCII data output format, and the elements of the data. • “Data Format” • “Time Stamp” • “Data Elements” Data Format The data output format depends on the measurement mode as shown below. High Speed Spot Data <terminator>...
  • Page 36 Programming Basics Data Output Format Pulsed Sweep, Block1 [,Block2] ..<terminator> Staircase Sweep Block1 is the block of data measured at the first sweep step. Block2 is the block of with Pulsed Bias data measured at the second sweep step. where Block consists of the following data: Data [,Source_data] Data is the value measured by the channel you specify by using the MM command.
  • Page 37 Programming Basics Data Output Format Data Elements The measurement data (Data), source output data (Source_data), time data (Time), and search data (Data_search and Data_sense) are the string as shown below. Data FMT command ABCDDDDDDDDDDDD FMT1 or FMT5 ABCDDDDDDDDDDDDD FMT11 or FMT15 EEEFGDDDDDDDDDDDDD FMT21 or FMT25 DDDDDDDDDDDD...
  • Page 38 Programming Basics Data Output Format Status. One character. • Status for Source_data: Priority of appearance is W<E. Explanation Data is for the first or intermediate sweep step. Data is for the last sweep step. • Status for Data, Data_search, or Data_sense: See Table 1-3 on page 1-29.
  • Page 39 Programming Basics Data Output Format Value of Data, Source_data, Data_search, Data_sense, or Time. Twelve or 13 digits depends on FMT setting, which may be one of the following: • sn.nnnnnEsnn or sn.nnnnnnEsnn • snn.nnnnEsnn or snn.nnnnnEsnn • snnn.nnnEsnn or snnn.nnnnEsnn where, s: Sign, + or -.
  • Page 40 Programming Basics Data Output Format Channel number of the measurement/source unit. One character. Explanation Channel 1. Channel 2. Channel 3. Channel 4. Channel 5. Channel 6. Channel 7. Channel 8. GNDU. Status code for extraneous data in the channel. TSQ command response or invalid data is returned.
  • Page 41 Programming Basics Data Output Format Table 1-3 Status for Data, Data_search, or Data_sense Explanation No status error occurred. Another channel reached its compliance setting. This channel reached its compliance setting. Measurement data is over the measurement range. Or the sweep measurement was aborted by the automatic stop function or power compliance.
  • Page 42: Binary Data Output Format

    Programming Basics Data Output Format Binary Data Output Format This section describes the binary data output format, and the elements of the data. • “Data Format” • “Data Elements” Data resolution NOTE The resolution of binary data is as shown below. •...
  • Page 43 Programming Basics Data Output Format Staircase Sweep, Block1 [Block2] ..<terminator> Multi Channel Block1 is the block of data measured at the first sweep step. Block2 is the block of Sweep data measured at the second sweep step. where Block consists of the following data: Data1 [Data2] .
  • Page 44 Programming Basics Data Output Format Data Elements The measurement data (Data), source output data (Source_data), and search data (Data_search and Data_sense) are the 4 byte data as shown below. Byte 1 Byte 2 Byte 3 Byte 4 6 5 4 3 2 1 0 6 5 4 3 2 1 0 6 5 4 3 2 1 0 6 5 4 3 2 1 0...
  • Page 45 Programming Basics Data Output Format Measurement or source output data type. One bit. Explanation Source output data. Measurement data. Data type. One bit. Explanation Voltage data. Current data. Measurement or output range. Five bits. Explanation 01000 (8) 0.5 V or 1 pA range. 01001 (9) 5 V or 10 pA range.
  • Page 46 Programming Basics Data Output Format Value of Data, Source_data, Data_search, or Data_sense. This value is expressed in 17-bit binary data. The value can be calculated by the following formula. Measurement data = Count × Range /50000 Source data = Count × Range /20000 where, Count is the decimal value of D, and Range is the measurement range or output range indicated by C.
  • Page 47 Programming Basics Data Output Format Status. Three bits. • Status for Source_data: Priority of appearance is 001<010. Explanation Data is for the first or intermediate sweep step. Data is for the last sweep step. • Status for Data, Data_search, or Data_sense. See Table 1-4.
  • Page 48 Programming Basics Data Output Format Table 1-4 Status for Data, Data_search, or Data_sense Explanation 000 (0) No status error occurred. 001 (1) Another channel reached its compliance setting. 010 (2) This channel reached its compliance setting. 011 (3) Measurement data is over the measurement range. D will be the meaningless value 1111111111111111 (65535).
  • Page 49: Gpib Interface Capability

    Programming Basics GPIB Interface Capability GPIB Interface Capability The following table lists the GPIB capabilities and functions of the Keysight E5260/E5270. These functions provide the means for an instrument to receive, process, and transmit, commands, data, and status over the GPIB bus. Interface Function Code Description...
  • Page 50 Programming Basics GPIB Interface Capability If You Use LOCAL Statement NOTE If the LOCAL statement is sent to GPIB devices, they can receive the GPIB command even in the local state. This allows you to confirm the E5260/E5270 GPIB command operation on the front panel LCD although it makes the operation time longer.
  • Page 51: Status Byte

    Programming Basics Status Byte Status Byte Status byte bits are turned off or on (0 or 1) to represent the instrument operation status. When you execute a serial poll, an external computer (controller) reads the contents of the status byte, and responds accordingly. When an unmasked status bit is set to “1”, the instrument sends an SRQ to the controller, causing the controller to perform an interrupt service routine.
  • Page 52 Programming Basics Status Byte Decimal Description Value Error Indicates whether any error has occurred. If an error occurred, this bit is set to “1”. It is set to “0” when the E5260/E5270 receives a serial poll, *RST, ERR?, CA, *TST?, *CAL?, DIAG? or device clear command. RQS (You cannot mask this bit.) Indicates whether an SRQ (Service Request) has occurred.
  • Page 53: Programming Tips

    Programming Basics Programming Tips Programming Tips This section provides the following additional information on creating measurement programs. It is useful for checking the operation status, improving the measurement speed, and so on. • “To Confirm the Operation” • “To Confirm the Command Completion” •...
  • Page 54: To Confirm The Operation

    Programming Basics Programming Tips To Confirm the Operation To complete the measurement program, you can insert statements to check the E5260/E5270 operation status as shown below. This example starts the measurement, checks the status caused by the statements before the ERR? command, reads and displays the measurement data without errors, or displays an error message when an error occurs.
  • Page 55: To Optimize The Measurement Range

    Programming Basics Programming Tips To Optimize the Measurement Range The most effective way to improve measurement speed is to reduce the number of range changes. The limited auto ranging mode is more effective than the auto ranging mode. The fixed range mode is the most effective. Check the typical value of the measurement data, select the optimum range, and perform measurement using the fixed range mode.
  • Page 56: To Optimize The Source/Measurement Wait Time

    Programming Basics Programming Tips To Optimize the Source/Measurement Wait Time If measurement speed is given top priority or is more important than reliability, set the wait time shorter by using the WAT command. The source wait time is the time the source channel always waits before changing the source output value.
  • Page 57: To Use The Internal Program Memory

    Programming Basics Programming Tips To Use the Internal Program Memory If your program repeats the setup and measurement for a number of devices, use the internal program memory. For these measurements, using the internal program memory reduces the command transfer time, and improves the program execution speed.
  • Page 58: To Perform Quasi-Sampling Measurement

    Programming Basics Programming Tips To Perform Quasi-Sampling Measurement The following setup enables to perform a quasi-sampling measurement. Then the sampling interval will be sum of delay time and step delay time. • Sets the sweep measurement mode (MM 2 or MM 16). •...
  • Page 59: To Use Programs For Keysight 4142B

    Programming Basics Programming Tips To Use Programs for Keysight 4142B Keysight E5260/E5270 supports most of the commands and the data output format supported by the Keysight 4142B Modular DC Source/Monitor. To reuse the programs created for the Keysight 4142B, confirm the following and modify the programs if necessary.
  • Page 60: To Use Programs For Keysight 4155/4156

    Programming Basics Programming Tips To Use Programs for Keysight 4155/4156 Keysight E5260/E5270 supports commands similar to the FLEX command of the Keysight 4155B/4156B/4155C/4156C Parameter Analyzer. However, not all command sets are fully compatible. To reuse the programs created for the Keysight 4155/4156, the following modifications are required.
  • Page 61 Programming Basics Programming Tips • If you reuse the built-in IBASIC programs: • Change the GPIB address. • Remove the statements to use the built-in flexible disk drive. Table 1-7 FLEX Commands Unsupported Category Command Control mode :PAGE, US, US42 Measurement mode VM, VMD Staircase/pulsed sweep source setup...
  • Page 62: To Use Programs For Keysight E5270A

    E5260 series does not have the function corresponding to this command. • Measurement range Keysight E5260 series does not have the 1 nA range and the 10 nA range. Use the 100 nA range or above. 1- 50 Keysight E5260/E5270 Programming Guide, Edition 4...
  • Page 63: Remote Mode Functions

    Remote Mode Functions...
  • Page 64 Remote Mode Functions This chapter describes the functions of the Keysight E5260/E5270 in the remote mode, and the initial settings. • “Measurement Modes” • “Synchronous Output” • “Automatic abort Function” • “Program Memory” • “Digital I/O Port” • “Trigger Function” •...
  • Page 65: Measurement Modes

    Remote Mode Functions Measurement Modes Measurement Modes The Keysight E5260/E5270 provides the following measurement modes. • “Spot Measurements” • “Pulsed Spot Measurements” • “Staircase Sweep Measurements” • “Multi Channel Sweep Measurements” • “Pulsed Sweep Measurements” • “Staircase Sweep with Pulsed Bias Measurements” •...
  • Page 66: Spot Measurements

    Remote Mode Functions Measurement Modes Spot Measurements Spot measurement is performed as shown below. The measurement channel performs one point measurement. Figure 2-1 Spot Measurements Voltage or current : Measurement Channel 1 output Setup value Previous value Measurement time Voltage or current Channel 2 output Setup value Previous value...
  • Page 67: Pulsed Spot Measurements

    Remote Mode Functions Measurement Modes Pulsed Spot Measurements Pulsed spot measurement is performed as shown below. The measurement channel performs one point measurement while the source channel is forcing a pulse. Figure 2-2 Pulsed Spot Measurements Voltage or current : Measurement PT/PV/PI Trigger (e.g.
  • Page 68: Staircase Sweep Measurements

    Remote Mode Functions Measurement Modes Staircase Sweep Measurements Staircase sweep measurement is performed as shown below. The source channel forces staircase sweep voltage or current, and the measurement channel performs one point measurement at each sweep step. Figure 2-3 Staircase Sweep Measurements Voltage or current Step delay time Stop value...
  • Page 69 Remote Mode Functions Measurement Modes NOTE The WT command sets the hold time, delay time, and step delay time. The WM command sets the automatic abort function and the output after measurement. The WV command sets the sweep voltage, and the WI command sets the sweep current. The start and stop values must have the same polarity for log sweep.
  • Page 70: Multi Channel Sweep Measurements

    Remote Mode Functions Measurement Modes Multi Channel Sweep Measurements Multi channel sweep measurement is performed as shown below. The source channel forces staircase sweep voltage or current, and the measurement channel performs one point measurement at each sweep step. Up to eight channels can be used for both sweep output and measurement.
  • Page 71 Remote Mode Functions Measurement Modes 5. After measurement, the sweep source waits for the rest of the step delay time if it is set, and the sweep source changes the output value. 6. The E5260/E5270 repeats 4 and 5 for all sweep steps. 7.
  • Page 72: Pulsed Sweep Measurements

    Remote Mode Functions Measurement Modes Pulsed Sweep Measurements Pulsed sweep measurement is performed as shown below. The source channel forces pulsed sweep voltage or current, and the measurement channel performs one point measurement at each sweep step. Figure 2-6 Pulsed Sweep Measurements Voltage or current Stop value PT/WM/PWV/PWI...
  • Page 73 Remote Mode Functions Measurement Modes NOTE The PT command sets the hold time, pulse width, and pulse period. The WM command sets the automatic abort function and the output after measurement. The PWV sets the pulsed sweep voltage, and the PWI sets the pulsed sweep current. The start, stop, and pulse base values must have the same polarity for log sweep.
  • Page 74: Staircase Sweep With Pulsed Bias Measurements

    Remote Mode Functions Measurement Modes Staircase Sweep with Pulsed Bias Measurements Staircase sweep with pulsed bias measurement is performed as shown below. The source channel forces staircase sweep voltage or current, the pulse channel forces pulsed bias, and the measurement channel performs one point measurement at each sweep step.
  • Page 75 Remote Mode Functions Measurement Modes 7. After the sweep measurement, the pulsed source forces the pulse base value, and the sweep source forces the start or stop value, as specified by the WM command, and keeps it. For 0 V output, enter the DZ command that is used to memorize the present settings of the channel and change the output to 0 V.
  • Page 76 Remote Mode Functions Measurement Modes NOTE The WSV command sets the sweep voltage, and the WSI command sets the sweep current. You can use the same output mode (voltage or current) as the primary sweep. The start and stop values must have the same polarity for log sweep. To Stop Sweep An automatic abort function is available.
  • Page 77: Quasi-Pulsed Spot Measurements

    Remote Mode Functions Measurement Modes Quasi-Pulsed Spot Measurements Quasi-pulsed spot measurement is performed as shown below. The measurement channel performs one point measurement while the source channel forces a quasi-pulse voltage. This measurement mode can minimize the output time of the measurement voltage.
  • Page 78 Remote Mode Functions Measurement Modes 4. After the settling detection stops, the quasi-pulse source keeps the output. 5. After the delay time, the measurement channel starts measurement. Only one channel can be used for measurement. 6. After measurement, the quasi-pulse source immediately returns the output to the start value and keeps it.
  • Page 79: Binary Search Measurements

    Remote Mode Functions Measurement Modes Binary Search Measurements Binary search measurement is performed as shown below. The source channel forces voltage or current, and the measurement channel performs one point measurement. The E5260/E5270 repeats this until the search stop condition is satisfied, and returns the source’s last output value.
  • Page 80 Remote Mode Functions Measurement Modes 5. The E5260/E5270 repeats 3 and 4 until the search stop condition is satisfied. The search stop condition is one of the following conditions selected by the BGI or BGV command. • Measured value = Search target value ± limit •...
  • Page 81: Linear Search Measurements

    Remote Mode Functions Measurement Modes Linear Search Measurements Linear search measurement is performed as shown below. The source channel sweeps voltage or current, and the measurement channel performs one point measurement at each sweep step. The E5260/E5270 stops sweep and measurement when the search stop condition is satisfied, and returns the source’s last output value.
  • Page 82 Remote Mode Functions Measurement Modes NOTE The LSM command sets the automatic abort function and the output after search. The LSTM command sets the hold time and delay time. The LSV/LSI command sets the search output, and the LGI/LGV command sets the measurement channel. To Use You can use the synchronous output channel that provides output synchronized with Synchronous...
  • Page 83: Synchronous Output

    Remote Mode Functions Synchronous Output Synchronous Output You can use synchronous output that will be synchronized to the output of the primary sweep or search source. See Figure 2-15 Figure 2-16. Synchronous output is available for the following measurement modes and set by the following commands: Measurement Mode Command...
  • Page 84 Remote Mode Functions Synchronous Output Figure 2-15 Synchronous Sweep Output Example for Staircase Sweep Voltage or current Stop value WT/WM/WV/WI Trigger (e.g. XE) Previous value Primary sweep Start value Voltage or current Stop value WSV/WSI Previous value Synchronous sweep Start value Time Figure 2-16 Synchronous Output Example for Binary Search...
  • Page 85: Automatic Abort Function

    Remote Mode Functions Automatic abort Function Automatic abort Function The automatic abort function stops measurement (increasing or decreasing source output value) when one of the following conditions occurs. This function is useful to reduce source output time and to prevent damage to the device during measurement. •...
  • Page 86: Program Memory

    Remote Mode Functions Program Memory Program Memory The program memory is a volatile memory that is used to store command strings temporarily. The Keysight E5260/E5270 has a built-in program memory that can store 2,000 programs maximum, and a total of 40,000 commands. The program memory can eliminate several processes in the program execution, such as transferring commands, checking command syntax, and converting commands to the internal codes.
  • Page 87 Remote Mode Functions Program Memory To call programs A memory program can invoke another memory program by storing the DO or RU from a memory command in the memory program. Up to eight levels of nesting are available. The program first level is always the DO or RU command sent by the external computer.
  • Page 88 Remote Mode Functions Program Memory Table 2-1 Invalid Commands for Program Memory Category GPIB Command Reset *RST Diagnostics DIAG? Self-test *TST? Self Calibration *CAL? Abort Channel Control Program Memory VAR? LST? 16 bit Control Port ERS? Query ERR? EMG? *IDN? LOP? *LRN? NUB?
  • Page 89: Digital I/O Port

    Remote Mode Functions Digital I/O Port Digital I/O Port The digital I/O port is used for the trigger input/output terminals or an interface to control an external relay circuit and so on. For the trigger input/output, refer to “Trigger Function”. For another usage, the following commands are available: Changes the digital I/O port assignments.
  • Page 90: Accessories

    Remote Mode Functions Digital I/O Port Accessories The following accessories are available to connect the Digital I/O port. • Keysight 16493G Digital I/O connection cable Used to connect the Digital I/O port to a D-Sub (f) 25-pin connector. This cable should be connected between two E5260/E5270s, or between the E5260/E5270 and the N1253A-200 BNC box.
  • Page 91: Digital I/O Internal Circuit

    Remote Mode Functions Digital I/O Port Digital I/O Internal Circuit The following figure shows the input/output circuits internally connected to each port/pin of the Digital I/O connector. Figure 2-18 Digital I/O Internal Circuit to input control to DSUB pins Vcc=5 V from output control R1=1 kohm R2=100 ohm...
  • Page 92: Trigger Function

    Remote Mode Functions Trigger Function Trigger Function The Keysight E5260/E5270 can be synchronized with other equipment, such as capacitance meters, voltmeters, ammeters, probers, handlers and so on, by using the following terminals: • Ext Trig In BNC connector. Only for trigger input (to receive trigger). •...
  • Page 93: Trigger Input

    Remote Mode Functions Trigger Function Trigger Input A trigger input operation example is shown in Figure 2-20. Measurement or source output can be started by the input trigger sent through the port specified by the TGP command. See Table 2-3. Figure 2-20 Trigger Input Example, Staircase Sweep Measurement, Negative Logic Start Measurement...
  • Page 94 Remote Mode Functions Trigger Function PA/PAX/WS/WSX The commands put the E5260/E5270 in the trigger wait state. The E5260/E5270 can Commands recover from the wait state if an external trigger is sent to a trigger input port. You can use the commands regardless of the trigger type. If you use the PA or PAX command to put the E5260/E5270 in the trigger wait state, send the TM3 command before the PA or PAX command.
  • Page 95: Trigger Output

    Remote Mode Functions Trigger Function Trigger Output A trigger output operation example is shown in Figure 2-21. When the measurement or source output setup is completed, the output trigger is sent through the port specified by the TGP command. See Table 2-4.
  • Page 96 Remote Mode Functions Trigger Function Using Multiple If you use the multiple measurement channels, an edge trigger will be sent or a gate Channels trigger level will be returned when the measurement is completed by all channels. For the multi channel sweep measurement, an edge trigger will be sent or a gate trigger level will be returned when the source output setup is completed by all channels, or when the measurement is completed by all channels.
  • Page 97: Using Trigger Function

    Remote Mode Functions Trigger Function Using Trigger Function • “To Make Wait State Using PA/PAX” • “To Make Wait State Using WS/WSX” • “To Send Trigger Using OS/OSX” • “To Receive Measurement Trigger” • “To Specify Trigger Port and Receive Trigger” •...
  • Page 98 Remote Mode Functions Trigger Function To Make Wait State Using WS/WSX The WS or WSX command puts the E5260/E5270 into a wait state. The E5260/E5270 can be recovered from the wait state by an external trigger. Then the E5260/E5270 executes the commands following the WS/WSX command. The external trigger only releases the wait state set by the WS/WSX command.
  • Page 99 Remote Mode Functions Trigger Function To Receive Measurement Trigger To use an external trigger just for starting measurement, instead of the XE command, perform the next step. This is not effective for the high speed spot measurement. 1. Connect a BNC cable between the Ext Trig In connector and a trigger output connector of an external device.
  • Page 100 Remote Mode Functions Trigger Function To Specify Trigger Port and Receive Trigger To use an external trigger just for starting measurement, instead of the XE command, perform the next step. This is not effective for the high speed spot measurement. This example specifies the trigger input/output ports and uses the gate trigger for the output trigger.
  • Page 101 Remote Mode Functions Trigger Function To Control Measurement Timing Using External Trigger Multiple trigger terminals will be used to control measurement timing. Refer to the following example that controls the staircase sweep measurement timing. The example below uses the following triggers and terminals: Trigger Name or Trigger Type Terminal TGP Command...
  • Page 102 Remote Mode Functions Trigger Function Figure 2-23 Trigger Input/Output Example, Staircase Sweep, Negative Logic Start Measurement Start Step Measurement Start Step Output Setup (Case1) Step delay time or more Delay time or more Hold time Measurement trigger delay : Measurement Measurement Completion Step Measurement Completion Source trigger delay...
  • Page 103: Trig In/Out Internal Circuit

    Remote Mode Functions Trigger Function Trig In/Out Internal Circuit The following figures show the trigger input/output circuits internally connected to the Trig In/Out connectors. Figure 2-24 Trigger Input Internal Circuit to trigger input control from Trig In (BNC) Vcc=5 V R1=215 ohm R2=10 kohm C1=1000 pF...
  • Page 104: Initial Settings

    Remote Mode Functions Initial Settings Initial Settings Keysight E5260/E5270 is initialized by turning the E5260/E5270 on, the *RST command, or the device clear. Initial settings of the E5260/E5270 are shown in Table 2-5 Table 2-6. Table 2-6 fits into one page, and lists all initial settings. Table 2-5 Initial Settings Setup Item...
  • Page 105 Remote Mode Functions Initial Settings Setup Item Initial Setting Commands AV command parameter number=1, mode=0 Current measurement range with pulse Compliance range without pulse auto Voltage measurement range with pulse Compliance range without pulse auto Sweep source parameters cleared WV, WSV, WI, WSI Automatic abort function Output after sweep measurement Start value...
  • Page 106 Remote Mode Functions Initial Settings Setup Item Initial Setting Commands Step delay time Trigger delay time WT, PT Trigger mode XE, TV, TI, or GET Trigger port Ext Trig In Start Measurement trigger input Ext Trig Out Measurement Completion trigger output Digital I/O cleared...
  • Page 107 Remote Mode Functions Initial Settings Table 2-6 Initial Settings Setup Item Initial Setting Commands Measurement channel Channel assigned the lowest number. Measurement data to be displayed Data 1 Compliance side data Data 2 none Output channel Channel assigned the lowest number. Output data to be displayed Data 1 Data 2...
  • Page 108 Remote Mode Functions Initial Settings 2- 46 Keysight E5260/E5270 Programming Guide, Edition 4...
  • Page 109: Programming Examples

    Programming Examples...
  • Page 110: Programming Basics For Visual Basic .Net Users

    Programming Examples This chapter lists the GPIB commands required for each measurement mode, and provides the programming examples. • “Programming Basics for Visual Basic .NET Users” • “High-Speed Spot Measurements” • “Spot Measurements” • “Pulsed Spot Measurements” • “Staircase Sweep Measurements” •...
  • Page 111: Command Reference

    Programming Examples Refer to Chapter 4, “Command Reference,” for the command syntax and descriptions of the Keysight E5260/E5270 GPIB commands. The following command conventions are used in this chapter. command Required command for measurement execution. [command] Optional command for measurement execution. parameter Required command parameter.
  • Page 112 Programming Examples Programming Basics for Visual Basic .NET Users Programming Basics for Visual Basic .NET Users This section provides the basic information for programming of the automatic measurement using the Keysight E5260/E5270, Keysight IO Library, and Microsoft Visual Basic .NET. •...
  • Page 113 Programming Examples Programming Basics for Visual Basic .NET Users To Create Measurement Program Create the measurement program as shown below. The following procedure needs your project template. If the procedure does not fit your programming environment, arrange it to suit your environment. Step 1.
  • Page 114 Programming Examples Programming Basics for Visual Basic .NET Users Table 3-1 Example Template Program Code for Visual Basic .NET Imports Ivi.visa.interop Module Module1 Sub Main() ’5 Dim E5270 As IResourceManager Dim session As IMessage E5270 = New ResourceManager session = E5270.Open("GPIB0::17::INSTR") session.WriteString("*RST"...
  • Page 115 Programming Examples Programming Basics for Visual Basic .NET Users Sub perform_meas(ByVal session As IMessage, ByVal t() As Integer) ’25 Dim i As Integer = 0 : Dim j As Integer = 0 Dim nop1 As Integer = 1 : Dim nop2 As Integer = 1 Dim data(nop2 - 1, nop1 - 1) As String Dim value As String = "Enter data header"...
  • Page 116 Programming Examples Programming Basics for Visual Basic .NET Users Sub save_data(ByVal fname As String, ByVal title As String, ByVal value As String, ByVal data(,) As String, ByVal nop1 As Integer, ByVal nop2 As Integer, ByVal session As IMessage, ByVal t() As Integer) ’48 Dim i As Integer = 0 Dim j As Integer = 0...
  • Page 117: Aad

    Programming Examples High-Speed Spot Measurements High-Speed Spot Measurements To perform high-speed spot measurements, use the following commands. Function Command Parameters Enables channels [chnum ... [,chnum] ... ] Disables channels [chnum ... [,chnum] ... ] Sets filter ON/OFF [FL] mode[,chnum ... [,chnum] ... ] Sets series resistor ON/OFF [SSR] chnum[,mode]...
  • Page 118 Programming Examples High-Speed Spot Measurements A program example of a high-speed spot measurement is shown below. This example measures MOSFET drain current. This program uses the TTI command to measure the current and read the time stamp data. Table 3-2 High-Speed Spot Measurement Example Sub perform_meas(ByVal session As IMessage, ByVal t() As Integer) ’1...
  • Page 119 Programming Examples High-Speed Spot Measurements session.WriteString("TSR" & vbLf) ’30 session.WriteString("TTI " & t(0) & "," & mrng & vbLf) session.WriteString("TSQ" & vbLf) Dim mret As String = session.ReadString(16 + 17) ’data+comma+data+terminator Dim tret As String = session.ReadString(17) ’data+terminator Dim tcal As String = Mid(mret, 4, 12) tret = Mid(tret, 4, 12) Dim mtime As Double = Val(tret) - Val(tcal) Dim status As String = Mid(mret, 17, 3)
  • Page 120 Programming Examples Spot Measurements Spot Measurements To perform spot measurements, use the following commands. Function Command Parameters Enables channels [chnum ... [,chnum] ... ] Disables channels [chnum ... [,chnum] ... ] Sets filter ON/OFF [FL] mode[,chnum ... [,chnum] ... ] Sets series resistor ON/OFF [SSR] chnum[,mode]...
  • Page 121 Programming Examples Spot Measurements A program example of a spot measurement is shown below. This example measures MOSFET drain current. Table 3-3 Spot Measurement Example Sub perform_meas(ByVal session As IMessage, ByVal t() As Integer) ’1 Dim i As Integer = 0 ’t(0): Drain Dim j As Integer = 0 ’t(1): Gate...
  • Page 122 Programming Examples Spot Measurements session.WriteString("TSR" & vbLf) ’33 session.WriteString("XE" & vbLf) session.WriteString("TSQ" & vbLf) Dim mret As String = session.ReadString(16 + 17) ’data+comma+data+terminator Dim tret As String = session.ReadString(17) ’data+terminator Dim tcal As String = Mid(mret, 4, 12) tret = Mid(tret, 4, 12) Dim mtime As Double = Val(tret) - Val(tcal) Dim status As String = Mid(mret, 17, 3) Dim meas As Double = Val(Mid(mret, 20, 12))
  • Page 123 Programming Examples Pulsed Spot Measurements Pulsed Spot Measurements To perform pulsed spot measurements, use the following commands. Function Command Parameters Enables channels [chnum ... [,chnum] ... ] Disables channels [chnum ... [,chnum] ... ] Sets filter ON/OFF [FL] mode[,chnum ... [,chnum] ... ] Sets series resistor ON/OFF [SSR] chnum[,mode]...
  • Page 124 Programming Examples Pulsed Spot Measurements A program example of a pulsed spot measurement is shown below. This example measures MOSFET drain current. Table 3-4 Pulsed Spot Measurement Example Sub perform_meas(ByVal session As IMessage, ByVal t() As Integer) ’1 Dim i As Integer = 0 ’t(0): Drain Dim j As Integer = 0 ’t(1): Gate...
  • Page 125 Programming Examples Pulsed Spot Measurements session.WriteString("TSR" & vbLf) ’35 session.WriteString("XE" & vbLf) session.WriteString("TSQ" & vbLf) Dim mret As String = session.ReadString(16 + 17) ’data+comma+data+terminator Dim tret As String = session.ReadString(17) ’data+terminator Dim tcal As String = Mid(mret, 4, 12) tret = Mid(tret, 4, 12) Dim mtime As Double = Val(tret) - Val(tcal) Dim status As String = Mid(mret, 17, 3) Dim meas As Double = Val(Mid(mret, 20, 12))
  • Page 126 Programming Examples Staircase Sweep Measurements Staircase Sweep Measurements To perform staircase sweep measurements, use the following commands. Function Command Parameters Enables channels [chnum ... [,chnum] ... ] Disables channels [chnum ... [,chnum] ... ] Sets filter ON/OFF [FL] mode[,chnum ... [,chnum] ... ] Sets series resistor ON/OFF [SSR] chnum[,mode]...
  • Page 127 Programming Examples Staircase Sweep Measurements A program example of a staircase sweep measurement is shown below. This example measures MOSFET Id-Vd characteristics. Table 3-5 Staircase Sweep Measurement Example 1 Sub perform_meas(ByVal session As IMessage, ByVal t() As Integer) ’1 Dim i As Integer = 0 ’t(0): Drain Dim j As Integer = 0 ’t(1): Gate...
  • Page 128 Programming Examples Staircase Sweep Measurements session.WriteString("MM 2," & t(0) & vbLf) ’2: staircase sweep measurement session.WriteString("CMM " & t(0) & ",1" & vbLf) ’1: current measurement session.WriteString("RI " & t(0) & ",0" & vbLf) ’0: auto ranging session.WriteString("WT " & hold & "," & delay & "," & s_delay & vbLf) ’41 session.WriteString("WM 2,1"...
  • Page 129 Programming Examples Staircase Sweep Measurements Check_err: ’71 session.WriteString("EMG? " & err & vbLf) : msg = session.ReadString(256) MsgBox("Instrument error: " & err & Chr(10) & msg, vbOKOnly, "") Exit Sub Check_nop: ’76 MsgBox("No. of data: " & rep & " (not " & nop1 * 3 & ")", vbOKOnly, "") End Sub Line Description...
  • Page 130 Programming Examples Staircase Sweep Measurements The following program performs the same measurement as the previous program (Table 3-5). This program starts to read measurement data before the sweep measurement is completed. Table 3-6 Staircase Sweep Measurement Example 2 Sub perform_meas(ByVal session As IMessage, ByVal t() As Integer) ’1 Dim i As Integer = 0 ’t(0): Drain...
  • Page 131 Programming Examples Staircase Sweep Measurements Dim ret_val As String : Dim status As String : Dim chan As String ’41 Dim type As String : Dim rdata As Double : Dim tdata As Double Dim sdata As Double : Dim mdata As Double : Dim mstat As String Dim disp_data As String : Dim k As Integer = 0 session.TerminationCharacter = 44 ’terminator=comma...
  • Page 132 Programming Examples Staircase Sweep Measurements session.WriteString("DZ" & vbLf) ’76 save_data(fname, title, value, data, nop1, nop2, session, t) Exit Sub Check_err: ’80 session.WriteString("EMG? " & err & vbLf) : msg = session.ReadString(256) MsgBox("Instrument error: " & err & Chr(10) & msg, vbOKOnly, "") End Sub Line Description...
  • Page 133 Programming Examples Staircase Sweep Measurements The following program example executes the synchronous sweep measurement using two sweep sources. This example measures MOSFET Id-Vg characteristics. Table 3-7 Staircase Sweep Measurement Example 3 Sub perform_meas(ByVal session As IMessage, ByVal t() As Integer) ’1 Dim i As Integer = 0 ’t(0): Drain...
  • Page 134 Programming Examples Staircase Sweep Measurements session.WriteString("MM 2," & t(0) & vbLf) ’2: staircase sweep measurement session.WriteString("CMM " & t(0) & ",1" & vbLf) ’1: current measurement session.WriteString("RI " & t(0) & ",0" & vbLf) ’0: auto ranging session.WriteString("WT " & hold & "," & delay & "," & s_delay & vbLf) ’40 session.WriteString("WM 2,1"...
  • Page 135 Programming Examples Staircase Sweep Measurements Check_err: ’68 session.WriteString("EMG? " & err & vbLf) : msg = session.ReadString(256) MsgBox("Instrument error: " & err & Chr(10) & msg, vbOKOnly, "") Exit Sub Check_nop: ’73 MsgBox("No. of data: " & rep & " (not " & nop1 * 3 & ")", vbOKOnly, "") End Sub Line Description...
  • Page 136 Programming Examples Pulsed Sweep Measurements Pulsed Sweep Measurements To perform pulsed sweep measurements, use the following commands. Function Command Parameters Enables channels [chnum ... [,chnum] ... ] Disables channels [chnum ... [,chnum] ... ] Sets filter ON/OFF [FL] mode[,chnum ... [,chnum] ... ] Sets series resistor ON/OFF [SSR] chnum[,mode]...
  • Page 137 Programming Examples Pulsed Sweep Measurements A program example of a pulsed sweep measurement is shown below. This example measures the bipolar transistor Ic-Vc characteristics. Table 3-8 Pulsed Sweep Measurement Example Sub perform_meas(ByVal session As IMessage, ByVal t() As Integer) ’1 Dim i As Integer = 0 ’t(0): Emitter Dim j As Integer = 0...
  • Page 138 Programming Examples Pulsed Sweep Measurements session.WriteString("DV " & t(0) & ",0,0,0.1" & vbLf) ’out=0 V, comp=0.1 A ’38 Dim b_pt As String = "0.1,0.01,0.02" ’hold, width, period in sec session.WriteString("PT " & b_pt & vbLf) session.WriteString("MM 4," & t(2) & vbLf) ’4: pulsed sweep measurement session.WriteString("CMM "...
  • Page 139 Programming Examples Pulsed Sweep Measurements session.WriteString("DZ" & vbLf) ’71 save_data(fname, title, value, data, nop1, nop2, session, t) Exit Sub Check_err: ’75 session.WriteString("EMG? " & err & vbLf) : msg = session.ReadString(256) MsgBox("Instrument error: " & err & Chr(10) & msg, vbOKOnly, "") Exit Sub Check_nop: ’80...
  • Page 140 Programming Examples Pulsed Sweep Measurements Do you want to perform measurement again? 3- 32 Keysight E5260/E5270 Programming Guide, Edition 4...
  • Page 141 Programming Examples Staircase Sweep with Pulsed Bias Measurements Staircase Sweep with Pulsed Bias Measurements To perform staircase sweep with pulsed bias measurements, use the following commands. Function Command Parameters Enables channels [chnum ... [,chnum] ... ] Disables channels [chnum ... [,chnum] ... ] Sets filter ON/OFF [FL] mode[,chnum ...
  • Page 142 Programming Examples Staircase Sweep with Pulsed Bias Measurements A program example of a staircase sweep with pulsed bias measurement is shown below. This example measures the bipolar transistor Ic-Vc characteristics. Table 3-9 Staircase Sweep with Pulsed Bias Measurement Example Sub perform_meas(ByVal session As IMessage, ByVal t() As Integer) ’1 Dim i As Integer = 0 ’t(0): Emitter...
  • Page 143 Programming Examples Staircase Sweep with Pulsed Bias Measurements session.WriteString("DV " & t(0) & ",0,0,0.1" & vbLf) ’37 Dim b_pt As String = "0.1,0.01,0.02" ’hold, width, period in sec session.WriteString("PT " & b_pt & vbLf) session.WriteString("MM 5," & t(2) & vbLf) ’5: staircase sweep w/pulsed bias session.WriteString("CMM "...
  • Page 144 Programming Examples Staircase Sweep with Pulsed Bias Measurements session.WriteString("DZ" & vbLf) ’70 save_data(fname, title, value, data, nop1, nop2, session, t) Exit Sub Check_err: session.WriteString("EMG? " & err & vbLf) : msg = session.ReadString(256) ’75 MsgBox("Instrument error: " & err & Chr(10) & msg, vbOKOnly, "") Exit Sub Check_nop: MsgBox("No.
  • Page 145 Programming Examples Quasi Pulsed Spot Measurements Quasi Pulsed Spot Measurements To perform quasi-pulsed spot measurements, use the following commands. Function Command Parameters Enables channels [chnum ... [,chnum] ... ] Disables channels [chnum ... [,chnum] ... ] Sets filter ON/OFF [FL] mode[,chnum ...
  • Page 146 Programming Examples Quasi Pulsed Spot Measurements A program example of a spot measurement is shown below. This measures the breakdown voltage of bipolar transistor. Table 3-10 Quasi Pulsed Spot Measurement Example Sub perform_meas(ByVal session As IMessage, ByVal t() As Integer) ’1 Dim i As Integer = 0 ’t(0): Emitter...
  • Page 147 Programming Examples Quasi Pulsed Spot Measurements Dim data1 As String = session.ReadString(17) ’33 Dim status As String = Left(data1, 3) data1 = Mid(data1, 4, 12) Dim meas As Double = Val(data1) data(j, i) = Chr(13) & Chr(10) & meas & ", " & status session.WriteString("DZ"...
  • Page 148 Programming Examples Linear Search Measurements Linear Search Measurements To perform linear search measurements, use the following commands. Function Command Parameters Enables channels [chnum ... [,chnum] ... ] Disables channels [chnum ... [,chnum] ... ] Sets filter ON/OFF [FL] mode[,chnum ... [,chnum] ... ] Sets series resistor ON/OFF [SSR] chnum[,mode]...
  • Page 149 Programming Examples Linear Search Measurements A program example of a linear search measurement is shown below. This example measures the MOSFET threshold voltage. Table 3-11 Linear Search Measurement Example Sub perform_meas(ByVal session As IMessage, ByVal t() As Integer) ’1 Dim i As Integer = 0 ’t(0): Drain Dim j As Integer = 0 ’t(1): Gate...
  • Page 150 Programming Examples Linear Search Measurements session.WriteString("ERR? 1" & vbLf) : err = session.ReadString(4 + 2) ’36 If err <> 0 Then session.WriteString("DZ" & vbLf) : GoTo Check_err session.WriteString("DV " & t(3) & ",0,0,0.1" & vbLf) ’out= 0 V, comp= 0.1 A session.WriteString("DV "...
  • Page 151: Bgv

    Programming Examples Binary Search Measurements Binary Search Measurements To perform binary search measurements, use the following commands. Function Command Parameters Enables channels [chnum ... [,chnum] ... ] Disables channels [chnum ... [,chnum] ... ] Sets filter ON/OFF [FL] mode[,chnum ... [,chnum] ... ] Sets series resistor ON/OFF [SSR] chnum[,mode]...
  • Page 152 Programming Examples Binary Search Measurements A program example of a binary search measurement is shown below. This example measures the MOSFET threshold voltage. Table 3-12 Binary Search Measurement Example Sub perform_meas(ByVal session As IMessage, ByVal t() As Integer) ’1 Dim i As Integer = 0 ’t(0): Drain Dim j As Integer = 0 ’t(1): Gate...
  • Page 153 Programming Examples Binary Search Measurements session.WriteString("ERR? 1" & vbLf) : err = session.ReadString(4 + 2) ’36 If err <> 0 Then session.WriteString("DZ" & vbLf) : GoTo Check_err session.WriteString("DV " & t(3) & ",0,0,0.1" & vbLf) ’out= 0 V, comp= 0.1 A session.WriteString("DV "...
  • Page 154 Programming Examples Multi Channel Sweep Measurements Multi Channel Sweep Measurements To perform multi channel sweep measurements, use the following commands. Function Command Parameters Enables channels [chnum ... [,chnum] ... ] Disables channels [chnum ... [,chnum] ... ] Sets filter ON/OFF [FL] mode[,chnum ...
  • Page 155 Programming Examples Multi Channel Sweep Measurements NOTE Sweep sources simultaneously start output by a trigger such as the XE command. However, if a sweep source sets power compliance or forces logarithmic sweep current, the sweep sources start output in the order specified by the WNX’s N value. Then the first output is forced by the channel set by the WI or WV command.
  • Page 156 Programming Examples Multi Channel Sweep Measurements session.WriteString("FMT 1,1" & vbLf)’ASCII,<CRLF EOI>,w/sweep source data ’31 session.WriteString("TSC 1" & vbLf) ’enables time stamp output session.WriteString("FL 1" & vbLf) ’sets filter on session.WriteString("AV 10,1" & vbLf)’sets number of samples for 1 data session.WriteString("MM 16," & t(1) & "," & t(2) & vbLf) ’16: m-ch sweep session.WriteString("CMM"...
  • Page 157 Programming Examples Multi Channel Sweep Measurements For i = 0 To nop1 - 1 ’58 tm1(i) = Val(Mid(mret, 4 + 16 * 5 * i, 12)) st1(i) = Mid(mret, 17 + 16 * 5 * i, 3) md1(i) = Val(Mid(mret, 20 + 16 * 5 * i, 12)) tm2(i) = Val(Mid(mret, 36 + 16 * 5 * i, 12)) st2(i) = Mid(mret, 49 + 16 * 5 * i, 3) md2(i) = Val(Mid(mret, 52 + 16 * 5 * i, 12))
  • Page 158 Programming Examples Using Program Memory Using Program Memory The program memory can store approximately 2,000 programs or 40,000 commands. Storing programs and executing them will improve the program execution speed. The following commands are available to use program memory. Command Function and Syntax ST and END Stores the program in the memory.
  • Page 159 Programming Examples Using Program Memory Table 3-14 Table 3-15 show the example program that uses the internal program memory, and does the following: • stores a high-speed spot measurement program in the memory 1, and displays it. • stores a pulsed spot measurement program in the memory 2, and displays it. •...
  • Page 160 Programming Examples Using Program Memory Table 3-14 Program Memory Programming Example 1 Imports Ivi.visa.interop ’1 Module Module1 Sub Main() Dim E5270 As IResourceManager ’5 Dim session As IMessage E5270 = New ResourceManager session = E5270.Open("GPIB0::17::INSTR") session.WriteString("*RST" & vbLf) Dim fmt As Integer = 1 : session.WriteString("FMT" & fmt & vbLf) Dim t() As Integer = {5, 4, 3, 1} ’Drain, Gate, Source, Substrate Dim v0 As Double = 0 : Dim vd As Double = 1 : Dim idcomp As Double = 0.1...
  • Page 161 Programming Examples Using Program Memory Dim term As String = t(0) & "," & t(1) & "," & t(2) & "," & t(3) ’40 session.WriteString("CN" & term & vbLf) Dim i As Integer : Dim ret As Integer : Dim msg As String Dim value As String : Dim status As String : Dim meas As Double For i = 1 To 2 session.WriteString("DO"...
  • Page 162 Programming Examples Using Program Memory Table 3-15 Program Memory Programming Example 2 session.WriteString("VAR0,0," & t(0) & vbLf) '%I0=t(0) ’1 session.WriteString("VAR0,1," & t(1) & vbLf) '%I1=t(1) session.WriteString("VAR0,2," & t(2) & vbLf) '%I2=t(2) session.WriteString("VAR0,3," & t(3) & vbLf) '%I3=t(3) session.WriteString("VAR0,4,0" & vbLf) '%I4=mrng session.WriteString("VAR0,5,0"...
  • Page 163 Programming Examples Using Program Memory ’changes vd and vg and performs measurement again ’39 session.WriteString("VAR1,0,3" & vbLf) ’%R0=vd For i = 1 To 2 session.WriteString("DO" & i & vbLf) session.WriteString("*OPC?" & vbLf) : ret = session.ReadString(1 + 2) session.WriteString("ERR? 1" & vbLf) : ret = session.ReadString(4 + 2) If ret <>...
  • Page 164 Programming Examples Using Trigger Function Using Trigger Function The Keysight E5260/E5270 can be equipped with eight trigger ports that will be used for different purpose individually. The Keysight E5260/E5270 can synchronize the operation with other equipment by using the trigger function. For details about the trigger input/output operation, see “Trigger Function”...
  • Page 165 Programming Examples Using Trigger Function The following commands are also available to send a trigger or wait for an external trigger input. Refer to “Using Trigger Function” on page 2-35. Command Function and Syntax Causes the Keysight E5260/E5270 to send a trigger signal from the Ext Trig Out terminal.
  • Page 166 Programming Examples Using Trigger Function Programming examples using the trigger function are explained below. The examples use a couple within the available couples of the Keysight B1500A and the Keysight E5260/E5270 series. In this section, they are assigned as Unit1 (address 717) and Unit2 (address 722).
  • Page 167 Programming Examples Using Trigger Function unit1.WriteString("CL" & vbLf) ’22 unit2.WriteString("CL" & vbLf) unit1.Close() unit2.Close() MsgBox("Click OK to stop the program.", vbOKOnly, "") Console.WriteLine("Measurement completed." & Chr(10)) End Sub ’28 Sub perform_meas(ByVal unit1 As IMessage, ByVal unit2 As IMessage, ByVal t() As Integer) ’30 Dim i As Integer = 0...
  • Page 168 Programming Examples Using Trigger Function unit1.WriteString("WS 2" & vbLf) ’55 unit1.WriteString("XE" & vbLf) unit2.WriteString("OS" & vbLf) ’unit1.WriteString("TM 3" & vbLf) ’59 ’unit1.WriteString("*OPC?" & vbLf) : ret = unit1.ReadString(1 + 2) ’unit2.WriteString("OS" & vbLf) ’unit1.WriteString("PA" & vbLf) ’62 ’unit2.WriteString("OS" & vbLf) ’unit1.WriteString("XE"...
  • Page 169 Programming Examples Using Trigger Function Check_err: ’83 unit1.WriteString("EMG? " & err & vbLf) : msg = unit1.ReadString(256) MsgBox("Instrument error: " & err & Chr(10) & msg, vbOKOnly, "") Exit Sub End Sub ’88 Sub save_data(ByVal fname As String, ByVal title As String, ByVal value As String, ByVal data(,) As String, ByVal nop1 As Integer, ByVal nop2 As Integer, ByVal unit1 As IMessage, ByVal unit2 As IMessage, ByVal t() As Integer) ’90...
  • Page 170 Programming Examples Using Trigger Function The following program controls two units and performs I-V measurement of two-terminal devices. Each unit measures a different device and performs one point measurement alternately at each sweep step. Before running the program, connect a BNC cable between the following terminals.
  • Page 171 Programming Examples Using Trigger Function unit1.WriteString("DV" & t(1) & ",0," & vs & "," & icomp & vbLf) ’22 unit1.WriteString("WV" & t(0) & ",1,0," & v1 & "," & v2 & "," & nop1 & "," & icomp & vbLf) unit1.WriteString("MM 2,"...
  • Page 172 Programming Examples Using Trigger Function Dim mret1 As String = unit1.ReadString(16 * 2 * nop1 + 1) ’48 Dim mret2 As String = unit2.ReadString(16 * 2 * nop1 + 1) Dim time As Double : Dim status As String : Dim meas As Double For i = 0 To nop1 - 1 time = Val(Mid(mret1, 4 + i * 16 * 2, 12)) status = Mid(mret1, 17 + i * 16 * 2, 3)
  • Page 173 Programming Examples Using Trigger Function This is a program written in the HP BASIC language, and performs the following. 1. Sets the Keysight E5260/E5270 for the bipolar transistor Ib-Ic measurement 2. Triggers a sweep measurement 3. Performs a step measurement and sends the Step Measurement Completion output gate trigger 4.
  • Page 174 Programming Examples Using Trigger Function OUTPUT @E5270;"FMT 5" ! ASCII w/header<,> OUTPUT @E5270;"AV -1" ! Averaging=1PLC OUTPUT @E5270;"WT 0,.01" ! Hold Time, Delay Time OUTPUT @E5270;"CN";Collector,Base OUTPUT @E5270;"TGP -2,2,2,3" ! StepMeasEndTrg Output OUTPUT @E5270;"TGMO 2" ! Gate Trigger OUTPUT @E5270;"TGP -1,1,2,2" ! StartStepSetupTrg Input OUTPUT @E5270;"TGSI 2"...
  • Page 175 Programming Examples Using Trigger Function OUTPUT @E5270;"XE" !E5270 starts measurement. Then E5270 sends negative gate !trigger to the other instrument. !Then the instrument should start measurement. FOR I=1 TO Ib_num ENTER @E5270 USING "#,3X,12D,X";Ic PRINT "Ic= ";Ic*1000;" [mA]" !Measurement data of the other instrument should be read. !And the data should be displayed.
  • Page 176 Programming Examples Reading Time Stamp Data Reading Time Stamp Data Time stamp function outputs a time data with a measurement result data. For example of reading the time stamp data, see programs in the previous sections. NOTE This function is not available for binary data output format (FMT 3 and 4). This function is not available for the quasi-pulsed spot measurement (MM 9) and the search measurement (MM 14 and 15).
  • Page 177 Programming Examples Reading Binary Output Data Reading Binary Output Data This section provides the example to read binary data. The following program example: 1. executes high-speed spot measurements 2. reads the measurement data in binary data format 3. rearranges the data and calculates the measured data 4.
  • Page 178 Programming Examples Reading Binary Output Data Table 3-18 High-Speed Spot Measurement Example to read binary data Sub perform_meas(ByVal session As IMessage, ByVal t() As Integer) ’1 Dim i As Integer = 0 ’t(0): Drain Dim j As Integer = 0 ’t(1): Gate Dim nop1 As Integer = 1 ’t(2): Source...
  • Page 179 Programming Examples Reading Binary Output Data Dim range As Double ’43 If mode = 1 Then ’ current range range = 10 ^ (rng - 20) If rng = 20 Then session.WriteString("UNT? 1" & vbLf) Dim unt As String = session.ReadString(256) Dim mdl(8) As String : Dim c As String Dim a As Integer : Dim b As Integer = 0 : Dim d As Integer = 0 For a = 1 To Len(unt)
  • Page 180 Programming Examples Using Programs for 4142B Using Programs for 4142B This section describes the program modification example to use a program created for the Keysight 4142B Modular DC Source/Monitor. To use the program: 1. change the GPIB address, if necessary. 2.
  • Page 181 Programming Examples Using Programs for 4142B Line No. Description Specifies the data output format. 100 to 130 Enables the source/measurement channels, and forces voltage. 140 to 180 Executes the measurement, reads and displays the measurement data, and disables channels. The program modified to control the E5260/E5270: ASSIGN @Hp4142 TO 717 !<<<<...
  • Page 182 Programming Examples Using Programs for 4155B/4156B/4155C/4156C Using Programs for 4155B/4156B/4155C/4156C This section describes the program modification example to use a FLEX command program created for the Keysight 4155B/4156B/4155C/4156C Parameter Analyzer. To use the program: 1. change the GPIB address, if necessary. 2.
  • Page 183 Programming Examples Using Programs for 4155B/4156B/4155C/4156C The original 4156C program: ASSIGN @Hp415x TO 717 INTEGER G_ch,D_ch,S_ch,B_ch S_ch !Source: SMU1 G_ch=2 !Gate: SMU2 D_ch=3 !Drain: SMU3 B_ch=4 !Substrate: SMU4 OUTPUT @Hp415x;"US" OUTPUT @Hp415x;"FMT 5" OUTPUT @Hp415x;"CN ";D_ch,G_ch,S_ch,B_ch OUTPUT @Hp415x;"DV ";S_ch;",0,0,.1" OUTPUT @Hp415x;"DV ";B_ch;",0,0,.1" OUTPUT @Hp415x;"DV ";G_ch;",0,3,.01"...
  • Page 184 Programming Examples Using Programs for 4155B/4156B/4155C/4156C The program modified to control the E5260/E5270: ASSIGN @Hp415x TO 717 !<<<< INTEGER G_ch,D_ch,S_ch,B_ch INTEGER Sub !<<<< ! S_ch=1 !Source: SMU1 <<<< replaced with GNDU G_ch=2 !Gate: SMU2 D_ch=3 !Drain: SMU3 B_ch=4 !Substrate: SMU4 Sub=5 !<<<<...
  • Page 185 Command Reference...
  • Page 186 E5281B: MPSMU (medium power SMU, for E5270B) E5287A: HRSMU (high resolution SMU, for E5270B) E5288A: ASU (atto sense and switch unit, for E5270B) E5290A: HPSMU (high power SMU, for E5260 series) E5291A: MPSMU (medium power SMU, for E5260 series) 4- 2...
  • Page 187 Command Reference Command Summary Command Summary The following table summarizes the GPIB commands. Category Command Summary Reset *RST Resets the E5260/E5270 to the initial settings. Diagnostics DIAG? Performs diagnostics, and returns the result. Self-test *TST? Performs the self-test, and returns the result. Self Performs self calibration.
  • Page 188 Resistor Filter Sets the filter of the specified channels to ON or OFF. Integration For the E5260 series and the high-speed ADC of the E5270B. Sets the Time and number of samples for averaging of the ADC (A/D converter). Averaging Sets the source wait time and the measurement wait time.
  • Page 189 Command Reference Command Summary Category Command Summary Measurement Performs measurements, and returns the measurement data; or recovers Execution from the paused state if the PA/PAX command has been sent. Not available for the high speed spot measurement. Staircase Sets the hold time, delay time, step delay time, and trigger delay time. Sweep Sets the staircase current sweep source.
  • Page 190 Command Reference Command Summary Category Command Summary Binary Sets the source output control mode and the automatic abort function. Search Specifies the hold time and delay time. Measurement Setup BSVM Selects the data output mode. Sets the current source channel. BSSI Sets the synchronous current source channel.
  • Page 191 Command Reference Command Summary Category Command Summary Program Used with END command to store a program in the internal program Memory memory. The ST command indicates the beginning of the program. Used with the ST command to store a program in the internal program memory.
  • Page 192 Command Reference Command Summary Category Command Summary External Enables the trigger function for a terminal. Trigger TGPC Clears the trigger setting of the specified ports. TGSI Selects the sweep step first or last that ignores the Start Step Output Setup trigger input set by the TGP port,1,polarity,2 command.
  • Page 193 Command Reference Command Parameters Command Parameters The parameters used by several commands are explained in this section. • “Channel Number” • “Voltage Measurement Ranging Type” • “Current Measurement Ranging Type” • “Voltage Output Ranging Type” • “Current Output Ranging Type” •...
  • Page 194 Command Reference Command Parameters Table 4-2 Voltage Measurement Ranging Type Ranging type range for measurement mode for measurement mode without pulse that uses pulse Auto ranging Measurement channel uses the minimum range that 5, for E5281B/E5287A 0.5 V limited auto ranging covers the compliance value.
  • Page 195 Command Reference Command Parameters Table 4-3 Current Measurement Ranging Type Ranging type range for measurement mode for measurement mode without pulse that uses pulse Auto ranging Measurement channel uses the minimum range that 8, for E5287A+E5288A ASU 1 pA limited auto ranging covers the compliance 9, for E5287A 10 pA limited auto ranging...
  • Page 196 Command Reference Command Parameters Measurement Ranging (Auto and Limited auto) NOTE The instrument automatically selects the minimum range that covers the measurement value, and performs the measurement by using the range. For the limited auto ranging, the instrument does not use the range lower than the specified range value.
  • Page 197 Command Reference Command Parameters Table 4-4 Voltage Output Ranging Type range or vrange Ranging type Auto ranging 0.5 V limited auto ranging, for E5281B/E5287A 5 V limited auto ranging, for E5281B/E5287A 20 or 11 2 V limited auto ranging 200 or 12 20 V limited auto ranging 400 or 13 40 V limited auto ranging...
  • Page 198 Command Reference Command Parameters Table 4-6 Voltage Source Setup Parameters for DV/TDV/BDV/WV/WSV/WNX/PV/PWV/LSV/BSV Commands Output Maximum Icomp value in A Setting voltage, start, range resolution stop, base, or (actually in V pulse in V E5280B E5281B E5287A E5290A E5291A used) 0.5 V 25E-6 0 to ±...
  • Page 199 Command Reference Command Parameters Table 4-7 Current Source Setup Parameters for DI/TDI/WI/WSI/WNX/PI/PWI/LSI/BSI Commands Output Maximum Vcomp value in V Setting current, start, range resolution stop, base, or (actually E5280B E5281B E5287A E5290A E5291A in A pulse in A used) 1 pA 1E-15 0 to ±...
  • Page 200 Command Reference Command Reference Command Reference This section contains detailed descriptions of all GPIB commands. The commands are listed in alphabetical order. Each entry: 1. Defines one GPIB command 2. Describes the execution conditions, if any exist 3. Describes the syntax 4.
  • Page 201 This command setting is ignored by the pulsed spot, pulsed sweep, and staircase sweep with pulsed bias measurements. Execution Enter the AIT command to set up the ADC. Conditions This command is not available for the Keysight E5260 series. Syntax AAD chnum[,type] Parameters chnum : Measurement channel number.
  • Page 202 Command Reference Command Reference The AB command aborts the present operation and subsequent command execution. This command stops the operation now in progress, such as the measurement execution, source setup changing, and so on. But this command does not change the present condition.
  • Page 203 Command Reference Command Reference Remarks If you start an operation that you may want to abort, do not send any command after the command or command string that starts the operation. If you do, the AB command cannot enter the command input buffer until the intervening command execution starts, so the operation cannot be aborted.
  • Page 204 Command Reference Command Reference The ACH command translates the specified program channel number to the specified actual channel number at the program execution. This command is useful when you use a control program created for an instrument, such as the 4142B, 4155B/4155C/4156B/4156C, and E5260/E5270, that has a module configuration different from the E5260/E5270 actually you use.
  • Page 205 This command setting is ignored by the pulsed spot, pulsed sweep, and staircase sweep with pulsed bias measurements. Execution Enter the AAD command to specify the ADC type for each measurement channel. Conditions This command is not available for the Keysight E5260 series. Syntax AIT type,mode[,N] Parameters type : A/D converter type.
  • Page 206 Command Reference Command Reference Table 4-8 Available Parameter Values type mode Value that defines the number of averaging samples given by the following formula. 1 to 1023. Default value is 1. Number of averaging samples = N × initial averaging where initial averaging is the number of averaging samples automatically set by Keysight E5270B and you cannot change.
  • Page 207 This command sets the number of averaging samples of the ADC (A/D converter). This command is effective for the ADC of the E5260 series and the high-speed ADC of the E5270B, and not effective for the high-resolution ADC of the E5270A.
  • Page 208 Command Reference Command Reference Table 4-9 Initial Number for Current Measurement Voltage Output Range Current Measurement Range to 40 V 100 V 200 V to 10 μA 100 μA to 1 A a. For measurement channels that force current, this is the minimum range that covers the voltage compliance value.
  • Page 209 Power on, *RST command, and device clear disable the function. This command is effective for the high-resolution A/D converter, not effective for the high-speed A/D converter. Execution This command is not available for the Keysight E5260 series. Conditions Syntax AZ mode...
  • Page 210 Command Reference Command Reference The BDM command specifies the settling detection interval and the measurement mode; voltage or current, for the quasi-pulsed measurements. Syntax BDM interval[,mode] Parameters interval : Settling detection interval. Numeric expression. 0: Short. Initial setting. 1: Long. For measurements of the devices that have the stray capacitance, or the measurements with the compliance less than 1 μA mode : Measurement mode.
  • Page 211 Command Reference Command Reference The BDV command specifies the quasi-pulsed voltage source and its parameters. Syntax BDV chnum,range,start,stop[,Icomp] Parameters chnum : Source channel number. The value must be slot number where the module has been installed. Integer expression. 1 to 8 (1 and 5 are not available for HPSMU).
  • Page 212 Command Reference Command Reference The BGI command specifies the current monitor channel and its search parameters for the binary search measurement. This command ignores the RI command setting. This command setting is cleared by the BGV command. Syntax BGI chnum,mode,condition,range,target Parameters chnum : Search monitor channel number.
  • Page 213 Command Reference Command Reference Remarks In the limit search mode, if search cannot find the search target and the following two conditions are satisfied, the E5260/E5270 repeats the binary search between the last source value and the source start value. •...
  • Page 214 Command Reference Command Reference The BGV command specifies the voltage monitor channel and its search parameters for the binary search measurement. This command ignores the RV command setting. This command setting is cleared by the BGI command. Syntax BGV chnum,mode,condition,range,target Parameters chnum : Search monitor channel number.
  • Page 215 Command Reference Command Reference Remarks In the limit search mode, if search cannot find the search target and the following two conditions are satisfied, the E5260/E5270 repeats the binary search between the last source value and the source start value. •...
  • Page 216 Command Reference Command Reference The BSI command specifies and sets the current search source for the binary search measurement. This command setting is cleared by the BSV command. After search stops, the search channel forces the value specified by the BSM command. Syntax BSI chnum,range,start,stop[,Vcomp] Parameters...
  • Page 217 Command Reference Command Reference The BSM command specifies the search source control mode in the binary search measurement (MM15), and enables or disables the automatic abort function. The automatic abort function stops the measurement when one of the following conditions occurs: •...
  • Page 218 Command Reference Command Reference Figure 4-1 Binary Search Source Output Control Mode Voltage or current BSM, BST, and -D/2 Stop BSV or BSI -D/8 -D/16 Search stopped Delay time (1) Normal output Hold time +D/64 +D/32 +D/4 Trigger Delay time Start Stop BSM, BST, and...
  • Page 219 Command Reference Command Reference Cautious mode The operation of the cautious mode is explained below: 1. The source channel forces the Start value, and the monitor channel executes a measurement. 2. The source channel forces the Start+D/2 value (or Start-D/2 if Start>Stop), and the monitor channel executes a measurement.
  • Page 220: Bssi

    Command Reference Command Reference BSSI The BSSI command specifies and sets the synchronous current source for the binary search measurement. The synchronous source output will be: Synchronous source output = polarity × BSI source output + offset where BSI source output means the output set by the BSI command. This command setting is cleared by the BSV/BSI command.
  • Page 221: Bssv

    Command Reference Command Reference BSSV The BSSV command specifies the synchronous voltage source for the binary search measurement. The synchronous source output will be: Synchronous source output = polarity × BSV source output + offset where BSV source output means the output set by the BSV command. This command setting is cleared by the BSI/BSV command.
  • Page 222: Bst

    Command Reference Command Reference The BST command sets the hold time and delay time for the binary search measurement. If you do not enter this command, all parameters are set to 0. Syntax BST hold,delay Parameters hold : Hold time (in seconds) that is the wait time after starting the search measurement and before starting the delay time for the first search point.
  • Page 223: Bsv

    Command Reference Command Reference The BSV command specifies and sets the voltage search source for the binary search measurement. This command setting is cleared by the BSI command. After search stops, the search channel forces the value specified by the BSM command. Syntax BSV chnum,range,start,stop[,Icomp] Parameters...
  • Page 224: Bsvm

    Command Reference Command Reference BSVM The BSVM command selects the data output mode for the binary search measurement. Syntax BSVM mode Parameters mode : Data output mode. Integer expression. 0 : Returns Data_search only (initial setting). 1 : Returns Data_search and Data_sense. where Data_search is the value forced by the search output channel set by the BSV or BSI command.
  • Page 225 Command Reference Command Reference The CA command performs the self-calibration. Modules that fail the self-calibration are disabled, and can only be enabled by the RCV command. After the CA command, enter the *OPC? command to confirm that the command execution is completed. Execution No channel may be in the HIGH VOLTAGE state (forcing more than ±42 V, or Conditions...
  • Page 226: Cal

    Command Reference Command Reference *CAL? The CAL? query command performs the self-calibration, and returns the results in ASCII format. Modules that fail the self-calibration are disabled, and can only be enabled by the RCV command. After the *CAL? command, read the results soon. Execution No module may be in the HIGH VOLTAGE state (forcing more than ±42 V, or Conditions...
  • Page 227 Command Reference Command Reference The CL command disables the specified channels by setting the output switches to OFF. Then the channel output is opened, and the power consumption is 0 W. Execution No channel may be in the HIGH VOLTAGE state (forcing more than ±42 V, or Conditions voltage compliance set to more than ±42 V).
  • Page 228 Command Reference Command Reference The CM command sets the auto-calibration function to ON or OFF. If the following two conditions are satisfied, the E5260/E5270 automatically calibrates all channels every 30 minutes. • Auto-calibration is ON • Output switches of all channels have been OFF for 30 minutes Syntax CM mode Parameters...
  • Page 229: Cmm

    Command Reference Command Reference The CMM command sets the SMU measurement operation mode. This command is not available for the high speed spot measurement. Syntax CMM chnum,mode Parameters chnum : Channel number. The value must be slot number where the module has been installed.
  • Page 230 Command Reference Command Reference This command enables the specified channels by setting the output switches to ON. Then the power consumption is 0 W. WARNING SETTING THE OUTPUT SWITCH TO "ON" ENABLES THE CHANNEL TO FORCE DANGEROUS VOLTAGES. WHEN THE CHANNEL IS NOT IN USE, SET THE OUTPUT SWITCH TO "OFF"...
  • Page 231: Dfm

    Command Reference Command Reference The DFM command selects the data display format on the front panel LCD. The *RST command or the device clear selects scientific. Syntax DFM format Parameters format : Data display format. Integer expression. format Description Engineering. +/−...
  • Page 232 Command Reference Command Reference The DI command forces current from the specified channel. Execution The CN command has been executed for the specified channel. Conditions If the voltage compliance is greater than ±42 V, the interlock circuit must be shorted. Syntax DI chnum,irange,current[,Vcomp[,comp_polarity[,vrange]]] Parameters...
  • Page 233: Diag

    Command Reference Command Reference DIAG? The DIAG? command starts the diagnostics, and returns the results in ASCII format. Before starting the diagnostics, refer to Remarks below. After the DIAG? command, read the results soon. Syntax DIAG? item[,pause] Parameters item : Diagnostics item.
  • Page 234 Command Reference Command Reference Remarks • Before starting the trigger in/out diagnostics, connect a BNC cable between the Ext Trig In and Out connectors. • After starting the front panel key diagnostics, press any key and confirm that the key name is displayed. Repeat this for all keys. If all response was good, press the key twice to stop.
  • Page 235 Command Reference Command Reference The DV command forces output voltage from the specified channel. Execution The CN command has been executed for the specified channel. Conditions If the output voltage is greater than ±42 V, the interlock circuit must be shorted. Syntax DV chnum,vrange,voltage[,Icomp[,comp_polarity[,irange]] Parameters...
  • Page 236 Command Reference Command Reference The DZ command stores the settings (V/I output values, V/I output ranges, V/I compliance values, and series resistor setting) of the specified channels, and sets the channels to 0 V. The settings can be recovered by using the RZ command. The stored settings are cleared by using a device clear (HP BASIC CLEAR) command, *RST, RZ, CL, CA, or *TST?.
  • Page 237: Emg

    Command Reference Command Reference EMG? The EMG? query command returns error message corresponding to the specified error code. Syntax EMG? errcode Parameters errcode : Error code returned by the ERR? command. Numeric expression. Query Response Error message <CR/LF^EOI> For the error codes and error messages, refer to Chapter 5, “Error Messages.”...
  • Page 238: Erc

    Command Reference Command Reference The ERC command changes the output status of the digital I/O port. This command does not change the status of the trigger ports and the input ports set by the ERM command. The *RST command or the device clear sets the digital I/O port (total 16 paths) to the output port, and sets the port output level to TTL high.
  • Page 239: Erm

    Command Reference Command Reference The ERM command changes the input/output assignments of the digital I/O port (total 16 paths). This command does not change the trigger port assignments and settings. The *RST command or the device clear sets the digital I/O port to the output port, and sets the port output level to TTL high.
  • Page 240: Err

    Command Reference Command Reference ERR? The ERR? query command returns error codes from the E5260/E5270 error register to the output data buffer (query buffer). This command clears the error register. Syntax ERR? [ mode Parameters mode : Error code output mode. Integer expression. 0 (default setting) or 1. 0: Returns up to four error codes in order from their occurrence.
  • Page 241: Ers

    Command Reference Command Reference ERS? The ERS? command returns the status of the digital I/O port (16 paths). Syntax ERS? Query Response pattern <CR/LF^EOI> pattern returns the decimal value of the port status. The status of each port is designated by 0 or 1 that has the following meaning: 0: TTL high level (approx.
  • Page 242 Command Reference Command Reference This command sets the connection mode of a filter for each channel. A filter is mounted on each module. It assures clean source output with no spikes or overshooting. Syntax FL mode[,chnum[,chnum...[,chnum]...]] A maximum of eight channels can be set. Parameters mode : Status of the filter.
  • Page 243: Fmt

    Command Reference Command Reference The FMT command clears the E5260/E5270 output data buffer, and specifies the data output format and the data terminator. For details about data output format, see “Data Output Format” on page 1-22. Query command output data is always stored in the query buffer in ASCII format, regardless of this command.
  • Page 244 Command Reference Command Reference Table 4-11 FMT format parameter format Data format Terminator ASCII (12 digits data with header) <CR/LF^EOI> ASCII (12 digits data without header) <CR/LF^EOI> binary <CR/LF^EOI> binary <^EOI> ASCII (12 digits data with header) ASCII (13 digits data with header) <CR/LF^EOI>...
  • Page 245: Idn

    Command Reference Command Reference *IDN? The *IDN? query command returns the instrument model number and the ROM version number, then stores the results in the output data buffer (query buffer). Syntax *IDN? Query Response Agilent Technologies,model,0,ROM rev <CR/LF^EOI> Response Explanation model E5260A, E5262A, E5263A, or E5270B ROM rev...
  • Page 246 Command Reference Command Reference The IN command sets the specified channel to 0 V with an output range change. Syntax IN [chnum[,chnum...[,chnum]...]] A maximum of eight channels can be set. Parameters chnum : Channel number. The value must be slot number where the module has been installed.
  • Page 247: Klc

    Command Reference Command Reference The KLC command locks or unlocks the front panel keys. The *RST command or the device clear unlocks the front panel keys. Syntax KLC mode Parameters mode : Front panel key lock or unlock. Integer expression. 0: Unlock.
  • Page 248 Command Reference Command Reference The LGI command specifies the current monitor channel and its search parameters for the linear search measurement. This command ignores the RI command setting. This command setting is cleared by the LGV command. Syntax LGI chnum,mode,range,target Parameters chnum : Search monitor channel number.
  • Page 249 Command Reference Command Reference The LGV command specifies the voltage monitor channel and its search parameters for the linear search measurement. This command ignores the RV command setting. This command setting is cleared by the LGI command. Syntax LGV chnum,mode,range,target Parameters chnum : Search monitor channel number.
  • Page 250 Command Reference Command Reference LOP? The LOP? query command returns the operation status of all modules and stores the results in the output data buffer (query buffer). Syntax LOP? Query Response For E5262A/E5263A: LOPstat1,stat2 <CR/LF^EOI> For E5260A/E5270B: LOPstat1,stat2,stat3,stat4,stat5,stat6,stat7,stat8 <CR/LF^EOI> The variables stat1 to stat8 will indicate the status of the module installed in the slot 1 to 8 respectively, and will be the two-digit status code shown in the following table.
  • Page 251 Command Reference Command Reference *LRN? The *LRN? (learn) query command returns information about the channel settings or the E5260/E5270 command parameter settings, and stores the results in the E5260/E5270 output data buffer (query buffer). Syntax *LRN? type Example DIM A$[200] Statements OUTPUT @E5270;"*LRN? 1"...
  • Page 252 Command Reference Command Reference 30 : Returns the filter ON/OFF status: FL0 [off ch[,off ch . . . [,off ch] . . . ]; FL1 [on ch[,on ch . . . [,on ch] . . ] <CR/LF^EOI> If all modules are Filter OFF, the query response is: FL0<CR/LF^EOI>...
  • Page 253 Command Reference Command Reference 37 : Returns the quasi-pulsed source settings: BDM detection interval[,mode]; BDT hold time,delay time [;BDV chnum,range,start,stop[,Icomp]]<CR/LF^EOI> 38 : Returns the digital I/O port information: ERM input pin;ERC2,value <CR/LF^EOI> 39 : Not used. 40 : Returns channel mapping information: If multiple channel numbers are translated to another numbers.
  • Page 254 Command Reference Command Reference 51 : Returns the binary search measurement settings: BSM mode,past;BST hold,delay;BSVM mode [;BGI chnum,mode,condition,Irange,Itarget] or [;BGV chnum,mode,condition,Vrange,Vtarget] [;BSV chnum,range,start,stop[,Icomp]] or [;BSI chnum,range,start,stop[,Vcomp]] [;BSSV chnum,polarity,offset[,Icomp]] or [;BSSI chnum,polarity,offset[,Vcomp]] <CR/LF^EOI> 52 : Not used. 53 : Returns the SMU series resistor ON/OFF status: SSR chnum,mode [;SSR chnum,mode] [;SSR chnum,mode]<CR/LF^EOI>...
  • Page 255 Command Reference Command Reference 58 : Returns the trigger settings: [TGP port,terminal,polarity,type] [;TGP port,terminal,polarity,type] [;TGP port,terminal,polarity,type] TGSI mode;TGXO mode;TGSO mode;TGMO mode<CR/LF^EOI> 59 : Returns the multi channel sweep source settings: WNX n,chnum,mode,range,start,stop[,comp[,pcomp]] [;WNX n,chnum,mode,range,start,stop[,comp[,pcomp]]] [;WNX n,chnum,mode,range,start,stop[,comp[,pcomp]]] <CR/LF^EOI> If no multi channel sweep source is set, the query response is: WNX<CR/LF^EOI>...
  • Page 256 Command Reference Command Reference 63 : Available only for the Keysight E5270B with HRSMU and ASU. Returns the 1 pA auto ranging operation mode: SAR chnum,mode [;SAR chnum,mode] [;SAR chnum,mode]<CR/LF^EOI> If no channel is connected to ASU. SAR<CR/LF^EOI> 64 : Available only for the Keysight E5270B with HRSMU and ASU.
  • Page 257 Command Reference Command Reference The LSI command specifies and sets the current search source for the linear search measurement. This command setting is cleared by the LSV command. After search stops, the search channel forces the value specified by the LSM command. Syntax LSI chnum,range,start,stop,step[,Vcomp] Parameters...
  • Page 258 Command Reference Command Reference The LSM command enables or disables the automatic abort function for the linear search measurement (MM14). The automatic abort function stops the measurement when one of the following conditions occurs: • Compliance on the measurement channel •...
  • Page 259 Command Reference Command Reference LSSI The LSSI command specifies and sets the synchronous current source for the linear search measurement. The synchronous source output will be: Synchronous source output = polarity × LSI source output + offset where the LSI source output is the output set by the LSI command. This command setting is cleared by the LSV/LSI command.
  • Page 260 Command Reference Command Reference LSSV The LSSV command specifies and sets the synchronous voltage source for the linear search measurement. The synchronous source output will be: Synchronous source output = polarity × LSV source output + offset where the LSV source output is the value set by the LSV command. This command setting is cleared by the LSI/LSV command.
  • Page 261 Command Reference Command Reference LST? The LST? query command stores a catalog of internal memory programs or a specific program listing in the output data buffer (query buffer) of the E5260/E5270. Syntax LST? [pnum[,index[,size Parameters pnum : Memory program number. Numeric expression. 0 to 2000. If you do not specify the value, 0 is set.
  • Page 262 Command Reference Command Reference stored command (ST pnum) to the 3000th stored command. If the number of commands are less than 3000, the LST? command reads the commands from ST to END. See Example Statements that show an HP BASIC programming example. Example Example of LST? : Statements...
  • Page 263 Command Reference Command Reference LSTM The LSTM command sets the timing parameters for the linear search measurement. If you do not enter this command, all parameters are set to 0. Syntax LSTM hold,delay Parameters hold : Hold time (in seconds) that is the wait time after starting the search measurement and before starting the delay time for the first search point.
  • Page 264 Command Reference Command Reference The LSV command specifies and sets the voltage search source for the linear search measurement. This command setting is cleared by the LSI command. After search stops, the search channel forces the value specified by the LSM command. Syntax LSV chnum,range,start,stop,step[,Icomp] Parameters...
  • Page 265 Command Reference Command Reference LSVM The LSVM command selects the data output mode for the linear search measurement. Syntax LSVM mode Parameters mode : Data output mode. Integer expression. 0 (initial setting) or 1. 0 : Returns Data_search only. 1 : Returns Data_search and Data_sense. where Data_search is the value forced by the search output channel set by the LSV or LSI command.
  • Page 266 Command Reference Command Reference The MM command specifies the measurement mode and the channels used for measurements. This command must be entered to specify the measurement mode. For the high speed spot measurements, do not enter the MM command. Syntax •...
  • Page 267 Command Reference Command Reference Remarks The SMU operation mode is defined by the CMM command. The measurement range is defined by the RI or RV command for the measurements except for the search measurement. To execute the measurement, enter the XE command. For the spot and staircase sweep measurements, if you use multiple measurement channels, the channels start measurement in the order defined in the MM command.
  • Page 268 Command Reference Command Reference Example OUTPUT @E5270;"MPA 2" Statements 4- 84 Keysight E5260/E5270 Programming Guide, Edition 4...
  • Page 269 Command Reference Command Reference NUB? The NUB? query command checks the number of measurement data in the output data buffer, and stores the results in the output data buffer (query buffer). Syntax NUB? Query Response Number of measurement data<CR/LF^EOI> Example OUTPUT @E5270;"NUB?"...
  • Page 270 Command Reference Command Reference The OS command causes the E5260/E5270 to send a edge trigger from the Ext Trig Out terminal. To set the trigger logic (initial value: negative), send the TGP command for the Ext Trig Out terminal. Syntax Example OUTPUT @E5270;"OS"...
  • Page 271 Command Reference Command Reference The PA command pauses the command execution or internal memory program execution, until the specified wait time has elapsed or until an event specified by the TM command is received. The event set by the TM command only releases the paused status.
  • Page 272 Command Reference Command Reference The PAX command pauses the command execution or internal memory program execution, until the specified wait time has elapsed or until an event specified by the TM command is received. The event set by the TM command only releases the paused status.
  • Page 273 Command Reference Command Reference The PI command specifies the pulse current source and its parameters. This command also clears, and is cleared by, the PV command setting. In the staircase sweep with pulsed bias measurement mode (set by the MM 5 command), the output forced by the PI command synchronized with the staircase sweep outputs forced by the WI or WV command.
  • Page 274 Command Reference Command Reference The PT command sets the hold time, pulse width, and pulse period for a pulse source set by the PI, PV, PWI or PWV command. This command also sets the trigger delay time. Measurement channel performs measurement so that the pulse width and pulse period are kept.
  • Page 275 Command Reference Command Reference The PV command specifies the pulsed voltage source and its parameters. This command also clears, and is cleared by, the PI command setting. In the staircase sweep with pulsed bias measurement mode (MM 5 command), the output forced by the PV command synchronized with the staircase sweep outputs forced by the WI or WV command.
  • Page 276 Command Reference Command Reference The PWI command specifies the pulsed sweep current source and its parameters. This command clears the settings of the PWV, WSV and WSI commands. The settings specified by this command are cleared by the PWV command. Measurement channel performs measurement so that the pulse width and pulse period are kept.
  • Page 277 Command Reference Command Reference Example OUTPUT @E5270;"PT 1,0.01" Statements OUTPUT @E5270;"PWI 1,1,0,0,0,0.1,101" OUTPUT @E5270;"PT 1,0.01" OUTPUT @E5270;"PWI 2,3,13,0,1E-7,1E-2,100,10" Keysight E5260/E5270 Programming Guide, Edition 4 4- 93...
  • Page 278 Command Reference Command Reference The PWV command specifies the pulsed sweep voltage source and its parameters. This command also clears the settings of the PWI, WSV and WSI commands. The settings specified by this command are cleared by the PWI command. Measurement channel performs measurement so that the pulse width and pulse period are kept.
  • Page 279 Command Reference Command Reference Example OUTPUT @E5270;"PT 1,0.01" Statements OUTPUT @E5270;"PWV 1,1,0,0,0,10,101" OUTPUT @E5270;"PT 1,0.01" OUTPUT @E5270;"PWV 2,3,14,0,1,10,100,0.1" Keysight E5260/E5270 Programming Guide, Edition 4 4- 95...
  • Page 280 Command Reference Command Reference The RCV command enables the modules that fail the self-test or self-calibration so that it can receive commands again. After the RCV command, enter the *OPC? command to confirm that the command execution is completed. This command should only be used for servicing the E5260/E5270. Syntax RCV [slotnum] Parameters...
  • Page 281 Command Reference Command Reference The RI command specifies the current measurement range or ranging type. In the initial setting, the auto ranging is set. The range changing occurs immediately after the trigger (that is, during the measurements). Current measurement channel can be decided by the CMM command setting and the channel output mode (voltage or current).
  • Page 282 Command Reference Command Reference This command specifies the auto range operation for the current measurement. Syntax RM chnum,mode[,rate where the rate parameter is available for mode=2 or 3. Parameters chnum : Current measurement channel number. The value must be slot number where the module has been installed.
  • Page 283 Command Reference Command Reference *RST The *RST command resets the E5260/E5270 to the initial settings. This command does not clear the program memory and the self calibration data. Syntax *RST Remarks If you want to reset channels while a sweep measurement is being performed, you must first send the AB command, then the *RST command.
  • Page 284 Command Reference Command Reference The RV command specifies the voltage measurement range or ranging type. In the initial setting, the auto ranging is set. The range changing occurs immediately after the trigger (that is, during the measurements). Voltage measurement channel can be decided by the CMM command setting and the channel output mode (voltage or current).
  • Page 285 Command Reference Command Reference The RZ command returns the channel to the settings that are stored by the DZ command and clears the stored settings. The DZ command stores the channel settings (V/I output values, V/I output ranges, V/I compliance values, and series resistor setting), then sets the channel to 0 V. Execution The DZ command has been executed for the specified channel.
  • Page 286 Command Reference Command Reference The Keysight E5260 series does not support this command. This command is available for the Keysight E5270B installed with the high resolution SMU (HRSMU) and the Atto Sense and Switch Unit (ASU). Disables or enables the connection status indicator (LED) of the ASU. This command is effective for the specified channel.
  • Page 287 Remember that the series resistor in the HRSMU connected to the ASU cannot be used. The Keysight E5260 series does not support this command. This command is available for the Keysight E5270B installed with the high resolution SMU (HRSMU) and the Atto Sense and Switch Unit (ASU).
  • Page 288 Command Reference Command Reference The SCH command selects the source channel for the data is displayed on the front panel LCD. Syntax SCH chnum Parameters chnum : Source channel number. The value must be slot number where the module has been installed. Integer expression. 1 to 8 (1 and 5 are not available for HPSMU).
  • Page 289 Command Reference Command Reference The SPA command selects the parameter displayed in the source data display area on the front panel LCD. The *RST command or the device clear sets the source force value in the first line and the source compliance value in the second line. Syntax SPA line,item Parameters...
  • Page 290 Command Reference Command Reference *SRE The *SRE command enables the specified bits of the status byte register for SRQ (service requests), and masks (disables) the bits that are not specified. Syntax *SRE bit Parameters bit : Sum of the decimal values corresponding to the bits to be enabled. Integer expression.
  • Page 291 Command Reference Command Reference *SRE? The *SRE? query command returns information about which bits of the status byte register are enabled for the SRQ (service requests), and stores the results in the output data buffer (query buffer). Syntax *SRE? Query Response enabled_bits<CR/LF^EOI>...
  • Page 292 Command Reference Command Reference This command sets the connection mode of a series resistor (approx. 1 MΩ) for each channel. If the output switch is opened, the SSR command just sets the mode, and the CN command connects or disconnects the series resistor. If the output switch is already closed, the SSR command connects the series resistor to the SMU output.
  • Page 293 Command Reference Command Reference The ST command is used with the END command to store a program in the internal program memory that can store 2,000 programs maximum, and a total of 40,000 commands. The ST command indicates the start of the program, and assigns the program number.
  • Page 294 Command Reference Command Reference *STB? The *STB? query command stores the decimal representation of the status byte in the output data buffer (query buffer). The *STB? command is functionally identical to the SPOLL command of BASIC, however this command does not clear the status byte (the SPOLL command clears the status byte).
  • Page 295 Command Reference Command Reference Forces current and returns the time data from when the timer is cleared until output is started. This command is effective for ASCII data output format. Refer to “FMT” on page 4-59. Execution The CN command has been executed for the specified channel. Conditions If the voltage compliance is greater than ±42 V, the interlock circuit must be shorted.
  • Page 296 Command Reference Command Reference Forces voltage and returns the time data from when the timer is cleared until output is started. This command is effective for ASCII data output format. Refer to “FMT” on page 4-59. Execution The CN command has been executed for the specified channel. Conditions If the output voltage is greater than ±42 V, the interlock circuit must be shorted.
  • Page 297 Command Reference Command Reference TGMO The TGMO command selects the edge trigger or the gate trigger for the Step Measurement Completion trigger output set by the TGP port,2,polarity,3 command. See Figure 4-2. This command is available for the staircase sweep and multi channel sweep measurements.
  • Page 298 Command Reference Command Reference The TGP command enables the trigger function for the terminal specified by the port parameter. For the trigger function, refer to “Trigger Function” on page 2-30. Syntax TGP port,terminal,polarity[,type] Parameters port : Trigger port number. Integer expression. -1, -2, or 1 to 16. -1: Ext Trig In terminal.
  • Page 299 Command Reference Command Reference Table 4-12 Trigger Type type terminal Description When a trigger is received, the E5260/E5270 recovers from the wait state set by the PA, PAX, WS, or WSX command. The E5260/E5270 sends a trigger by the OS or OSX command. Start measurement trigger When a trigger is received, the E5260/E5270 starts the measurement.
  • Page 300 Command Reference Command Reference TGPC The TGPC command clears the trigger setting of the specified ports. Syntax TGPC [port[,port...[,port]...]] A maximum of 18 ports can be set. If no port is specified, the TGPC command clears the setting of the all ports; Ext Trig In, Ext Trig Out, and digital I/O ports 1 to Parameters port : Trigger port number.
  • Page 301 Command Reference Command Reference TGSI The TGSI command selects Case 1 or Case 2 effective for the Start Step Output Setup trigger input set by the TGP port,1,polarity,2 command. This command is available for the staircase sweep, pulsed spot, pulsed sweep, staircase sweep with pulsed bias, and multi channel sweep measurements.
  • Page 302 Command Reference Command Reference TGSO The TGSO command selects the edge trigger or the gate trigger for the Step Output Setup Completion trigger output set by the TGP port,2,polarity,2 command. See Figure 4-2 on page 4-113 This command is available for the staircase sweep, pulsed spot, pulsed sweep, staircase sweep with pulsed bias, and multi channel sweep measurements.
  • Page 303 Command Reference Command Reference The TI command performs the high speed spot measurement, and returns the measurement data. The command starts a current measurement regardless of the SMU operation mode, trigger mode (TM command), and measurement mode (MM command). Execution CN command has been executed for the specified channel.
  • Page 304 Command Reference Command Reference The TM command specifies how events are effective for the following actions: • Releasing the E5260/E5270 from the paused status set by the PA or PAX command • Starting the measurement except for high speed spot measurement (when the E5260/E5270 is not in the paused status set by the PA, PAX, WS, or WSX command) Syntax...
  • Page 305 Command Reference Command Reference The TSC command enables or disables the time stamp function. This command is effective for ASCII data output format. Refer to “FMT” on page 4-59. Execution Time stamp function is not available for the following measurement modes: Conditions •...
  • Page 306 Command Reference Command Reference The TSQ command returns the time data from when the TSR command is sent until this command is sent. The time data will be put in the data output buffer as same as the measurement data. This command is effective for all measurement modes, regardless of the TSC setting.
  • Page 307 Command Reference Command Reference *TST? The *TST? query command performs the self-test and self-calibration, and returns the results in ASCII format. Modules that fail the self-test are disabled, and can only be enabled by the RCV command. After the *TST? command, read the results soon. Execution No module may be in the HIGH VOLTAGE state (forcing more than ±42 V, or Conditions...
  • Page 308 Command Reference Command Reference The TTI command performs the high speed spot measurement, and returns the measurement data and the time data for the time from when the timer is cleared until the measurement is started. The command starts a current measurement regardless of the SMU operation mode, trigger mode (TM command), and measurement mode (MM command).
  • Page 309 Command Reference Command Reference To read the time data with the best resolution (100 μs), the timer must be cleared Remarks every 100 sec or less for the FMT1, 2, or 5 data output format, or every 1000 sec or less for the FMT 11, 12, 15, 21, 22, or 25 data output format. Example OUTPUT @E5270;"TTI 1"...
  • Page 310 Command Reference Command Reference The TTV command performs the high speed spot measurement, and returns the measurement data and the time data for the time from when the timer is cleared until the measurement is started. The command starts a voltage measurement regardless of the SMU operation mode, trigger mode (TM command), and measurement mode (MM command).
  • Page 311 Command Reference Command Reference The TV command performs the high speed spot measurement, and returns the measurement data. The command starts a voltage measurement regardless of the SMU operation mode, trigger mode (TM command), and measurement mode (MM command). Execution CN command has been executed for the specified channel.
  • Page 312 Command Reference Command Reference UNT? This query command returns the model and revision numbers of all modules in the E5260/E5270, and stores the results in the E5260/E5270 output data buffer (query buffer). Syntax UNT? [mode] Parameters mode : Response type. Integer expression. 0: Returns information for all modules.
  • Page 313 Command Reference Command Reference This command defines the Keysight E5260/E5270 internal variable, and sets the value. The variable name is automatically assigned by using the parameters you specify. Syntax VAR type,n,value Parameters type : Variable type. Integer expression. 0 or 1. 0: Integer variable.
  • Page 314 Command Reference Command Reference This command sets the source wait time and the measurement wait time as shown in Figure 4-4. The wait time is given by the following formula: wait time = N × initial wait time + offset where initial wait time is the time the Keysight E5260/E5270 initially sets and you cannot change.
  • Page 315 Command Reference Command Reference NOTE It is not easy to determine the best wait time. If you specify it too short, the measurement may start before device characteristics stable. If too long, time will be wasted. The initial wait time may be too short for measurements of high capacitance or slow response devices.
  • Page 316 Command Reference Command Reference The WI command specifies the staircase sweep current source and its parameters. This command also clears the WV, WSV, WSI, and WNX command settings. This command setting is cleared by the WV command. Syntax • For Staircase Sweep Measurement: WI chnum,mode,range,start,stop,step[,Vcomp[,Pcomp]] •...
  • Page 317 Command Reference Command Reference step : Number of steps for staircase sweep. Numeric expression. 1 to 1001. The E5260/E5270 can store approximately 16000 measurement data in ASCII format with header without source data, or approximately 64000 measurement data in binary format. Vcomp : Voltage compliance (in V).
  • Page 318 Command Reference Command Reference The WM command enables or disables the automatic abort function for the staircase sweep sources and the pulsed sweep source. The automatic abort function stops the measurement when one of the following conditions occurs: • Compliance on the measurement channel •...
  • Page 319 Command Reference Command Reference WNU? The WNU? query command returns the number of sweep steps specified by the sweep command (WI, WV, PWI or PWV), and stores the results in the output data buffer (query buffer). Execution If you want to know the number of steps for a pulsed sweep, you must execute an Conditions “MM 4”...
  • Page 320 Command Reference Command Reference The WNX command specifies the staircase sweep source (synchronous sweep source) that will be synchronized with the staircase sweep source (primary sweep source) set by the WI or WV command. You can use the maximum of eight sweep sources. There is no restrictions for the output mode (voltage or current) of the sweep sources.
  • Page 321 Command Reference Command Reference • For current source (mode=2): See Table 4-5 on page 4-13. For the linear sweep, the E5260/E5270 uses the minimum range that covers both start and stop values to force the staircase sweep current. For the log sweep, the E5260/E5270 changes the output range dynamically.
  • Page 322 Command Reference Command Reference Remarks To set multiple sweep sources, enter the WI or WV command at first, and enter the WNX command once or more. Then the N value and the chnum value must be unique for each WNX command. If you set the value used to the previous command, the previous command setting is cleared, and the last command setting is effective.
  • Page 323 Command Reference Command Reference The WS command causes the E5260/E5270 to enter a wait state until the E5260/E5270 receives an external trigger from the Ext Trig In terminal. To set the trigger logic (initial value: negative), send the TGP command for the Ext Trig In terminal.
  • Page 324 Command Reference Command Reference The WSI command specifies the staircase sweep current source (synchronous sweep source) that will be synchronized with the staircase sweep current source (primary sweep source) set by the WI command, or the pulsed sweep current source (primary sweep source) set by the PWI command.
  • Page 325 Command Reference Command Reference If you set Pcomp, the maximum Vcomp value for the module is allowed, regardless of the output range setting. For the log sweep and without Pcomp, set the value available for the minimum range that covers start and stop values. Pcomp : Power compliance (in W).
  • Page 326 Command Reference Command Reference The WSV command specifies the staircase sweep voltage source (synchronous sweep source) that will be synchronized with the staircase sweep voltage source (primary sweep source) set by the WV command, or the pulsed sweep voltage source (primary sweep source) set by the PWV command. Execution Available for the staircase sweep (MM 2), pulsed sweep (MM 4), or staircase sweep Conditions...
  • Page 327 Command Reference Command Reference If you set Pcomp, the maximum Icomp value for the module is allowed, regardless of the output range setting. Pcomp : Power compliance (in W). Numeric expression. Resolution: 0.001 W. If the Pcomp value is not entered, the power compliance is not set. 0.001 to 2, 0.001 to 4 for E5291A, or 0.001 to 20 for E5280B/E5290A Example OUTPUT @E5270;"WSV 1,0,1,100,0.01,1"...
  • Page 328 Command Reference Command Reference The WSX command causes the E5260/E5270 to enter a wait state until the E5260/E5270 receives an external trigger from a trigger input terminal specified by the port parameter. To set the trigger logic (initial value: negative), send the TGP command for the specified terminal.
  • Page 329 Command Reference Command Reference The WT command sets the hold time, delay time, and step delay time for the staircase sweep or multi channel sweep measurement. This command is also used to set the step source trigger delay time effective for the step output setup completion trigger and the step measurement trigger delay time effective for the start step measurement trigger.
  • Page 330 Command Reference Command Reference Tdelay : Step source trigger delay time (in seconds) that is the wait time after completing a step output setup and before sending a step output setup completion trigger. Numeric expression. 0 to delay, with 0.1 ms resolution. If this parameter is not specified, Tdelay is set to 0.
  • Page 331 Command Reference Command Reference The WV command specifies the staircase sweep voltage source and its parameters. This command also clears the WI, WSI, WSV, and WNX command settings. This command setting is cleared by the WI command. Syntax • For Staircase Sweep Measurement: WV chnum,mode,range,start,stop,step[,Icomp[,Pcomp]] •...
  • Page 332 Command Reference Command Reference step : Number of steps for staircase sweep. Numeric expression. 1 to 1001. The E5260/E5270 can store approximately 16000 measurement data in ASCII format with header without source data, or approximately 64000 measurement data in binary format. Icomp : Current compliance (in A).
  • Page 333 Command Reference Command Reference This query command immediately confirms the all channel output, and returns the status 0 if it is within ±2 V or 1 if it is more than ±2 V. Syntax WZ? [timeout] Parameters timeout : Timeout. Numeric expression. 0 to 655.35 sec, with 0.01 sec resolution.
  • Page 334 Command Reference Command Reference The XE command triggers the E5260/E5270 to start measurement, or causes the E5260/E5270 to recover from the wait state set by the PA command. This command is not available for the high-speed spot measurement. NOTE After measurement, the measurement data will be entered to the output data buffer. For data output format, refer to “Data Output Format”...
  • Page 335 Error Messages...
  • Page 336 “Error Codes” If error occurs, find solutions in the following sections and solve problems. However, if problems still remain, perform self-test. If the E5260/E5270 fails self-test, contact your nearest Keysight Technologies Service Center. 5- 2 Keysight E5260/E5270 Programming Guide, Edition 4...
  • Page 337 Error Messages Channel Status Code Channel Status Code The channel status code indicates the following statuses of the measurement channel, and is displayed in the channel status area on the LCD. No status code is displayed if the Keysight E5260/E5270 is in the normal condition. One or more channels are oscillating.
  • Page 338 Error Messages Error Codes Error Codes If errors occur, error codes are stored in the error buffer. To read the error code, execute the “ERR?” command. To read the error message, execute the “EMG?” command. The output of the error codes is in the order that they occurred, and the first four error codes are stored in the buffer.
  • Page 339 Error Messages Error Codes Pulse base and peak must be same polarity. The polarity of the base and peak values must be the same in the PI command. Also the polarity of the base, start, and stop values must be the same in the PWI command.
  • Page 340 Error Messages Error Codes Internal variable is not allowed. The internal variables %In and %Rn are not available for the ACH, VAR, and VAR? commands. Do not use the internal variables for the commands. Channel output switch must be ON. To enter the specified command, set the channel output switch to ON.
  • Page 341 Error Messages Error Codes TM1 must be sent to use GET. Send the TM1 command to use the GPIB GET command (TRIGGER statement in HP BASIC). Compliance must be set correctly. Compliance was not set or an incorrect compliance value was set in the DV, DI, PV, PI, PWV, PWI, TDV, TDI, LSV, LSI, LSSV, LSSI, BSV, BSI, BSSV, or BSSI command.
  • Page 342 Error Messages Error Codes Send WSV, WSI, or WNX to get sync sweep data. If you enable data output of the synchronous sweep source, do not forget to set the synchronous sweep source by the WSV, WSI, or WNX command. For data output, refer to “FMT”...
  • Page 343 Error Messages Error Codes Data output buffer is full. Maximum 34034 measurement data items can be stored in the data output buffer. Search source channel must be set. Before triggering the search measurement or sending the LSSV, LSSI, BSSV, or BSSI command to set the synchronous search source, send the LSV, LSI, BSV, or BSI command to set the primary search source.
  • Page 344 Error Messages Error Codes Excess voltage in MPSMU. Voltage that exceeds maximum voltage at the present current range was detected by a MPSMU. All output switches were set to OFF. Excess current in HPSMU. Current that exceeds maximum current at the present voltage range was detected by a HPSMU.
  • Page 345 Error Messages Error Codes Specify trigger output port for OSX. No trigger output port was specified for the OSX command. Specify the trigger output port, or set the port as the trigger output port. Refer to “TGP” on page 4-114 to set trigger port.
  • Page 346 Error Messages Error Codes Self-test/Calibration Error When the Keysight E5260/E5270 fails the self-test or self-calibration, the Keysight E5260/E5270 returns the following error code and error message. In the error code, N indicates the slot number. If the module is installed in slot 1, and it fails the function test, the error code will be 1760.
  • Page 347 Error Messages Error Codes N760 SMU failed function test. N761 SMU failed VF/VM function test. N762 SMU failed IF/IM function test. N763 SMU failed loop status test. N764 SMU failed temperature sensor test. N765 SMU failed CMR amplifier calibration. N766 SMU failed CMR amplifier adjustment.
  • Page 348 Error Messages Error Codes N789 SMU failed high voltage detector test. N790 SMU failed zero voltage detector test. N791 SMU failed V hold test. N792 SMU failed V switch test. 5- 14 Keysight E5260/E5270 Programming Guide, Edition 4...
  • Page 350 This information is subject to change without notice. © Keysight Technologies 2004, 2007, 2008, 2014 Edition 4, October 2014 *E5260-90010* E5260-90010 www.keysight.com...

This manual is also suitable for:

E5270 seriesE5260aE5262aE5263aE5270b

Table of Contents