Keithley 2450 Reference Manual

Keithley 2450 Reference Manual

Interactive sourcemeter instrument
Table of Contents

Advertisement

Quick Links

Model 2450
Interactive SourceMeter
Reference Manual
2450-901-01 Rev. B / September 2013
Test Equipment Depot - 800.517.8431 - 99 Washington Street Melrose, MA 02176 - TestEquipmentDepot.com
*P245090101B*
2450-901-01B
A Gr eat e r M e a s u r e o f Conf idence
Instrument

Advertisement

Table of Contents
loading

Summary of Contents for Keithley 2450

  • Page 1 Interactive SourceMeter Instrument  Reference Manual 2450-901-01 Rev. B / September 2013 Test Equipment Depot - 800.517.8431 - 99 Washington Street Melrose, MA 02176 - TestEquipmentDepot.com *P245090101B* 2450-901-01B A Gr eat e r M e a s u r e o f Conf idence...
  • Page 2 © 2013, Keithley Instruments, Inc. Cleveland, Ohio, U.S.A. All rights reserved. Any unauthorized reproduction, photocopy, or use of the information herein, in whole or in part, without the prior written approval of Keithley Instruments, Inc. is strictly prohibited. ® ® ®...
  • Page 4: Safety Precautions

    Keithley Instruments products are designed for use with electrical signals that are measurement, control, and data I/O connections, with low transient overvoltages, and must not be directly connected to mains voltage or to voltage sources with high transient overvoltages.
  • Page 5 (note that selected parts should be purchased only through Keithley Instruments to maintain accuracy and functionality of the product). If you are unsure about the applicability of a replacement component, call a Keithley Instruments office for information.
  • Page 6: Table Of Contents

    General operation ..................... 2-1 Front-panel overview ......................2-1 Power the instrument on or off ....................2-4 Turning the Model 2450 output on .................... 2-5 Turning the Model 2450 output off .................... 2-6 Rear panel overview ......................2-7 Using the touch-screen interface ..................2-8 Navigating the touch screen ......................
  • Page 7 Table of Contents Model 2450 Interactive SourceMeter® Instrument Reference Manual Test fixtures ..........................2-81 Output-off state ........................2-82 Source-measure overview ....................2-85 Source and measure through the front panel ................2-85 Source and measure using SCPI commands................2-96 Source and measure using TSP commands ................2-97 Protection ...........................
  • Page 8 Terminating scripts on the TSP-Link system ................. 3-123 Triggering using TSP-Link synchronization lines..............3-123 Running simultaneous test scripts ..................3-123 Using Model 2450 TSP-Link commands with other TSP-Link products ........ 3-129 TSP-Net ........................... 3-130 Using TSP-Net with any ethernet-enabled instrument ............3-131 Remote instrument errors......................
  • Page 9 Using guard with a test fixture ....................4-14 Guard circuit drawing ......................4-15 Using the Model 2450 in a custom test fixture or system ..........4-15 Connecting the Model 2450 output to a custom test fixture ............ 4-16 Sink operation ........................4-17 Battery charge and discharge ....................
  • Page 10 Model 2450 Interactive SourceMeter® Instrument Reference Manual Table of Contents SCPI command reference ..................6-1 *RCL ............................6-1 *SAV ............................6-2 :ABORt ............................6-2 :FETCh? ............................ 6-3 :MEASure:<function>? ......................6-4 :READ? ............................. 6-6 CALCulate subsystem ......................6-7 :CALCulate[1]:<function>:MATH:FORMat................. 6-7 :CALCulate[1]:<function>:MATH:MBFactor................6-8 :CALCulate[1]:<function>:MATH:MMFactor ................
  • Page 11 Table of Contents Model 2450 Interactive SourceMeter® Instrument Reference Manual [:SENSe[1]]:<function>:AZERo[:STATe] ................. 6-46 [:SENSe[1]]:<function>:DELay:USER<n> ................6-47 [:SENSe[1]]:<function>:NPLCycles ..................6-48 [:SENSe[1]]:<function>:OCOMpensated ................. 6-49 [:SENSe[1]]:FUNCtion[:ON] ....................6-49 [:SENSe[1]]:<function>:RANGe:AUTO ................... 6-50 [:SENSe[1]]:<function>:RANGe:AUTO:LLIMit ................. 6-51 [:SENSe[1]]:<function>:RANGe:AUTO:ULIMit ................ 6-52 [:SENSe[1]]:<function>:RANGe[:UPPer] ................. 6-53 [:SENSe[1]]:<function>:RELative .................... 6-55 [:SENSe[1]]:<function>:RELative:ACQuire ................
  • Page 12 Model 2450 Interactive SourceMeter® Instrument Reference Manual Table of Contents :SYSTem:ERRor:CODE[:NEXT]? ................... 6-99 :SYSTem:ERRor:COUNt?....................... 6-99 :SYSTem:EVENtlog:COUNt? ....................6-100 :SYSTem:EVENtlog:NEXT? ....................6-101 :SYSTem:EVENtlog:POST....................6-102 :SYSTem:EVENtlog:SAVE ....................6-103 :SYSTem:GPIB:ADDRess..................... 6-104 :SYSTem:LFRequency? ....................... 6-104 :SYSTem:PASSword:NEW ....................6-105 :SYSTem:POSetup ....................... 6-105 :SYSTem:TIME ........................6-106 :SYSTem:VERSion? ......................
  • Page 13 Table of Contents Model 2450 Interactive SourceMeter® Instrument Reference Manual :TRIGger:DIGital<n>:IN:EDGE ....................6-150 :TRIGger:DIGital<n>:IN:OVERrun? ..................6-151 :TRIGger:DIGital<n>:OUT:LOGic ..................6-151 :TRIGger:DIGital<n>:OUT:PULSewidth ................6-152 :TRIGger:DIGital<n>:OUT:STIMulus ..................6-153 :TRIGger:LAN<n>:IN:CLEar....................6-154 :TRIGger:LAN<n>:IN:EDGE....................6-155 :TRIGger:LAN<n>:IN:OVERrun? ..................6-156 :TRIGger:LAN<n>:OUT:CONNect:STATe ................6-157 :TRIGger:LAN<n>:OUT:IP:ADDRess ..................6-158 :TRIGger:LAN<n>:OUT:LOGic ....................6-158 :TRIGger:LAN<n>:OUT:PROTocol ..................
  • Page 14 Model 2450 Interactive SourceMeter® Instrument Reference Manual Table of Contents Memory considerations for the run-time environment ............7-38 Suggestions for increasing the available memory ..............7-39 TSP command reference ..................8-1 TSP command programming notes ..................8-1 TSP syntax rules ........................8-1 Time and date values ........................
  • Page 15 Table of Contents Model 2450 Interactive SourceMeter® Instrument Reference Manual display.readingformat ......................8-51 display.settext() ........................8-52 display.waitevent() ........................8-53 eventlog.clear() ........................8-54 eventlog.getcount() ......................... 8-54 eventlog.next() ........................8-55 eventlog.post() ........................8-56 eventlog.save() ........................8-57 exit() ............................8-57 file.close() ..........................8-58 file.flush()..........................
  • Page 16 Model 2450 Interactive SourceMeter® Instrument Reference Manual Table of Contents smu.measure.filter.count ....................... 8-100 smu.measure.filter.enable ..................... 8-101 smu.measure.filter.type ......................8-102 smu.measure.func ......................... 8-103 smu.measure.limit[Y].autoclear ..................... 8-104 smu.measure.limit[Y].clear()....................8-105 smu.measure.limit[Y].enable ....................8-106 smu.measure.limit[Y].fail ....................... 8-107 smu.measure.limit[Y].high.value ................... 8-109 smu.measure.limit[Y].low.value ..................... 8-110 smu.measure.math.enable ....................8-111 smu.measure.math.format ....................
  • Page 17 Table of Contents Model 2450 Interactive SourceMeter® Instrument Reference Manual status.questionable.condition ....................8-158 status.questionable.enable....................8-158 status.questionable.event ..................... 8-159 status.questionable.getmap() ....................8-159 status.questionable.setmap() ....................8-160 status.request_enable ......................8-160 status.preset() ........................8-162 status.standard.enable ......................8-162 status.standard.event ......................8-164 timer.cleartime() ........................8-165 timer.gettime() ........................8-165 trigger.blender[N].clear() .......................
  • Page 18 Model 2450 Interactive SourceMeter® Instrument Reference Manual Table of Contents trigger.model.setblock() — trigger.BLOCK_DIGITAL_IO ............8-207 trigger.model.setblock() — trigger.BLOCK_LOG_EVENT ............ 8-208 trigger.model.setblock() — trigger.BLOCK_MEASURE ............8-209 trigger.model.setblock() — trigger.BLOCK_NOP ..............8-210 trigger.model.setblock() — trigger.BLOCK_NOTIFY ............. 8-211 trigger.model.setblock() — trigger.BLOCK_SOURCE_OUTPUT .......... 8-212 trigger.model.setblock() —...
  • Page 19 How do I upgrade the firmware? ..................9-7 Where can I find updated drivers? ..................9-7 Why can't the Model 2450 read my USB flash drive?............9-7 How do I download measurements onto the USB drive? ............ 9-8 How do I save the present state of the instrument? ............9-9 Why did my settings change? ....................
  • Page 20 SRQ when a measurement completes ..................C-24 Model 2450 in a Model 2400 application ..............D-1 Introduction .......................... D-1 Using a Model 2450 in an existing Model 2400 application ............D-1 Model 2400 SCPI to Model 2450 SCPI command cross-reference........... D-5 Index ........................Index-1...
  • Page 22: Introduction

    With 0.012 percent basic accuracy at 6½-digit resolution, the Model 2450 delivers 59 readings per second over the IEEE-488 bus. At 4½-digit resolution, it can read up to 1359 readings per second into its internal buffer.
  • Page 23: Cd-Rom Contents

    • Accessories information: Documentation for accessories that are available for the Model 2450. The Test Script Builder Integrated Development Environment CD-ROM contains: The installation files for the Test Script Builder Integrated Development Environment: This software provides an environment in which you can develop and execute a test program, and it gives you the ability to load a test program onto the instrument.
  • Page 24: Organization Of Manual Sections

    • Using the Model 2450 in a Model 2400 application: Provides information on using the Model 2450 as a drop-in replacement for a Model 2400 and information on how to convert Model 2400 SCPI code to Model 2450 SCPI code.
  • Page 25: Capabilities And Features

    Section 1: Introduction Model 2450 Interactive SourceMeter® Instrument Reference Manual Capabilities and features The Model 2450 has the following features: • High-resolution, five-inch touch-screen display with enhanced graphical data visualization and on-screen debug and error histories • Reduced source noise in band (<10 Hz) and wideband (<1 MHz) •...
  • Page 26: General Ratings

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 1: Introduction General ratings The Model 2450 instrument's general ratings and connections are listed in the following table. Category Specification Supply voltage range 100 V to 240 V , 50 Hz or 60 Hz (autosensing at power up)
  • Page 27: Esr?

    Section 1: Introduction Model 2450 Interactive SourceMeter® Instrument Reference Manual 2450-901-01 Rev. B/September 2013...
  • Page 28: General Operation

    Reset the instrument ............2-116 Using the event log .............. 2-117 Front-panel overview The front panel of the Model 2450 is shown below. Descriptions of the controls on the front panel follow the figure. Figure 1: Model 2450 front panel...
  • Page 29 Press the power switch so that it is in the on position (|) to turn the Power switch Model 2450 on. Press the power switch so that it is in the off position (O) to turn it off. Press the HOME key to return the display to the home (default) HOME key screen.
  • Page 30 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 2: General operation Press the EXIT key to return to the previous screen or close a EXIT key dialog box. For example, press the EXIT key when the main menu page is displayed to return to the home screen. When you are viewing a subscreen (for example, the Event Log screen), press the EXIT key to return to the main menu screen.
  • Page 31: Power The Instrument On Or Off

    Follow the procedure below to connect the Model 2450 to line power and turn on the instrument. The Model 2450 operates from a line voltage of 100 V to 240 V at a frequency of 50 Hz or 60 Hz. Line voltage is automatically sensed.
  • Page 32: Turning The Model 2450 Output On

    3. To turn your instrument off, press the front-panel POWER switch to place it in the off (O) position. Turning the Model 2450 output on You can turn the Model 2450 output on from the front panel and by sending remote commands. To turn the output on using the front panel: Press the OUTPUT ON/OFF switch.
  • Page 33: Turning The Model 2450 Output Off

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Turning the Model 2450 output off Turning the Model 2450 output off does not place the instrument in a safe state (an interlock is provided for this function). Hazardous voltages may be present on all output and guard terminals. To prevent electrical shock that could cause injury or death, never make or break connections to the Model 2450 while the instrument is powered on.
  • Page 34: Rear Panel Overview

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 2: General operation Rear panel overview The rear panel of the Model 2450 is shown below; descriptions follow the figure. Figure 3: Model 2450 rear panel These triaxial terminals provide connections for SENSE HI and...
  • Page 35: Using The Touch-Screen Interface

    Reverts the LAN settings and the password for the instrument to LAN reset default values. GPIB connection; the default setting for the Model 2450 is 18. IEEE-488 port Using the touch-screen interface The touch-screen display gives you quick front-panel access to source-measure settings, system configuration, instrument and test status, reading buffer information, and other instrument functionality.
  • Page 36: Navigating The Touch Screen

    The following topics describe each of the Model 2450 screens in more detail. Home screen This is the default screen that you see whenever you turn the Model 2450 on or when you press the HOME key. The following figure shows the home screen with the different areas of the screen numbered.
  • Page 37 Section 2: General operation Model 2450 Interactive SourceMeter® Instrument Reference Manual Screen element Description System status Located at the top of the Home screen, these indicators provide information and event about the present state of the instrument. Some of the indicators open up a indicators dialog box with more information or a settings menu when selected.
  • Page 38: Interactive Swipe Screens

    Section 2: General operation Interactive swipe screens The Model 2450 touch-screen display has multiple screens that you can access by gently swiping left or right on the lower half of the display. The following topics describe each of these screens.
  • Page 39 You can program custom text that will appear on the USER DISPLAY swipe screen. For example, you can program the Model 2450 to show statistics from a source-measure test. For details about using remote commands to program the display, see...
  • Page 40: Status And Error Indicators

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 2: General operation Status and error indicators The indicators across the top of the home screen contain information about the following instrument settings and states. Some of the indicators also provide access to a subset of instrument settings that you can change.
  • Page 41 The name of the new active reading buffer is updated in the indicator bar. The green bar next to the buffer name indicates how full the buffer is. Figure 11: Model 2450 active buffer indicator expanded 2-14...
  • Page 42 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 2: General operation Active script indicator Select this indicator to display a menu of available scripts. Select a script name to run the script. If a script is running, this indicator shows the name of the active script.
  • Page 43 Press the indicator to open a menu of available trigger measurement methods. Press one of the buttons on the menu to change the trigger measurement method. In the figure below, Continuous Measurement is the present trigger operating mode. Figure 13: Model 2450 trigger operating mode indicator Indicator Meaning CONT Continuous measurement.
  • Page 44 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 2: General operation Figure 14: Model 2450 error and message indicator The figure below shows the event log entries for the error message displayed in the figure above. The event log indicator looks different depending on the type of event that has occurred. The following table describes the different icons and what they mean.
  • Page 45: Displayed Error And Status Messages

    Adjusting the backlight brightness and timer You can adjust the brightness of the Model 2450 touch screen display and buttons from the front panel or over a remote interface. You can also set the backlight to dim after a specified period of time has passed with no front-panel activity (available from front panel only).
  • Page 46: Menu Overview

    Display and all indicators off: display.STATE_BLACKOUT Menu overview To access the main menu, press the MENU key on the Model 2450 front panel. The organization of the main menu is shown in the figure below. Figure 16: Model 2450 main menu 2450-901-01 Rev.
  • Page 47 When you select a Quick Setup, the instrument turns the output on. Carefully consider and configure the appropriate output-off state, source, and limits before connecting the Model 2450 to a device that can deliver energy, such as other voltage sources, batteries, capacitors, or solar cells. Configure the settings that are recommended for the instrument before making connections to the device.
  • Page 48 Source menu The menus organized under Source in the main menu allow you to select, configure, and perform source and sweep operations from the Model 2450 front panel. The following topics describe the settings that are available on these interactive screens.
  • Page 49 Section 2: General operation Model 2450 Interactive SourceMeter® Instrument Reference Manual Source Sweep menu This menu allows you to set up a sweep and generate a source configuration list, simultaneously building the trigger model. Setting Description Generate Select to create a source configuration list and trigger model using the settings on this menu.
  • Page 50: Measure Menu

    Measure menu The menus organized under Measure in the main menu allow you to select, configure, and perform measure operations from the Model 2450 front panel. The following topics describe the settings that are available on these interactive screens. Measure Settings menu This menu contains settings for the presently selected measurement function, which is identified by an indicator in the upper right corner of the menu.
  • Page 51 Section 2: General operation Model 2450 Interactive SourceMeter® Instrument Reference Manual Figure 17: Model 2450 function indicator Setting Description Measure range Set the measurement range for the presently selected measurement function. You can only select a measurement range if you are sourcing one type of measurement and measuring another.
  • Page 52 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 2: General operation Measure Filter/Math menu This menu contains settings that specify the way measurement information is returned. Setting Description Filter State Turn this setting on to enable filtering of measurements. Filter Count The setting sets the number of measurements that are averaged when filtering is enabled.
  • Page 53 Section 2: General operation Model 2450 Interactive SourceMeter® Instrument Reference Manual Setting Description Select List Select the button next to Config List to select the configuration list that you want to use. New List Create a new, empty configuration list. To populate the list with the present instrument settings, select System to List.
  • Page 54 Views menu The menus organized under View in the main menu allow you to select, configure, and view data from source-measure operations on the Model 2450. The following topics describe the settings that are available on these interactive screens. Views Graph menu Selecting the Graph menu opens up a screen that contains a set of tabs that allow you set up and see real-time measurements in a graphical format.
  • Page 55 Section 2: General operation Model 2450 Interactive SourceMeter® Instrument Reference Manual Figure 18: Graph tab You can zoom in or out in the graph view by placing two fingers on the screen and moving them together or apart in a pinching motion. You can also move the view of the graph to the left or right by placing a finger on the screen and moving it in either direction.
  • Page 56 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 2: General operation Scale tab The Scale tab contains settings that allow you to fine-tune the output on the Graph tab. Scale tab setting Description X-Axis and Y-Axis Set the reading value scale for each division for the function Scale selected.
  • Page 57 Trigger menu The menus organized under Trigger in the main menu allow you to configure triggering operations from the Model 2450 front panel. The following topics describe the settings that are available on these interactive screens. Templates menu The Model 2450 has preprogrammed trigger model templates that you can use from the instrument front panel.
  • Page 58 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 2: General operation Template Description Empty Selecting this template clears the present trigger model. Config List Creates a trigger model that can recall settings that are stored in a configuration list. External Trigger Creates a trigger model that allows you to use the digital I/O to send signals to trigger external instruments.
  • Page 59 Scripts menu The menus organized under Scripts in the main menu allow you to configure, run, and manage scripting operations from the Model 2450 front panel. The following topics describe the settings that are available on these interactive screens. Run scripts menu This menu contains a list of available scripts that you can select to run immediately or copy to a script that runs each time the instrument power is turned on.
  • Page 60 Selecting Create on this menu saves the present settings and any source or measure configuration lists that you have defined for the Model 2450 as a user configuration script that you can later recall or use on another instrument. For more information about user configuration scripts and setups, see Saving setups (on page 2-112).
  • Page 61 Section 2: General operation Model 2450 Interactive SourceMeter® Instrument Reference Manual System Event Log menu The System Event Log menu opens a screen that contains two tabs: The System Events tab and the Settings tab. The System Events tab view shows event log entries in a spreadsheet view. Select a line in the sheet to open a dialog box that contains more detailed information about the event.
  • Page 62: Stb?

    Section 2: General operation System Communications menu Selecting this menu opens a set of tabs with information about Model 2450 communications settings. Most of the tabs contain settings that you can change (there are no user settings on the USB tab).
  • Page 63 Select the type of commands to use when controlling the instrument from a remote interface (SCPI, TSP, and SCPI2400). Password The Model 2450 comes programmed with a default user name and password (case-sensitive), which you can change: User name: admin •...
  • Page 64: Display Features

    Product Demo Selecting this option starts a brief demonstration of the graphing capability of the Model 2450. To get correct results, you must have the appropriate demonstration fixture connected to the inputs. For more information, contact your sales representative.
  • Page 65: Customizing A Message For The User Display Screen

    Section 2: General operation Model 2450 Interactive SourceMeter® Instrument Reference Manual Set the displayed digits using the front panel From the front panel: 1. From the home page, swipe the bottom view until the SETTINGS screen is displayed. 2. Next to Display Digits, select the number.
  • Page 66: Dimensions

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 2: General operation Creating the User Display message When you create the message, you can send text that will be used on the top and bottom lines of the User Display screen. The top line allows up to 20 characters and the bottom line allows up to 32 characters.
  • Page 67 Figure 22: Model 2450 mounting screw locations and dimensions The following figures show the dimensions when the handle and bumpers are installed. Figure 23: Model 2450 dimensions front and rear with handle and bumpers 2-40 2450-901-01 Rev. B/September 2013...
  • Page 68 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 2: General operation Figure 24: Model 2450 dimensions side and top with handle and bumpers 2450-901-01 Rev. B/September 2013 2-41...
  • Page 69 The following figures show the dimensions when the handle and bumpers have been removed. Figure 25: Model 2450 Front and rear panel dimensions with handle and bumpers removed Figure 26: Model 2450 top and side dimensions with handle and bumpers removed 2-42 2450-901-01 Rev.
  • Page 70: Handle And Bumpers

    1. Swivel the handle to a position above or below the instrument so that it will not interfere with the removal of the front bumper. 2. Grasp the front bumper on each side of the Model 2450 and gently pull it toward you until the bumper comes off of the instrument.
  • Page 71: Remote Communication Interfaces

    You can choose from one of several communication interfaces to send commands to and receive responses from the Model 2450. The Model 2450 can be controlled from only one communication interface at a time. The first interface on which it receives a message takes control of the instrument. If another interface sends a message, that interface takes control of the instrument.
  • Page 72: Supported Remote Interfaces

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 2: General operation Supported remote interfaces The Model 2450 supports the following remote interfaces: • GPIB: IEEE-488 instrumentation general purpose interface bus • USB: Type B USB connection • Ethernet: Local area network ethernet communications •...
  • Page 73: Gpib Setup

    This topic contains information about GPIB standards, bus connections, and primary address selection. The Model 2450 GPIB interface is IEEE Std 488.1 compliant and supports IEEE Std 488.2 common commands and status model topology. You can have up to 15 devices connected to a GPIB, including the controller. The maximum cable length is the lesser of either: •...
  • Page 74 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 2: General operation Connect the GPIB cables to your instrument To connect an instrument to the GPIB, use a cable equipped with standard GPIB connectors, as shown below. Figure 30: GPIB connector To allow many parallel connections to one instrument, stack the connectors.
  • Page 75 4. Next to Address, select the number. The Set GPIB Address dialog box is displayed. 5. Enter the address. 6. Select OK. If you are using a Model 2450 with no front panel, you can set the GPIB address with the SCPI command :SYSTem:GPIB:ADDRess (on page 6-104) or the TSP command gpib.address...
  • Page 76 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 2: General operation This event clears the GPIB interface. When the Model 2450 detects a device clear (DCL) event, it does the following actions: • Clear the input buffer, output queue, and command queue •...
  • Page 77: Lan Communications

    The Model 2450 is a LXI version 1.4 Core 2011 compliant instrument that supports TCP/IP and complies with IEEE Std 802.3 (ethernet LAN). There is one LAN port (located on the rear panel of the instrument) that supports full connectivity on a 10 Mbps or 100 Mbps network.
  • Page 78 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 2: General operation LAN cable connection The Model 2450 includes two Model CA-180-3A cables (LAN crossover cables). One cable is for the ® TSP-Link network and the other cable is for LAN communication. However, you can use any standard LAN crossover cable (RJ-45, male to male) or straight-through cable to connect your equipment.
  • Page 79 Section 2: General operation Model 2450 Interactive SourceMeter® Instrument Reference Manual One-to-many connection With a LAN hub, a single network interface card can be connected to as many instruments as the hub can support. This requires straight-through network (not crossover) cables for hub connections.
  • Page 80 3. Select one of the four tabs (GPIB, USB, LAN, or TSP-Link) to see the settings for that interface. 4. Press the EXIT key to leave the SYSTEM COMMUNICATION window without making any changes. If you are using a Model 2450 with no front panel, you can check the settings with the SCPI command :SYSTem:COMMunication:LAN:CONFigure (on page 6-97) or the TSP command lan.ipconfig()
  • Page 81 4. For TCP/IP Mode, select Auto. 5. Select Apply Settings to save your settings. If you are using a Model 2450 with no front panel, you can configure the LAN using SCPI or TSP commands. For details, see the SCPI command...
  • Page 82 To run the LXI Discovery Browser software: 1. From the Windows Start menu, select Keithley Instruments. 2. Select LXI Discovery Browser, and then double-click LXI Discovery Browser. The Keithley LXI Discovery Browser window is displayed. The Browser displays the instruments that are found on the network and their associated IP addresses.
  • Page 83 2 When blinking, indicates that the port is receiving or sending information If neither LED is lit, the network is not connected. LAN interface protocols You can use one of following LAN protocols to communicate with the Model 2450: • Telnet •...
  • Page 84: Web Interface

    Telnet is often used for debugging and troubleshooting. You will need a separate Telnet program to use this protocol. The Model 2450 supports the Telnet protocol, which you can use over a TCP/IP connection to send commands to the instrument. You can use a Telnet connection to interact with scripts or send real-time commands.
  • Page 85 Section 2: General operation Model 2450 Interactive SourceMeter® Instrument Reference Manual Web interface home page Figure 39: Model 2450 web interface home page The home page of the web interface gives you basic information about the instrument, including: • The instrument model, serial number, firmware revision, and the last LXI message •...
  • Page 86 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 2: General operation You can also change the IP configuration through the front panel or with TSP and SCPI commands. Set up LAN communications on the instrument (on page 2-53) for information.
  • Page 87: Usb Communications

    Section 2: General operation Model 2450 Interactive SourceMeter® Instrument Reference Manual Reviewing LAN trigger events in the event log The event log records all LXI events generated and received by the instrument. You can view the event log using any command interface or the embedded web interface. The following information shows in the log: •...
  • Page 88 INSTR: Use the USBTMC protocol To determine these parameters, you can run the Keithley Configuration Panel, which automatically detects all instruments connected to the computer. If you installed the Keithley I/O Layer, you can access the Keithley Configuration Panel through the ® ®...
  • Page 89 Model 2450 Interactive SourceMeter® Instrument Reference Manual To use the Keithley Configuration Panel to determine the VISA resource string: 1. Click Start > Programs > Keithley Instruments > Keithley Configuration Panel. The Select Operation dialog box is displayed. 2. Select Add.
  • Page 90 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 2: General operation 4. Select USB. 5. Click Next. The Select Instrument Driver dialog box is displayed. Figure 42: Select Instrument Driver dialog box 6. Select Auto-detect Instrument Driver - Model. 7. Click Next. The Configure USB Instrument dialog box is displayed with the detected instrument VISA resource string visible.
  • Page 91 11. Click Cancel to close the Wizard. 12. Save the configuration. From the Configuration Utility, select File > Save. 13. In the Keithley Communicator, select File > Open Instrument to open the instrument you just named. Figure 44: Keithley Communicator Open Instrument 14.
  • Page 92: How To Install The Keithley I/O Layer

    3. Follow the instructions on the screen to install the software. 4. Reboot your computer. Determining the command set you will use You can change the command set that you use with the Model 2450. The remote command sets that are available include: •...
  • Page 93: System Information

    SCPI command set. In addition, some Series 2400 code will work differently in the Model 2450 than it did in the earlier instrument. See Model 2450 in a Model 2400 application (on page D-1) for information about the differences.
  • Page 94: Instrument Sounds

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 2: General operation To view system information using SCPI commands: To retrieve the manufacture, model number, serial number and firmware version, send the command: *IDN? To read the line frequency, send the command SYStem:LFRequency? The firmware build, memory available, and calibration date are not available with SCPI commands.
  • Page 95: Test Connections

    LO terminal. If using the rear-panel terminals, ground to the rear panel LO terminal. You can make test connections to the Model 2450 from the rear or front panel of the instrument. The basic connection configurations for the Model 2450 include: •...
  • Page 96: Basic Connections

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 2: General operation Basic connections The front and rear terminals of the instrument are rated for connection to circuits rated Measurement Category I only, with transients rated less than 1500 V peak above the maximum rated input.
  • Page 97: Using The Interlock

    An interlock circuit is provided on the rear panel of the instrument. This circuit must be closed to enable the Model 2450 to produce voltages greater than 38 V DC. When the safety interlock signal is asserted, the following actions occur: •...
  • Page 98 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 2: General operation The Model 2450 is provided with an interlock circuit that must be positively activated in order for the high voltage output to be enabled. The interlock helps facilitate safe operation of the equipment in a test system.
  • Page 99: Front Or Rear Panel Test Connections

    Section 2: General operation Model 2450 Interactive SourceMeter® Instrument Reference Manual Keithley Instruments connector CS-1616-3, supplied with the Model 2450, can be used to make the interlock connection to the rear panel. You must supply connection wire. To ensure proper interlock operation, the external interlock switch and connection wires must be less than 10 ohms when the switch is closed.
  • Page 100 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 2: General operation Setting the instrument to use the front or rear terminals If the output is on when you change the settings for the terminals that are used, the output turns off.
  • Page 101: Two-Wire Compared To Four-Wire Measurements

    Section 2: General operation Model 2450 Interactive SourceMeter® Instrument Reference Manual Two-wire compared to four-wire measurements You can use 2-wire or 4-wire measurement techniques with the Model 2450. You can use 2-wire, or local sensing, measurement techniques for the following source-measure conditions: •...
  • Page 102 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 2: General operation Two-wire local sense connections Two-wire connections are shown in the following figure. If your application results in impedances above 1 GΩ, you may need to also use guarding. This prevents leakage current from affecting measurement accuracy.
  • Page 103 Section 2: General operation Model 2450 Interactive SourceMeter® Instrument Reference Manual Using the front panel: 1. Press the FUNCTION key. 2. Select the source and measurement combination. 3. Press the MENU key. 4. Under Measure, select Settings. 5. Select the button next to Sense Mode and select 2-Wire Sense.
  • Page 104 Four-wire remote sense connection drawings Always connect the sense lines as close as possible to the device under test. Figure 49: Model 2450 rear panel 4-wire remote sense connections Figure 50: Model 2450 front panel 4-wire remote sense connections 2450-901-01 Rev. B/September 2013...
  • Page 105 Section 2: General operation Model 2450 Interactive SourceMeter® Instrument Reference Manual Set the instrument to 4-wire sense To use 4-wire connections, you must set the instrument to 4-wire sense. When 4-wire sense is selected and the output is turned off, the sense lines are internally disconnected.
  • Page 106 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 2: General operation Accuracy of 2-wire resistance measurements The 2-wire sensing method has the advantage of requiring only two test leads. However, as shown in the following figure, the total lead resistance is added to the measurement. This can seriously affect the accuracy of 2-wire resistance measurements, particularly with lower resistance values.
  • Page 107 Section 2: General operation Model 2450 Interactive SourceMeter® Instrument Reference Manual Minimizing the effect of lead resistance with 4-wire testing The 4-wire sensing method, shown in the following figure, minimizes or eliminates the effects of lead resistance. The effects of lead resistance are minimized by measuring the voltage across the resistor under test with a second set of test leads.
  • Page 108: Test Fixtures

    When the test fixture is correctly connected using the interlock, the output of the Model 2450 will turn off when the lid of the test fixture is opened. Connect the enclosure of all metal test fixtures to protective earth (safety ground). See your specific test fixture for information.
  • Page 109: Output-Off State

    When the output is off, the SOURCE area of the Home screen shows the source value that is set, not the value that is presently being output. Normal output-off state When the Model 2450 is set to the normal output-off state, the following settings are made when the source is turned off: •...
  • Page 110 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 2: General operation High-impedance output-off state When the high-impedance output-off state is selected and the output is turned off: • The measurement sense is set to 2-wire • The output relay opens, disconnecting the instrument as a load Opening the relay disconnects external circuitry from the inputs and outputs of the instrument.
  • Page 111 Section 2: General operation Model 2450 Interactive SourceMeter® Instrument Reference Manual Setting the output-off state Before setting the output-off state, set the source function. The output-off state is stored with the source function. If you change the source function, the output-off state changes to the last state you set for that function.
  • Page 112: Source-Measure Overview

    QuickSet controls menu page 2-20). When using the Model 2450 as a voltmeter, the voltage limit must be set higher than the voltage that is being measured. Failure to do this could result in damage to the instrument because of excessive current flow into the instrument.
  • Page 113 Section 2: General operation Model 2450 Interactive SourceMeter® Instrument Reference Manual Making a measurement with the QuickSet functions The measurement-only functions available through the QuickSet option include Voltmeter, Ammeter, and Ohmmeter. Using the front panel: 1. Make connections to the device under test before running the Quick Setup. The Voltmeter and Ammeter options use 2-wire connections.
  • Page 114 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 2: General operation Source voltage and make measurements When the Model 2450 is sourcing voltage, you can make current, voltage, resistance, or power measurements. Using the front panel: 1. Connect the device under test (DUT) as described in Test connections (on page 2-68).
  • Page 115 Section 2: General operation Model 2450 Interactive SourceMeter® Instrument Reference Manual Source current and make measurements When the Model 2450 is sourcing current, you can make current, voltage, resistance, or power measurements. Using the front panel: 1. Connect the device under test (DUT) as described in Test connections (on page 2-68).
  • Page 116 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 2: General operation Resistance measurement methods From the front panel, you can use one of the following methods to measure resistance with the Model 2450: • Press FUNCTION and select source current and measure resistance •...
  • Page 117 Section 2: General operation Model 2450 Interactive SourceMeter® Instrument Reference Manual Using SCPI: Send the following code: *RST SENSe:FUNCtion "CURR" SENSe:CURRent:RANGe:AUTO ON SENSe:CURRent:UNIT OHM SENSe:CURRent:OCOM ON SOURce:FUNCtion VOLT SOURce:VOLT 5 SOURce:VOLT:ILIM 0.01 SENSe:COUNT 5 OUTPut ON TRACe:TRIGger "defbuffer1" TRACe:DATA? 1, 5, "defbuffer1", SOUR, READ OUTPut OFF The front-panel display will look similar to the following example.
  • Page 118 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 2: General operation Using TSP commands: Send the following code: reset() smu.measure.func = smu.FUNC_DC_CURRENT smu.measure.autorange = smu.ON smu.measure.unit = smu.UNIT_OHM smu.measure.count = 5 smu.source.func = smu.FUNC_DC_VOLTAGE smu.source.level = 5 smu.source.ilimit.level = 0.01 smu.source.output = smu.ON...
  • Page 119 Section 2: General operation Model 2450 Interactive SourceMeter® Instrument Reference Manual Source current, measure voltage, and set measure units to ohms If you want to make resistance readings by sourcing current and measuring voltage, you can use this method. The examples below use a 100 kΩ device under test. The code: •...
  • Page 120 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 2: General operation Using TSP commands: Send the following code: reset() smu.measure.func = smu.FUNC_DC_VOLTAGE smu.measure.autorange = smu.ON smu.measure.unit = smu.UNIT_OHM smu.measure.count = 5 smu.source.func = smu.FUNC_DC_CURRENT smu.source.level = 5e-6 smu.source.vlimit.level = 10 smu.source.output = smu.ON...
  • Page 121 Model 2450 Interactive SourceMeter® Instrument Reference Manual Measure resistance and use the auto-ohms (ohmmeter) mode You can use the auto-ohms to measure resistances. When you use auto-ohms, the Model 2450 measures resistances by sourcing current. The instrument automatically sets the magnitude of the current source, voltage limit, and the measure range.
  • Page 122 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 2: General operation Using TSP: Send the following code: reset() smu.measure.func = smu.FUNC_RESISTANCE smu.measure.autorange = smu.ON smu.measure.count = 5 smu.source.output = smu.ON smu.measure.read(defbuffer1) for i=1, defbuffer1.n do print(defbuffer1.relativetimestamps[i], defbuffer1[i]) smu.source.output=smu.OFF The front-panel display will look similar to the following example.
  • Page 123: Source And Measure Using Scpi Commands

    Section 2: General operation Model 2450 Interactive SourceMeter® Instrument Reference Manual Offset-compensated ohms The voltage offsets because of the presence of thermal EMFs (V ) can adversely affect resistance measurement accuracy. To overcome these offset voltages, you can use offset-compensated ohms.
  • Page 124: Source And Measure Using Tsp Commands

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 2: General operation To make a measurement, you send the MEASure:<function>? command. For example, to make a current measurement, send the command: :MEASure:CURRent? To make a voltage measurement, send the command: :MEASure:VOLTage?
  • Page 125: Protection

    Even with the overvoltage protection set to the lowest value (2 V), never touch anything connected to the terminals of the Model 2450 when the output is on. Always assume that a hazardous voltage (greater than 30 V rms) is present when the output is on. To prevent damage to the DUT or external circuitry, do not set the voltage source to levels that exceed the value that is set for overvoltage protection.
  • Page 126 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 2: General operation Setting overvoltage protection levels Overvoltage protection is set to preset value. Using the front panel: 1. Press the MENU key. 2. Under Source, select Settings. 3. Next to Overvoltage Protection Limit, select the button.
  • Page 127: Source Limits

    Section 2: General operation Model 2450 Interactive SourceMeter® Instrument Reference Manual Source limits The source limits (also known as compliance) prevent the instrument from sourcing a voltage or current over a set value. This helps prevent damage to the device under test (DUT).
  • Page 128: Ranges

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 2: General operation Using SCPI commands: To set the limit when sourcing current, send the command: SOURCe:CURRent:PROTection <n> Where <n> is the current limit value. To set for a voltage measurement, replace CURRent with VOLTage.
  • Page 129 Model 2450 Interactive SourceMeter® Instrument Reference Manual Considerations for the 10 nA and 100 nA ranges If you are operating the Model 2450 using the 10 nA and 100 nA ranges, you need to take extra precautions to get accurate readings.
  • Page 130 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 2: General operation Using TSP commands: To set the current source range, send the following commands, with rangeValue set to the source range: smu.source.func = smu.FUNC_DC_CURRENT smu.source.range = rangeValue To set the voltage source range, send the following commands, with rangeValue set to the source range: smu.source.func = smu.FUNC_DC_VOLTAGE...
  • Page 131: Measurement Range

    Section 2: General operation Model 2450 Interactive SourceMeter® Instrument Reference Manual Measurement range The measurement range determines the full-scale input for the measurement. The measurement range also affects the accuracy of the measurements and the maximum signal that can be measured.
  • Page 132 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 2: General operation Using the front panel: 1. Press FUNCTION and select the measurement function. 2. On the Home page, select the button next to Range for the measurement type. The Select Range dialog box is displayed.
  • Page 133 Section 2: General operation Model 2450 Interactive SourceMeter® Instrument Reference Manual Selecting the automatic measurement range When automatic measurement range is selected, the instrument automatically selects the best range to measure the signal. If the measurement reaches 105% of the present range, the instrument changes the measurement range to the next higher range.
  • Page 134 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 2: General operation Selecting low limits when automatic measurement range is used You can set the low limit for the measurement range that is selected when the measurement range is set automatically.
  • Page 135: Automatic Reference Measurements

    The time interval between updates to these reference measurements is determined by the integration aperture that is being used for measurements. The Model 2450 uses separate reference and zero measurements for each aperture. By default, the instrument automatically checks the reference measurements whenever a signal measurement is made.
  • Page 136: Setting Autozero

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 2: General operation Setting autozero You can enable or disable automatic referencing, or request a one-time refresh of the reference values. The reference setting is stored with the measure function. To set autozero using the front panel: 1.
  • Page 137: Source Readback

    Section 2: General operation Model 2450 Interactive SourceMeter® Instrument Reference Manual Source readback You can set the instrument to record and display the voltage or current of the configured source value or the actual source value. When you use the configured source value, the instrument records and displays the value that was configured.
  • Page 138: Source Delay

    The amount of delay time depends on the settings that are made for the source delay. You can set a manual value, or use the auto delay. Figure 58: Model 2450 settling and delay times You can increase the amount of delay time by either setting a fixed amount of time or setting the instrument to include an automatic delay.
  • Page 139: Setting The Source Delay

    You can save the present settings and any source or measure configuration lists that you have defined for the Model 2450 to internal memory or an external USB flash drive. After the settings are saved, you can recall the settings. You can also set them to be the default settings on power up.
  • Page 140: Save A User Setup To Internal Memory

    Save a user setup to internal memory From the front panel: 1. Configure the Model 2450 to the settings that you want to save. 2. Press the MENU key. 3. Under Scripts, select Create Config. The CREATE CONFIG SCRIPTS window is displayed.
  • Page 141: Copy A User Setup

    Section 2: General operation Model 2450 Interactive SourceMeter® Instrument Reference Manual Copy a user setup To copy a user setup from an external USB flash drive to the instrument from the front panel: 1. Insert the flash drive into the USB connector on the front panel.
  • Page 142: Recall A User Setup

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 2: General operation Recall a user setup You can recall setups from internal nonvolatile memory or a USB flash drive. When you recall a setup, you run a script that restores the instrument to the settings that are saved in that script.
  • Page 143: Reset The Instrument

    Section 2: General operation Model 2450 Interactive SourceMeter® Instrument Reference Manual Set the power-on configuration using a SCPI command: Send the command: :SYSTem:POSetup <name> Where <name> is: • RST: Power-up to *RST defaults • SAV0: Power-up to setup stored at memory location 0 •...
  • Page 144: Using The Event Log

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 2: General operation Using the event log The event log records events that are reported by the instrument. The event log entries can be one of the following types: • Error: An error occurred. This may indicate that a command was sent incorrectly.
  • Page 145: Effects Of Errors On Scripts

    Section 2: General operation Model 2450 Interactive SourceMeter® Instrument Reference Manual The options available on this tab are described in the table below. Settings tab settings Description Show Warning Turns the logging of warnings on or off. If you turn this off, the instrument continues to record warning and display messages for them, but does not display them in the System Events tab.
  • Page 146: Functions And Features

    For more information on the order in which operations are performed, see Displayed measurements (on page 3-9). Establishing a relative offset value You can use the Model 2450 to automatically determine the relative offset, or you can assign a specific relative offset value.
  • Page 147 Section 3: Functions and features Model 2450 Interactive SourceMeter® Instrument Reference Manual Automatically acquiring a relative offset value When you automatically acquire a relative offset value, the Model 2450 does the following actions: • Makes a new measurement. • Stores the measurement as the new relative offset level.
  • Page 148: Disabling The Relative Offset

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features To set the relative offset for another function, replace VOLTage with CURRent or RESistance. Using TSP commands: Send the commands: smu.measure.func = smu.FUNC_DC_VOLTAGE smu.measure.rel.level = relValue smu.measure.rel.enable = smu.ON Where relValue is the relative offset value.
  • Page 149: Instrument Access

    Section 3: Functions and features Model 2450 Interactive SourceMeter® Instrument Reference Manual Instrument access You can specify that the control interfaces request access before taking control of the instrument. There are several levels of access. You can set one of the following levels of access to the instrument: •...
  • Page 150: Changing The Password

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features Changing the password If the instrument is set to the access mode of Protected or Lockout, you must enter a password to change to a new control interface. You can set the password, as described below.
  • Page 151: Calculations That You Can Apply To Measurements

    Section 3: Functions and features Model 2450 Interactive SourceMeter® Instrument Reference Manual Calculations that you can apply to measurements The Model 2450 has three built-in math calculations: • mx+b • percent • reciprocal (1/X) Math calculations are applied to the input signal after relative offset and before limit tests. For more...
  • Page 152: Reciprocal (1/X)

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features Reciprocal (1/X) You can set math operation to reciprocal to display the reciprocal of a reading. The reciprocal is 1/X, where X is the reading. If relative offset is on, the 1/X calculation uses the input signal with the relative offset applied.
  • Page 153: Setting Mx+B Math Operations

    Section 3: Functions and features Model 2450 Interactive SourceMeter® Instrument Reference Manual Setting mx+b math operations From the front panel: 1. Press FUNCTION and select the measurement function. 2. Press the MENU key. 3. Under Measure, select Filter/Math. 4. Next to Math State, select On.
  • Page 154: Switching Math On The Settings Screen

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features Using TSP commands: Set the measurement function, and then send the commands: smu.math.format = smu.MATH_RECIPROCAL smu.math.enable = smu.ON Switching math on the SETTINGS screen Once you set the math operations settings for a measurement function, you can turn the math function on or off on the SETTINGS swipe screen.
  • Page 155: Reading Buffers

    Reading buffers Reading buffers capture measurements, ranges, instrument status, and the output state of the instrument. The Model 2450 has two default reading buffers. You can also create user-defined reading buffers. Reading buffers provide the following statistics: average, minimum, maximum, and standard deviation.
  • Page 156 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features Effects of reset and power cycle on buffers The instrument clears the default buffers when a reset command is sent or when the power is turned off and then turned on again.
  • Page 157 Section 3: Functions and features Model 2450 Interactive SourceMeter® Instrument Reference Manual Select the Refresh button to update buffer fill status. Figure 60: MANAGE MEASURE BUFFERS The System Events tab on the System Event Log menu (on page 2-34) displays the following buffer events: •...
  • Page 158 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features For additional information about using remote commands for buffer operations, see the following sections of this manual: • Remote buffer operation (on page 3-27) • SCPI commands see...
  • Page 159 Section 3: Functions and features Model 2450 Interactive SourceMeter® Instrument Reference Manual 6. Type the size of the new buffer. 7. Select OK to enter the size. The MANAGE MEASURE BUFFERS window is displayed showing the buffer you just created.
  • Page 160 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features Selecting a buffer The default reading buffer is defbuffer1. If you want to use a different buffer (defbuffer2 or a user-defined reading buffer), use the information in this topic.
  • Page 161 Section 3: Functions and features Model 2450 Interactive SourceMeter® Instrument Reference Manual 4. Select the Make Active button. The "Are you sure" dialog box is displayed. 5. Select Yes. A list of available buffers is displayed. An asterisk in the first column of the buffer list indicates which buffer is the active reading buffer.
  • Page 162 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features To measure current and return relative time and readings formatted as they appear on the front panel, send the following command: MEASure:CURRent? "testData", READ, REL, SOURFORM Buffer storage is consistent whenever readings are taken. The parameters, such as REL and SOURFORM, only affect what is included in the response.
  • Page 163 Section 3: Functions and features Model 2450 Interactive SourceMeter® Instrument Reference Manual Viewing and saving buffer content You can view the content of buffers from the front panel. However, the front panel may not be flexible enough for your particular type of data analysis. For further analysis, save the contents of the reading buffer to a USB flash drive.
  • Page 164 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features Figure 71: Example of spreadsheet with reading buffer content Sheet 2 The following table describes the information that is stored in each column of the spreadsheet. An F in the column indicates the corresponding heading item is false for that reading. For example, if an F is listed in the Math column, the F indicates that the item was not used or did not occur on that reading.
  • Page 165 Section 3: Functions and features Model 2450 Interactive SourceMeter® Instrument Reference Manual Heading Description Index Provides an identifier for each reading Reading Measured value for each reading Unit Indicates the unit of measure for the reading; values may be any of the...
  • Page 166 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features Using the front panel to save or append buffer content to files: 1. Insert a USB drive into the USB port. 2. Press the MENU key. 3. Under Measure, select Data Buffers. The MANAGE MEASURE BUFFERS window is displayed.
  • Page 167 Section 3: Functions and features Model 2450 Interactive SourceMeter® Instrument Reference Manual Using SCPI commands to save or append buffer content to files: Before using any of these commands, insert a USB flash drive into the USB port. To save readings and formatted timestamps from the default buffer to a file named myData.csv on a USB flash drive, send the following command: TRACe:SAVE "/usb1/myData.csv", "defbuffer1"...
  • Page 168 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features Fill mode The fill mode setting for the reading buffer controls how the incoming data is managed as the buffer fills. The options are: • Fill once: The buffer stops accepting data once it fills to capacity and no new data is stored in the buffer.
  • Page 169 Section 3: Functions and features Model 2450 Interactive SourceMeter® Instrument Reference Manual 3. Select a reading buffer from the list. For example, touch testData to select it. The Settings for testData dialog box is displayed. 4. Select the Reading Size button. The New Buffer Size screen is displayed.
  • Page 170 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features 4. Select the Fill Mode button. The Fill Mode menu is displayed. Figure 78: Fill Mode menu 5. Select the Fill Mode. For example, select Continuous. The Settings for testData menu is displayed, indicating that the Fill Mode is Continuous.
  • Page 171 Section 3: Functions and features Model 2450 Interactive SourceMeter® Instrument Reference Manual Using TSP commands to set a buffer fill mode: To set the testData reading buffer fill mode to continuous, send the following command: testData.fillmode = buffer.FILL_CONTINUOUS To set the defbuffer1 reading buffer fill mode to fill once, send the following command: defbuffer1.fillmode = buffer.FILL_ONCE...
  • Page 172: Remote Buffer Operation

    To delete a user-defined buffer named testData, send the following command: buffer.delete(testData) Remote buffer operation You can control the Model 2450 buffers through a remote interface using SCPI or TSP remote commands. This section provides a summary of some of the remote commands available to control and access data stored in buffers;...
  • Page 173 Section 3: Functions and features Model 2450 Interactive SourceMeter® Instrument Reference Manual Storing data in buffers Using SCPI commands: The following SCPI commands are associated with data storage operation: Command Description :TRACe:MAKE This function creates a user-defined reading buffer. You cannot use this command on the default buffers.
  • Page 174 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features Using TSP commands: Once you create a reading buffer using TSP commands, if you use that buffer name for another buffer or variable, you can no longer access the original buffer.
  • Page 175 Section 3: Functions and features Model 2450 Interactive SourceMeter® Instrument Reference Manual Using TSP commands: A reading buffer is based on a Lua table. When you use TSP commands, the measurements themselves are accessed by ordinary array notation. If rb is a reading buffer, the first measurement is accessed as rb[1], the ninth measurement as rb[9], and so on.
  • Page 176 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features Using TSP commands: The following attributes are available for each reading buffer (for example, rb.dates accesses dates for reading buffer rb, and the number of readings in the reading buffer is accessed as rb.n).
  • Page 177 Section 3: Functions and features Model 2450 Interactive SourceMeter® Instrument Reference Manual Reading buffer for . . . do loops The following TSP examples illustrate the use of for . . . do loops when recalling data from a reading buffer called mybuffer.
  • Page 178: Configuration Lists

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features Configuration lists Instrument configuration An instrument configuration is a collection of settings that can be applied to the instrument. Active setting At any given time, the instrument is operating using its active settings. For example, if you set the measurement NPLC to 1.0, the active NPLC setting is 1.0.
  • Page 179 When you recall a configuration point, you recall the settings in one row. Figure 81: Database of configuration points If you want to use the same configuration list on multiple Model 2450 instruments, you have to recreate it on each instrument. You can do this using one of the following methods: •...
  • Page 180: What Is A Configuration Point

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features What is a configuration point? A configuration point contains a copy of all instrument source or measure active settings at a specific point in time. You store configuration points in a specific configuration list. Only the amount of available memory limits the number of configuration points that you can store in a configuration list.
  • Page 181 Section 3: Functions and features Model 2450 Interactive SourceMeter® Instrument Reference Manual Instrument settings stored in a measure configuration list When you save a configuration point to a measure configuration list, the instrument saves the values for each setting listed in the following table. These settings can be set from the front panel or by using remote commands.
  • Page 182 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features Math mx+b m factor smu.measure.math.mxb.mfactor :CALCulate[1]:<function>:MATH:MBFactor (on page 8-114) page 6-8) MENU > Measure > Filter/Math > m (Scalar) Math percent smu.measure.math.percent :CALCulate[1]:<function>:MATH:PERCent page 8-115) page 6-11) MENU > Measure > Filter/Math >...
  • Page 183 Section 3: Functions and features Model 2450 Interactive SourceMeter® Instrument Reference Manual Instrument settings stored in a source configuration list When you save a configuration point to a source configuration list, the instrument saves the values for each setting listed in the following table. These settings can be set from the front panel or by using remote commands.
  • Page 184: Creating, Storing, And Performing Operations On Configuration Lists And Points

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features Creating, storing, and performing operations on configuration lists and points To create a configuration point, you need to: • Create a new configuration list and give it a name or use a specific configuration list that already exists on the instrument •...
  • Page 185 Section 3: Functions and features Model 2450 Interactive SourceMeter® Instrument Reference Manual The CONFIGURATION LIST menu contains: • A scrollable list of configuration points that are stored in the selected configuration list • A message bar indicating the index associated with the selected configuration point •...
  • Page 186 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features Using the front panel to store active settings to configuration point 1: Store all active measure settings to MyMeasList as configuration point 1 by appending to the end of the initially empty list.
  • Page 187 Section 3: Functions and features Model 2450 Interactive SourceMeter® Instrument Reference Manual If you want to recall a point on a source configuration list, under Source, select Config List. 3. Choose Select List. A menu of available configuration lists is displayed.
  • Page 188: Using Remote Commands For Configuration List Operations

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features Using remote commands for configuration list operations The following topics provide information to: • Create an example source configuration list named MySourceList. • Store four example configuration points on MySourceList.
  • Page 189 Section 3: Functions and features Model 2450 Interactive SourceMeter® Instrument Reference Manual Storing configuration point 1 Use one of the following methods to: • Set the instrument source function to voltage • Set the instrument source range to 20 V •...
  • Page 190 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features Storing configuration point 2 Use one of the following methods to: • Set the instrument source level to 3.0 V • Store all active source settings to MySourceList as configuration point 2 by appending to the...
  • Page 191 Section 3: Functions and features Model 2450 Interactive SourceMeter® Instrument Reference Manual Storing configuration point 3 Use one of the following methods to: • Set the time it takes to perform the current measurement (the NPLC setting) to 2 seconds •...
  • Page 192 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features Storing configuration point 4 Use one of the following methods to: • Set the instrument source level to 5.0 V • Store all active source settings to MySourceList as configuration point 4 by appending to the...
  • Page 193 Section 3: Functions and features Model 2450 Interactive SourceMeter® Instrument Reference Manual Recalling a configuration point Use one of the following methods to recall configuration point 2 on MySourceList: Using SCPI commands: :SOURce:CONFiguration:LIST:RECall "MySourceList", 2 Using TSP commands: smu.source.configlist.recall("MySourceList", 2) The following figure shows the active state of the instrument after you recall configuration point 2.
  • Page 194 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features Using SCPI commands: The SCPI configuration list query command returns a list of TSP commands that could be used to set the parameters stored in the specified configuration point.
  • Page 195 Section 3: Functions and features Model 2450 Interactive SourceMeter® Instrument Reference Manual Using SCPI commands: To receive the name of one source configuration list stored on the instrument, use the following command. :SOURce:CONFigure:LIST:CATalog? For a measure configuration list, replace :SOURce with :SENSe.
  • Page 196: Sweep Operation

    Sweeps allow you to set up the instrument to source specific voltage or current values to a device under test (DUT). A measurement is made for each value. The Model 2450 can generate linear staircase, logarithmic staircase, linear dual staircase, and logarithmic dual staircase sweeps from the front panel. In addition to these sweeps, you can generate custom sweeps if you use remote commands.
  • Page 197: Logarithmic Staircase Sweep

    Section 3: Functions and features Model 2450 Interactive SourceMeter® Instrument Reference Manual Logarithmic staircase sweep A logarithmic staircase sweep is similar to a linear staircase sweep. The only difference is that the steps are scaled logarithmically. The steps in a logarithmic staircase sweep increase or decrease geometrically, beginning with a start voltage or current and ending with a stop voltage or current.
  • Page 198 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features Setting up a sweep from the front panel To set up a sweep from the front panel, you select options from the Sweep Settings screen. Set up the sweep from the front panel 1.
  • Page 199 Section 3: Functions and features Model 2450 Interactive SourceMeter® Instrument Reference Manual Front-panel sweep options Option Description Type You can select one of the following options: Linear: Sets up a linear staircase sweep. • Logarithmic: Sets up a logarithmic staircase sweep.
  • Page 200 Front-panel sweep options Option Description Source Limit Sets the source limit for measurements. The Model 2450 cannot source levels that exceed this limit. Abort on Limit Determines if the sweep is stopped immediately if a limit is exceeded. You can select one of the following options: ON: Abort the sweep if a limit is exceeded.
  • Page 201 Section 3: Functions and features Model 2450 Interactive SourceMeter® Instrument Reference Manual For example sweeps, see Sweep programming examples (on page 3-58). For detail on the commands and options listed above, see the following command descriptions: • [:SENSe[1]]:FUNCtion[:ON] (on page 6-49) •...
  • Page 202: Aborting A Sweep

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features For example sweeps, see Sweep programming examples (on page 3-58). For detail on the commands and options listed above, see the following command descriptions: • smu.source.sweeplinear() (on page 8-145) •...
  • Page 203: Sweep Programming Examples

    Section 3: Functions and features Model 2450 Interactive SourceMeter® Instrument Reference Manual Sweep programming examples The following examples show programming examples of typical sweeps. Linear sweep with a voltage source The following examples perform a linear sweep that uses a voltage source. They perform the following actions: •...
  • Page 204 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features Logarithmic sweep with a current source The following examples perform a logarithmic sweep using a current source. They perform the following actions: • Reset the instrument to its defaults.
  • Page 205 Section 3: Functions and features Model 2450 Interactive SourceMeter® Instrument Reference Manual Voltage sweep based on a configuration list The following TSP example shows a voltage sweep that is based on a configuration list. It performs the following actions: •...
  • Page 206: Increasing The Speed Of Sweeps

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features Using TSP commands reset() smu.source.configlist.create("CurrListSweep") smu.source.func = smu.FUNC_DC_CURRENT smu.source.range = 100e-3 smu.source.level = 1e-3 smu.source.configlist.store("CurrListSweep") smu.source.level = 10e-3 smu.source.configlist.store("CurrListSweep") smu.source.level = 5e-3 smu.source.configlist.store("CurrListSweep") smu.source.level = 7e-3 smu.source.configlist.store("CurrListSweep") smu.source.level = 11e-3 smu.source.configlist.store("CurrListSweep")
  • Page 207: Digital I/O

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Digital I/O You can use the Model 2450 digital input/output with the trigger model or to control an external digital circuit, such as a device handler that is used to perform binning operations. To control or configure any of the six digital input/output lines, send commands to the Model 2450 over a remote interface.
  • Page 208 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features The following figure shows the basic configuration of the digital I/O port. To set a line high (approximately +5 V), write a 1 to it; to set a line low (approximately 0 V), write a 0 to it. To allow an external device to pull an I/O line low by shorting it to ground, use the open-drain mode;...
  • Page 209 When you place a line in open-drain mode, the line is configured to be an open-drain signal. This makes the line compatible with other instruments that use open-drain digital I/O lines, such as legacy Keithley Instruments products. You must write a 1 to any digital I/O line that is used as an input while in open-drain mode.
  • Page 210 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features Vext line The digital I/O allows connection to an external voltage through a flyback diode clamped line (Vext). You can connect to the Vext line through the Vext pin (pin 5) and the specified digital I/O line. Use this connection to drive relay drive coils, a low power solenoid, or similar external inductive circuitry.
  • Page 211: Controlling Digital I/O Lines

    You can control each digital I/O line using the trigger model or directly as a digital line that is not controlled by the trigger model. Use any of the Model 2450 digital I/O lines in one of three modes: input, output, or open-drain. When a line is used in an open-drain mode, you must write a 1 to any digital I/O line that is used as an input.
  • Page 212 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features Digital I/O programming example The programming commands below illustrate how to set bit B1 of the digital I/O port high, and then read the value. Using SCPI commands:...
  • Page 213: Limit Testing And Binning

    Limits can be used with all measurements (except continuity and diode measurements). The Model 2450 can be set up for limit testing and binning. It can perform simple benchtop limit testing using the front panel or sophisticated limit and binning operations using the trigger model and digital I/O to control external component handling devices.
  • Page 214 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features Front-panel limit test This example is set up to test a box of 100 Ω ±1 % and 100 Ω ±10 % resistors that you want to separate manually. You can change values as needed to adapt the test to your needs.
  • Page 215: Set Up A Limit Test Using The Remote Interface

    Section 3: Functions and features Model 2450 Interactive SourceMeter® Instrument Reference Manual Set up a limit test using the remote interface You can set up limit testing through a remote interface. There are several methods you can use to set up the limit test: •...
  • Page 216 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features Resistor grading example Figure 95: Resistor grading example blocks 1 to 6 2450-901-01 Rev. B/September 2013 3-71...
  • Page 217 Section 3: Functions and features Model 2450 Interactive SourceMeter® Instrument Reference Manual Figure 96: Resistor grading example blocks 7 to 18 3-72 2450-901-01 Rev. B/September 2013...
  • Page 218 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features Figure 97: Resistor grading example blocks 19 to 23 2450-901-01 Rev. B/September 2013 3-73...
  • Page 219 Section 3: Functions and features Model 2450 Interactive SourceMeter® Instrument Reference Manual Resistor grading SCPI code Send the following commands for this example application: Command Description *RST Reset the Model 2450. SENSe:FUNCtion "RESistance" Set the instrument measure resistance in manual SENSe:RESistance:MODE MANual ohms mode and set 4-wire remote sensing on.
  • Page 220 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features TRIGger:LOAD:EMPTy Clear any existing trigger model commands from the instrument. TRIGger:BLOCk:BUFFer:CLE 1, "defbuffer1" Set up the trigger model: TRIG:BLOC:WAIT 2, DIG5 Block 1: Clear default buffer 1. •...
  • Page 221 Section 3: Functions and features Model 2450 Interactive SourceMeter® Instrument Reference Manual -- Source settings must come after MANUAL ohms is enabled -- Source function must be first source setting; -- most other settings are tied to the function smu.source.func = smu.FUNC_DC_CURRENT...
  • Page 222 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features -- Block 6: Turn SMU output OFF trigger.model.setblock(6, trigger.BLOCK_SOURCE_OUTPUT, smu.OFF) -- Block 7: Check if 80<=R<=120; if yes, go to Block 10 trigger.model.setblock(7, trigger.BLOCK_BRANCH_LIMIT_CONSTANT, trigger.LIMIT_INSIDE, 80, 120, 10, 5) -- Block 8: Set digital I/O lines 1-4;...
  • Page 223 Section 3: Functions and features Model 2450 Interactive SourceMeter® Instrument Reference Manual Resistor sorting using limit testing with multiple limits This example inspects multiple resistors until it detects the first pass. This example uses a trigger model using constant limits.
  • Page 224 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features Figure 99: Resistor sorting trigger model blocks 6 to 23 2450-901-01 Rev. B/September 2013 3-79...
  • Page 225 Section 3: Functions and features Model 2450 Interactive SourceMeter® Instrument Reference Manual Resistor sorting SCPI code *RST SYST:RSEN ON SENS:FUNC "RES" SENS:RES:MODE MAN SENS:NPLC 1 SENS:AZER:ONCE SENS:VOLT:RANG 2 SOUR:FUNC CURR SOUR:CURR:READ:BACK ON SOUR:CURR:RANG 0.01 SOUR:CURR 0.01 SOUR:CURR:VLIM 2 TRAC:POIN 10...
  • Page 226 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features Resistor sorting TSP code local number_of_resistors = 100 -- Reset instrument to default settings reset() -- Measure function must be first measure setting; -- most other settings are tied to the function smu.measure.func = smu.DC_VOLTAGE...
  • Page 227 Section 3: Functions and features Model 2450 Interactive SourceMeter® Instrument Reference Manual -- Configure digital I/0 line 6 as a trigger output -- Used to send end-of-test trigger to component handler digio.line[6].mode = digio.MODE_TRIGGER_OUT -- Output a falling edge trigger trigger.digout[6].logic = trigger.LOGIC_NEGATIVE...
  • Page 228 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features -- Block 17: Go to Block 12 trigger.model.setblock(17, trigger.BLOCK_BRANCH_ALWAYS, 12) -- Block 18: Set digital I/O lines 1-4; output decimal 2 (binary 0010) to component handler trigger.model.setblock(18, trigger.BLOCK_DIGITAL_IO, 2, 15) -- Block 19: Go to Block 12 trigger.model.setblock(19, trigger.BLOCK_BRANCH_ALWAYS, 12)
  • Page 229 Section 3: Functions and features Model 2450 Interactive SourceMeter® Instrument Reference Manual The tests are performed in ascending numeric order: Test 1 (VF), Test 2 (VR) and then Test 3 (IR). Therefore, the value of VF is inspected against its limit first. The requirement for the value of the limit’s lower bound is that it not exceed some maximum value.
  • Page 230 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features Figure 101: Diode grading trigger model with immediate binning blocks 9 to 19 2450-901-01 Rev. B/September 2013 3-85...
  • Page 231 Section 3: Functions and features Model 2450 Interactive SourceMeter® Instrument Reference Manual Diode grading SCPI code *RST SOUR:CONF:LIST:CRE "SOURCE_LIST" SENS:CONF:LIST:CRE "MEASURE_LIST" SENS:FUNC "VOLT" SOUR:FUNC CURR SENSe:RESistance:RSENse ON SENS:NPLC 1 SENS:VOLT:RANG 2.4 SOUR:CURR:RANG 1 SOUR:CURR 1 SOUR:CURR:VLIM 2.4 SOUR:CURR:DEL:USER1 0.001 SOUR:CONF:LIST:STORE "SOURCE_LIST"...
  • Page 232 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features DIG:LINE1:MODE DIG, OUT DIG:LINE2:MODE DIG, OUT DIG:LINE3:MODE DIG, OUT DIG:LINE4:MODE DIG, OUT DIG:LINE5:MODE TRIG, IN TRIG:DIG5:IN:EDGE FALL DIG:LINE6:MODE TRIG, OUT TRIG:DIG6:OUT:LOG NEG TRIG:DIG6:OUT:PULS 10e-6 TRIG:DIG6:OUT:STIM NOT1 TRIG:LOAD:EMPT TRIG:BLOC:BUFF:CLE 1, "defbuffer1"...
  • Page 233 Section 3: Functions and features Model 2450 Interactive SourceMeter® Instrument Reference Manual Diode grading TSP code -- Number of diodes to test local number_of_diodes = 100 -- Reset instrument to default settings reset() -- Create source and measure configuration lists smu.source.configlist.create("SOURCE_LIST")
  • Page 234 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features smu.source.ilimit.level = SRC_ILIMIT[i] -- Set measurement integration time to 1PLC (16.67ms at 60Hz) -- Decrease to reduce test time; trade off accuracy for speed smu.measure.nplc = 1 -- Immediately update autozero reference measurements and then disable autozero function smu.measure.autozero.once()
  • Page 235 Section 3: Functions and features Model 2450 Interactive SourceMeter® Instrument Reference Manual -- Configure the Trigger Model -- Block 1: Clear defbuffer1 trigger.model.setblock(1, trigger.BLOCK_BUFFER_CLEAR, defbuffer1) -- Block 2: Wait for start-of-test trigger on digital I/O line 5 trigger.model.setblock(2, trigger.BLOCK_WAIT, trigger.EVENT_DIGIO5) -- Block 3: Recall the first point in the source configuration list trigger.model.setblock(3, trigger.BLOCK_CONFIG_RECALL, "SOURCE_LIST")
  • Page 236: Triggering

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features Triggering Triggers are signals that instruct the instrument to make a measurement. The Model 2450 can be set to use the following triggering measurement methods: • Continuous measurements: The instrument continuously makes measurements.
  • Page 237: Switching Between Measurement Methods

    In this mode, the output trigger consists of a low pulse. All non-Keithley instruments attached to the synchronization line in a trigger mode equivalent to SynchronousA must latch the line low during the pulse duration.
  • Page 238 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features Input characteristics: • All rising edges are input triggers. • When all external drives release the physical line, the rising edge is detected as an input trigger. •...
  • Page 239 Section 3: Functions and features Model 2450 Interactive SourceMeter® Instrument Reference Manual Figure 104: SynchronousA input trigger Output characteristics: • In addition to trigger events from other trigger objects, the TSP commands trigger.digout[N].assert() and trigger.tsplinkout[N].assert() release the line if the line is latched low. The pulse width is not used.
  • Page 240: Trigger Model

    Conditionally take actions based on whether the measurement falls within set limits Additional options are detailed in the following sections. The Model 2450 includes predefined trigger models to allow you to quickly implement a trigger model. You can also set up your own trigger models.
  • Page 241 Section 3: Functions and features Model 2450 Interactive SourceMeter® Instrument Reference Manual Measure building block When the trigger model reaches the measurement block: 1. The instrument makes a reading. 2. The trigger model waits for the measurement to complete. 3. The instrument places the measurement into the specified reading buffer. If no buffer is specified, the reading is placed into the default buffer (defbuffer1).
  • Page 242 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features Delay building block When the trigger model reaches a delay building block, it stops the trigger model for the amount of time set by the delay. The delay time is set by the user delay command. This delay can be different for every point in the configuration list.
  • Page 243 Section 3: Functions and features Model 2450 Interactive SourceMeter® Instrument Reference Manual Recall index You can use the configuration list recall index building block to load a specific index from a configuration list. If you do not specify the index in the configuration list, the entire configuration list is restored. If an index is specified, the commands at that index are restored.
  • Page 244 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features Loop counter When the trigger model reaches a loop counter block, it goes to a specified block until the count value is reached. When the counter exceeds the count value, the trigger model ignores the branch and continues to the next building block in the sequence.
  • Page 245 Section 3: Functions and features Model 2450 Interactive SourceMeter® Instrument Reference Manual Dynamic limits The branch-on-dynamic-limits building block defines a trigger model block that goes to a specified block in the trigger model if a measurement meets user-defined criteria. When you define this building block, you set: •...
  • Page 246 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features Once excluded The branch-once-excluded building block is ignored by the trigger model the first time it is encountered. If the trigger model encounters the block again, it goes to a specified building block.
  • Page 247 Section 3: Functions and features Model 2450 Interactive SourceMeter® Instrument Reference Manual Front-panel icon SCPI command Block description TSP command :TRIGger:BLOCk:BRANch:EVENt (on page 6-131) This branches to a specified block when a specified trigger trigger.model.setblock() — trigger.BLOCK_BRANCH_ON_EVENT event occurs page 8-197)
  • Page 248 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features Front-panel icon SCPI command Block description TSP command :TRIGger:BLOCk:BUFFer:CLEar (on page 6-136) This defines a trigger model block that clears the trigger.model.setblock() — trigger.BLOCK_BUFFER_CLEAR (on page reading buffer...
  • Page 249: Predefined Trigger Models

    Predefined trigger models The Model 2450 includes predefined trigger models for common applications. You can use these predefined trigger models without changing them, or you can modify them to meet the needs of your application.
  • Page 250 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features Using a predefined trigger model Before starting the trigger model, you need to set up your instrument for testing, including the source and measurement settings. The trigger model will use these settings when making measurements.
  • Page 251: Assembling Trigger Model Building Blocks

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Using a predefined trigger model to develop a trigger model The Model 2450 includes predefined trigger models that you can use as a starting point for developing your trigger model. After modifying a trigger model, you can save it in a saved setup for future use. See Saving setups (on page 2-112) for information on how to save a configuration.
  • Page 252: Running The Trigger Model

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features Determining the structure of the existing trigger model You can retrieve the existing trigger model structure from the front panel or by using remote commands. Using the front panel: 1.
  • Page 253 Section 3: Functions and features Model 2450 Interactive SourceMeter® Instrument Reference Manual Starting the trigger model Using the front panel: 1. Press the front-panel TRIGGER key for two seconds. A screen displays with the available trigger methods; the presently selected method is in yellow type.
  • Page 254: Using Trigger Events To Start Actions In The Trigger Model

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features Checking the state of the trigger model The trigger model can be in one of several states. The state is shown in the indicator bar on the Home page of the instrument.
  • Page 255 Section 3: Functions and features Model 2450 Interactive SourceMeter® Instrument Reference Manual Trigger events To use trigger events, you need to specify the event constant. The tables below show the constants for the trigger events in the system. Trigger events — SCPI command set...
  • Page 256 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features Trigger events Event description Event constant trigger.EVENT_NONE No trigger event trigger.EVENT_TIMERN Trigger timer N (1 to 4) expired trigger.EVENT_SOURCE_LIMIT Source limit condition occurs Using the TRIGGER key to generate an event You can use the front-panel TRIGGER key to generate a trigger event.
  • Page 257 Section 3: Functions and features Model 2450 Interactive SourceMeter® Instrument Reference Manual Respond to an event with a wait block The wait building block causes the trigger model to stop and wait for an event or set of events to occur before continuing.
  • Page 258 2450. Both types of lines are configured and controlled the same way. You can configure the Model 2450 to use the digital I/O to send signals to trigger external instruments. When you link these output triggers to the completion of certain source-measure actions, it enables hardware handshaking.
  • Page 259 The stateless event flag is a bit in the LXI trigger packet that indicates if the hardware value should be ignored. If it is set, the Model 2450 ignores the hardware value of the packet and generates a trigger event. The Model 2450 always sets the stateless flag for outgoing LXI trigger packets. If the stateless event flag is not set, the hardware value indicates the state of the signal.
  • Page 260 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features Event blenders The ability to combine trigger events that occur at different times is known as event blending. An event blender can be used to wait for a specific input trigger or to wait for up to four input triggers to occur before responding with an output event.
  • Page 261: Trigger Timers

    Trigger timers You can use trigger timers to add delays, start measurements, and change the source value at timed intervals. The Model 2450 has 1 to 4 independent timers. Timer attributes Each timer has attributes that you can configure. These attributes are described in the following sections.
  • Page 262 The Model 2450 has 1 to 4 independent timers. For example, you can use a trigger timer to control the delay between non-sequential blocks. After creating a trigger timer, you can insert a notify block to start the timer at a specific point in the trigger model.
  • Page 263: Tsp-Link System Expansion Interface

    It is not available if you are using SCPI commands. TSP-Link connections The Model 2450 has three synchronization lines that are built into the TSP-Link connection. If you are using a TSP-Link network, you do not have to modify any connections.
  • Page 264 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features Figure 106: TSP-Link connections Item Description Notes Controller Optional. A computer is not needed for stand- alone systems. Communication connection Optional. Connection from controller to the master node through GPIB, LAN, or USB. Details about...
  • Page 265: Tsp-Link Nodes

    The product serial number of the node. Assigning node numbers Each Model 2450 instrument is initially assigned as node 2. You can assign node numbers from 1 to 64. However, the system can only include 32 physical nodes. The node number for each instrument is stored in its nonvolatile memory and remains in storage when the instrument is turned off.
  • Page 266: Master And Subordinates

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features Master and subordinates ® In a TSP-Link system, one of the nodes (instruments) is the master node and the other nodes are ® the subordinate nodes. The master node in a TSP-Link system can control the other nodes (subordinates) in the system.
  • Page 267: Sending Commands To Tsp-Link Nodes

    Section 3: Functions and features Model 2450 Interactive SourceMeter® Instrument Reference Manual From the front panel: 1. Power on all instruments connected to the TSP-Link network. 2. Press the MENU key. 3. Under System, select Communication. The SYSTEM COMMUNICATION window opens.
  • Page 268: Terminating Scripts On The Tsp-Link System

    TSP-Link system. To do this, press the OUTPUT ON/OFF switch on any instrument in the system. Triggering using TSP-Link synchronization lines The Model 2450 has three synchronization lines that you can use for triggering, digital I/O, and to ®...
  • Page 269 Section 3: Functions and features Model 2450 Interactive SourceMeter® Instrument Reference Manual Using groups to manage nodes on a TSP-Link system TSP-Link groups allow each group to run a different test script simultaneously. This method requires one TSP-Link network and a single GPIB connection to the computer that is connected to the master node.
  • Page 270 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features Group leader overview Each group has a dynamic group leader. The last node in a group that performs any operation initiated by the master node is the group leader.
  • Page 271 Section 3: Functions and features Model 2450 Interactive SourceMeter® Instrument Reference Manual Coordinating overlapped operations in remote groups All overlapped operations on all nodes in a group must have completed before the master node can send a command to the group. If you send a command to a node in a remote group when an overlapped operation is running on any node in that group, errors will occur.
  • Page 272 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features You cannot access the reading buffers or global variables from any node in a remote group while a node in that group is performing an overlapped operation. However, you can use the data queue to retrieve data from any node in a group that is performing an overlapped operation.
  • Page 273 (on page 8-1) for complete details on these commands. Use the commands in following table to perform basic steady-state digital I/O operations; for example, you can program the Model 2450 to read and write to a specific TSP-Link synchronization line or to the entire port. TSP-Link commands...
  • Page 274: Using Model 2450 Tsp-Link Commands With Other Tsp-Link Products

    Using Model 2450 TSP-Link commands with other TSP-Link products If you are connecting the Model 2450 in a system with other TSP-Link products, be aware that some of the TSP-Link commands may be different. You can use the earlier versions of the commands, but be aware that they may not be supported in future versions of the product.
  • Page 275: Tsp-Net

    Using TSP-Net commands with TSP-enabled instruments, a Model 2450 can download a script to another TSP-enabled instrument and have both instruments run scripts independently. The Model 2450 can read the data from the remote instrument and either manipulate the data or send the data to a different remote instrument on the LAN.
  • Page 276: Using Tsp-Net With Any Ethernet-Enabled Instrument

    To communicate to a remote ethernet device from the Model 2450: 1. Connect to the remote device using one of the above procedures. If the Model 2450 cannot make a connection to the remote device, it generates a timeout error. Use tspnet.timeout to set the timeout value.
  • Page 277: Remote Instrument Errors

    Remote instrument errors If the Model 2450 is connected to a TSP-enabled instrument through TSP-Net, all errors that occur on the remote instrument are transferred to the event log of the Model 2450. The Model 2450 indicates events from the remote instrument by prefacing these events with “Remote Error.” For example, if the remote instrument generates error code 4909, "Reading buffer not found within device,"...
  • Page 278: Tsp-Net Instrument Commands: Tsp-Enabled Device Control

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 3: Functions and features TSP-Net instrument commands: TSP-enabled device control The following instrument commands provide TSP-enabled device control: tspnet.tsp.abort() (on page 8-245) tspnet.tsp.abortonconnect (on page 8-245) tspnet.tsp.rbtablecopy() (on page 8-246) tspnet.tsp.runscript() (on page 8-247)
  • Page 280: Circuit Configurations

    Safety shield ................4-10 Grounding ................4-11 Floating the Model 2450 ............4-12 Guarding ................4-14 Using the Model 2450 in a custom test fixture or system ..4-15 Sink operation ................ 4-17 Battery charge and discharge ..........4-17 Timing information ..............4-18 Calculating accuracy ..............
  • Page 281 Section 4: Source-measure considerations Model 2450 Interactive SourceMeter® Instrument Reference Manual The current source does not use the sense leads to enhance current source accuracy. However, if the instrument is in 4-wire sense, the instrument may reach limit levels if you disconnect the sense leads.
  • Page 282: Source Voltage

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 4: Source-measure considerations Source voltage When you configure the instrument to source voltage, it functions like a low-impedance voltage source that can limit current. The instrument can measure current or voltage. This configuration is shown in the figure below.
  • Page 283: Operating Boundaries

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Operating boundaries Operating boundaries define the current and voltage limits of the instrument. The general operating boundaries of the Model 2450 are shown in the following figure. Figure 109: Model 2450 operating boundaries 2450-901-01 Rev. B/September 2013...
  • Page 284: Current Source Operating Boundaries

    30 °C (86 °F) or less. Above 30 °C, high power operation could overheat the instrument, causing the output to turn off. The four quadrants of the operating boundaries are defined as I, II, III, and IV. The Model 2450 can operate in any of the four quadrants.
  • Page 285: Voltage Limit Boundary Examples

    200 Ω. The instrument is sourcing 100 mA to the 200 Ω load and subsequently measures 20 V. The load for 200 Ω intersects the 100 mA current source at 20 V. Figure 111: Model 2450 limit boundary example — normal Voltage meter = Current source * DUT load (100 mA)(200 Ω)
  • Page 286: Current Limit Boundary Examples

    In this graph, the resistive load is 2 kΩ. The instrument is sourcing 50 V to the 2 kΩ load and subsequently measures 25 mA. The load for 2 kΩ intersects the 50 V voltage source at 25 mA. Figure 113: Model 2450 current limit boundary example normal 2450-901-01 Rev. B/September 2013...
  • Page 287: Using Nplcs To Adjust Speed And Accuracy

    For the 800 Ω DUT, the instrument will only output 40 V at the 50 mA limit. Figure 114: Model 2450 current limit boundary example limited Voltage source = Current * DUT resistance (50 mA)(800 Ω)
  • Page 288 The speed setting affects the normal mode rejection ratio (NMRR) and common mode rejection ratio (CMRR). Normal mode noise is the noise signal between the HI and LO terminals; common-mode noise is the noise signal between LO and chassis ground. See the Model 2450 specification for NMRR and CMRR values at different PLC settings.
  • Page 289: Noise Shield

    A safety shield must be used whenever hazardous voltages (>30 V RMS, 42 V peak) will be present in the test circuit. To prevent electrical shock that could cause injury or death, never use the Model 2450 in a test circuit without a properly installed and configured safety shield.
  • Page 290: Safety Shielding

    Grounding Noise and chassis ground Using the chassis as a ground point for signal connections to the Model 2450 chassis may result in different levels of noise, depending on your setup. If the Model 2450 common-mode current is channeled to the chassis instead of the device, the tie point to the chassis can help quiet measurements.
  • Page 291: Floating The Model 2450

    If you use an external source in the test system, you may need the Model 2450 to float off chassis earth ground. An example is shown below, which includes an external voltage source. Notice that output LO of the external voltage source is connected to chassis ground.
  • Page 292 Figure 118: Connections for floating the instrument The external voltage source can be a SMU of a second Model 2450 instrument or other instrument. Keep in mind that if the combined outputs of the sources exceeds 42 V, a safety shield is required for the DUT (see the following warnings).
  • Page 293: Guarding

    (less than 1 μA) or when test circuit impedance is more than 1 GΩ. Also use guard in noisy environments. The rear panel of the Model 2450 includes an approximately 10 Ω driven guard at the SENSE HI and FORCE HI connections. This guard is always enabled and provides a buffered voltage. For 2-wire measurements, guard is at the same level as the FORCE HI voltage.
  • Page 294: Guard Circuit Drawing

    Figure 119: Guarded configuration Using the Model 2450 in a custom test fixture or system You can use the Model 2450 safely with a properly designed custom test fixture or with a semiconductor device prober or handler. Connect the enclosure of all metal test fixtures to protective earth (safety ground).
  • Page 295: Connecting The Model 2450 Output To A Custom Test Fixture

    You can use high voltage coaxial or triaxial connectors on your test fixture. The following sections show you how to connect from the Model 2450 to the custom fixture and also how to make connections to the device inside the custom fixture.
  • Page 296: Sink Operation

    Section 4: Source-measure considerations Sink operation When the Model 2450 is operating as a sink, voltage and current have opposite polarities and the instrument is dissipating power rather than sourcing it. The instrument can be forced into sink operation by an external source, such as a battery, or an energy storage device, such as a capacitor.
  • Page 297: Timing Information

    Carefully consider and configure the output-off state, source, and limits before connecting the Model 2450 to a device that can deliver energy. Devices that can deliver energy include voltage sources, batteries, capacitors, and solar cells. Configure instrument settings before making connections to the device.
  • Page 298: Overtemperature Protection

    When you return power to the instrument, verify that the cooling fan is running. If not, contact Keithley Instruments. Leaving the instrument turned on with the failure message displayed or with an inoperative cooling fan may result in damage to the instrument.
  • Page 299: Calculating Measurement Accuracy

    Instrument operations, including offset-compensated ohms, are performed on the input signal in a sequential manner. For a normal resistance measurement, the Model 2450 sources a current (I) and measures the voltage (V). The resistance (R) is then calculated as (R=V/I) and the reading is displayed.
  • Page 300: Power Calculations

    I is the measured current High capacitance operation The Model 2450 high capacitance feature can prevent problems when you are measuring low current and driving a capacitive load. In this situation, you may see overshoot, ringing, and instability. This occurs because the pole formed by the load capacitance and the current range resistor can cause a phase shift in the voltage-control loop of the instrument.
  • Page 301: Charging The Capacitor And Making Readings

    The Model 2450 has two filter options, repeating average and moving average. The repeating average filter produces slower results, but produces more stable results than the moving average filter.
  • Page 302: Setting Up The Averaging Filter

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 4: Source-measure considerations Setting up the averaging filter Using the front panel: 1. Press the MENU key. 2. Under Measure, select Math. 3. For the Filter State, select ON or OFF. 4. For the Filter Type, select Moving or Repeat.
  • Page 303: Reset Default Values

    Section 4: Source-measure considerations Model 2450 Interactive SourceMeter® Instrument Reference Manual Reset default values When you turn instrument power on and off or send a reset command, many of the settings in the instrument are reset to their default values.
  • Page 304 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 4: Source-measure considerations Digital I/O reset values Setting Default value on reset Not available from front panel Digital line, input :DIGital:LINE<n>:MODE (on page 6-19) digio.line[N].mode (on page 8-43) Display reset values Setting...
  • Page 305 Section 4: Source-measure considerations Model 2450 Interactive SourceMeter® Instrument Reference Manual Terminal reset values Setting Default value on reset TERMINALS button Front :ROUTe:TERMinals (on page 6-35) smu.measure.terminals (on page 8-124) Measurement reset values Setting Default value on reset Not available from front panel...
  • Page 306 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 4: Source-measure considerations Setting Default value on reset Not available from front panel [:SENSe[1]]:<function>:RELative (on page 6-55) smu.measure.rel.level (on page 8-122) MENU > Measure > Filter/Math > Rel State [:SENSe[1]]:<function>:RELative:STATe (on page 6-57) smu.measure.rel.enable...
  • Page 307 Section 4: Source-measure considerations Model 2450 Interactive SourceMeter® Instrument Reference Manual Buffer reset values Setting Default value on reset Not available from front panel Default buffers: Continuous :TRACe:FILL:MODE (on page 6-112) User-defined bufferVar.fillmode (on page 8-19) buffers: Once Not available from front panel...
  • Page 308 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 4: Source-measure considerations Setting Default value on reset Not available from front panel :TRIGger:TIMer<n>:STARt:GENerate (on page 6-170) trigger.timer[N].start.generate (on page 8-221) Not available from front panel :TRIGger:TIMer<n>:STARt:SEConds (on page 6-171) trigger.timer[N].start.seconds (on page 8-222)
  • Page 310: Introduction To Scpi Commands

    The following information describes some basic SCPI command information and how SCPI is used with the Model 2450 and presented in the Model 2450 documentation. Command execution rules Command execution rules are as follows: •...
  • Page 311: Scpi Command Programming Notes

    Section 5: Introduction to SCPI commands Model 2450 Interactive SourceMeter® Instrument Reference Manual The examples above show commands that are sent individually. You can also group command messages when you send them to the instrument. To group a set of commands, separate them with semicolons.
  • Page 312 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 5: Introduction to SCPI commands MINimum, MAXimum, and DEFault You can use MINimum, MAXimum, or DEFault instead of a parameter for some commands. For example, you can set <defaultParameter> for the command [:SENSe[1]]:RESistance:NPLCycles <defaultParameter>...
  • Page 313: Using The Scpi Command Reference

    Section 5: Introduction to SCPI commands Model 2450 Interactive SourceMeter® Instrument Reference Manual Sending strings If you are sending a string, it must begin and end with matching quotes (either single quotes or double quotes). If you want to include a quote character as part of the string, type it twice with no characters in between.
  • Page 314 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 5: Introduction to SCPI commands Command name and summary table Each instrument command description starts with the command name, followed by a table with relevant information for each command. Definitions for the numbered items below are listed following the figure.
  • Page 315 Section 5: Introduction to SCPI commands Model 2450 Interactive SourceMeter® Instrument Reference Manual Command usage The Usage section of the remote command listing shows how to properly structure the command. Each line in the Usage section is a separate variation of the command usage; all possible command usage options are shown here.
  • Page 316 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 5: Introduction to SCPI commands Figure 125: SCPI command description code examples 1. Example code that you can copy from this table and paste into your own application. Examples are generally shown using the short forms of the commands.
  • Page 318: Scpi Command Reference

    Section 6 SCPI command reference In this section: *RCL ..................6-1 *SAV ..................6-2 :ABORt ..................6-2 :FETCh? ................... 6-3 :MEASure:<function>? ............. 6-4 :READ? ..................6-6 CALCulate subsystem .............. 6-7 DIGital subsystem ..............6-19 DISPlay subsystem ..............6-22 FORMat.................. 6-28 OUTPut subsystem ..............
  • Page 319: Rcl

    Command Not applicable Not applicable Not applicable Usage :ABORt Details When this command is received, the Model 2450 stops the trigger model. Also see Aborting the trigger model (on page 3-108) Trigger model (on page 3-95) 2450-901-01 Rev. B/September 2013...
  • Page 320: Fetch

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference :FETCh? This query command requests the latest reading that was stored in a reading buffer. Type Affected by Where saved Default value Query Not applicable Not applicable Not applicable...
  • Page 321: Measure:

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual If you have FORMat[:DATA] set to REAL or SREAL, you will have fewer options for buffer elements. If you request one of the buffer elements, you will see the error 1133, "Parameter 4, Syntax error, expected valid name parameters."...
  • Page 322: Read

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference The options for <bufferElements> are described in the following table. Option Description DATE The date when the data point was measured FORMatted The measured value as it appears on the front panel...
  • Page 323: Read

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual :READ? This query makes measurements, places them in a reading buffer, and returns the latest reading. Type Affected by Where saved Default value Query only Not applicable Not applicable...
  • Page 324: Calculate Subsystem

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference If you have FORMat[:DATA] set to REAL or SREAL, you will have fewer options for buffer elements. If you request one of the buffer elements, you will see the error 1133, "Parameter 4, Syntax error, expected valid name parameters."...
  • Page 325: Calculate[1]::Math:mbfactor

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Details This specifies which math operation is performed on measurements for the selected measurement function. You can choose one of the following math operations: • y = mx+b: Manipulate normal display readings by adjusting the m and b factors.
  • Page 326 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference Details This attribute specifies the offset (b) for an mx + b operation. The mx+b math operation lets you manipulate normal display readings (x) mathematically according to the...
  • Page 327: Calculate[1]::Math:mmfactor

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual :CALCulate[1]:<function>:MATH:MMFactor This command specifies the scale factor for the y = mx + b math operation. Type Affected by Where saved Default value Command and query Recall settings Save settings 1.000000...
  • Page 328: Calculate[1]::Math:percent

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference :CALCulate[1]:<function>:MATH:PERCent This command specifies the constant that is used when math operations are set to percent. Type Affected by Where saved Default value Command and query Recall settings Save settings 1.000000...
  • Page 329: Calculate[1]::Math:state

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual :CALCulate[1]:<function>:MATH:STATe This command enables or disables the math operations. Type Affected by Where saved Default value Command and query Recall settings Save settings 0 (OFF) Instrument reset Measure configuration list...
  • Page 330: Calculate2::Limit:Clear:auto

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference :CALCulate2:<function>:LIMit<Y>:CLEar:AUTO This command indicates if limit Y should be cleared automatically or not. Type Affected by Where saved Default value Command and query Recall settings Save settings 1 (ON)
  • Page 331: Calculate2::Limit:Clear[:Immediate]

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual :CALCulate2:<function>:LIMit<Y>:CLEar[:IMMediate] This command clears the results of the limit test. Type Affected by Where saved Default value Command only Not applicable Not applicable Not applicable Usage :CALCulate2:<function>:LIMit<Y>:CLEar[:IMMediate] <function>...
  • Page 332: Calculate2::Limit:Fail

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference :CALCulate2:<function>:LIMit<Y>:FAIL? This command queries the results of a limit test. Type Affected by Where saved Default value Query only Not applicable Not applicable Not applicable Usage :CALCulate2:<function>:LIMit<Y>:FAIL? <function>...
  • Page 333: Calculate2::Limit:Lower[:Data]

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual :CALCulate2:<function>:LIMit<Y>:LOWer[:DATA] This command specifies the lower limit for limit tests. Type Affected by Where saved Default value Command and query Recall settings Save settings -1.000000E+00 Instrument reset Measure configuration list...
  • Page 334: Calculate2::Limit:State

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference :CALCulate2:<function>:LIMit<Y>:STATe This command enables or disables a limit test. Type Affected by Where saved Default value Command and query Recall settings Save settings 0 (OFF) Instrument reset Measure configuration list...
  • Page 335: Calculate2::Limit:Upper[:Data]

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual :CALCulate2:<function>:LIMit<Y>:UPPer[:DATA] This command specifies the upper limit for a limit test. Type Affected by Where saved Default value Command and query Recall settings Save settings 1.000000E+00 Instrument reset...
  • Page 336: Digital Subsystem

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference DIGital subsystem The commands in the DIGital subsystem control the digital I/O lines. :DIGital:LINE<n>:MODE This command sets the digital I/O line to be a digital line or trigger model line and sets the line as an input, output, or open-drain.
  • Page 337: Digital:line:State

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual :DIGital:LINE<n>:STATe This command sets a digital I/O line high or low. Type Affected by Where saved Default value Command and query Not applicable Nonvolatile memory See Details Usage :DIGital:LINE<n>:STATe <state>...
  • Page 338: Digital:read

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference :DIGital:READ? This command reads the digital I/O port. Type Affected by Where saved Default value Query Not applicable Not applicable Not applicable Usage :DIGital:READ? Details The binary equivalent of the returned value indicates the value of the input lines on the I/O port. The least significant bit (bit B1) of the binary number corresponds to digital I/O line 1;...
  • Page 339: Display Subsystem

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual DISPlay subsystem This subsystem contains commands that control the front-panel display. :DISPlay:CLEar This command clears the front-panel User Display swipe screen. Type Affected by Where saved Default value...
  • Page 340: Display::Digits

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference :DISPlay:<function>:DIGits This command determines the number of digits that are displayed for measurements on the front panel. Type Affected by Where saved Default value Command and query Recall settings...
  • Page 341: Display:light:state

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual :DISPlay:LIGHt:STATe This command sets the brightness of the front-panel display. Type Affected by Where saved Default value Command and query ON75 Usage :DISPlay:LIGHt:STATe <brightness> :DISPlay:LIGHt:STATe? <brightness> The brightness of the display: 100%: ON100 •...
  • Page 342: Display:reading:format

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference :DISPlay:READing:FORMat This command determines the format that is used to display measurement readings on the front-panel display of the instrument. Type Affected by Where saved Default value Command and query...
  • Page 343: Display:screen

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual :DISPlay:SCReen This command changes which front-panel screen is displayed. Type Affected by Where saved Default value Command Not applicable Not applicable Not applicable Usage :DISPlay:SCReen <screenName> <screenName> The screen to display: Home screen: HOME •...
  • Page 344: Display:user:Text[:Data]

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference :DISPlay:USER<n>:TEXT[:DATA] This command defines the text that is displayed on the front-panel User Display screen. Type Affected by Where saved Default value Command only Power cycle Not applicable...
  • Page 345: Format

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual FORMat The commands for this subsystem select the data format that is used to transfer instrument readings over the remote interface. :FORMat:ASCii:PRECision This command sets the precision (number of digits) for all numbers returned in the ASCII format.
  • Page 346: Format:border

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference :FORMat:BORDer This command sets the byte order for the IEEE-754 binary formats. Type Affected by Where saved Default value Command and query Recall settings Save settings SWAP Instrument reset...
  • Page 347: Format[:Data]

    This command affects the output of READ?, FETCh?, MEASure:<function>?, and TRACe:DATA queries over a remote interface. All other queries are returned in the ASCII format. The Model 2450 only responds to input commands using the ASCII format, regardless of the data format that is selected for output strings.
  • Page 348: Output Subsystem

    Details This command sets the state of the output when the source is off for the selected function. When the Model 2450 is set to the normal output-off state, the following settings are made when the source is turned off: •...
  • Page 349 Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual When the zero output-off state is selected, when you turn off the output: • The measurement sense is changed to 2-wire sense • The source function is set to voltage •...
  • Page 350: Output[1]:Interlock:tripped

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference :OUTPut[1]:INTerlock:TRIPped? This command indicates that the interlock has been tripped. Type Affected by Where saved Default value Query only Not applicable Not applicable Not applicable Usage OUTPut[1]:INTerlock:TRIPped? Details This command gives you the status of the interlock.
  • Page 351: Output[1][:State]

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual :OUTPut[1][:STATe] This command enables or disables the source output. Type Affected by Where saved Default value Command and query Recall settings Save settings 0 (OFF) Instrument reset Source configuration list...
  • Page 352: Route Subsystem

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference ROUTe subsystem The ROUTe subsystem selects which set of input and output terminals to enable (front panel or rear panel). :ROUTe:TERMinals This command determines which set of input and output terminals the instrument is using.
  • Page 353: Sense1 Subsystem

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual SENSe1 subsystem The Sense1 subsystem commands configure and control the measurement functions of the Model 2450. Many of these commands are set for a specific function (current, voltage, or resistance). For example, you can program a range setting for each function.
  • Page 354: [:Sense[1]]:Configuration:list:catalog

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference [:SENSe[1]]:CONFiguration:LIST:CATalog? This command returns the name of one measure configuration list. Type Affected by Where saved Default value Query Not applicable Not applicable Not applicable Query [:SENSe[1]]:CONFiguration:LIST:CATalog? Details You can use this command to see the names of measure configuration lists stored on the instrument.
  • Page 355: [:Sense[1]]:Configuration:list:delete

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual [:SENSe[1]]:CONFiguration:LIST:DELete This command deletes a measure configuration list. Type Affected by Where saved Default value Command Not applicable Not applicable Not applicable Usage [:SENSe[1]]:CONFiguration:LIST:DELete <name> [:SENSe[1]]:CONFiguration:LIST:DELete <name>, <point>...
  • Page 356: [:Sense[1]]:Configuration:list:query

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference [:SENSe[1]]:CONFiguration:LIST:QUERy? This command returns a list of TSP commands that represent the parameters that are stored in the specified configuration point. Type Affected by Where saved Default value...
  • Page 357: [:Sense[1]]:Configuration:list:recall

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual [:SENSe[1]]:CONFiguration:LIST:RECall This command recalls a specific configuration point in a specific measure configuration list. Type Affected by Where saved Default value Command Not applicable Not applicable Not applicable Usage [:SENSe[1]]:CONFiguration:LIST:RECall <name>...
  • Page 358: [:Sense[1]]:Configuration:list:store

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference Details This command returns the size (number of configuration points) of a measure configuration list.. The size of the list is equal to the number of configuration points in a configuration list.
  • Page 359: [:Sense[1]]:Count

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual [:SENSe[1]]:COUNt This command sets the number of measurements to be performed when a measurement is requested. Type Affected by Where saved Default value Command and query Recall settings...
  • Page 360: [:Sense[1]]::Average:count

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference [:SENSe[1]]:<function>:AVERage:COUNt This command sets the number of measurements that are averaged when filtering is enabled for the function measurements. Type Affected by Where saved Default value Command and query...
  • Page 361 Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual [:SENSe[1]]:<function>:AVERage[:STATe] This command enables or disables the averaging filter for measurements of the selected function. Type Affected by Where saved Default value Command and query Recall settings Save settings...
  • Page 362: [:Sense[1]]::Average:tcontrol

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference [:SENSe[1]]:<function>:AVERage:TCONtrol This command set the type of averaging filter that is used for measurements for the selected function when the measurement filter is enabled. Type Affected by Where saved...
  • Page 363: [:Sense[1]]::Azero[:State]

    The time interval between updates to these reference measurements is determined by the integration aperture that is being used for measurements. The Model 2450 uses separate reference and zero measurements for each aperture.
  • Page 364: [:Sense[1]]::Delay:user

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference This additional time can cause problems in sweeps and other test sequences in which measurement timing is critical. To avoid the time that is needed for the reference measurements in these situations, you can disable autozero.
  • Page 365: [:Sense[1]]::Nplcycles

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual [:SENSe[1]]:<function>:NPLCycles This command sets the time that the input signal is measured for measurements of the selected function. Type Affected by Where saved Default value Command and query...
  • Page 366: [:Sense[1]]::Ocompensated

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference [:SENSe[1]]:<function>:OCOMpensated This command enables or disables offset compensation for resistance measurements. Type Affected by Where saved Default value Command and query Recall settings Save settings 0 (OFF) Instrument reset...
  • Page 367: [:Sense[1]]::Range:auto

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Details Set this command to the type of measurement you want to make. Reading this attribute returns the function that is presently active. Examples :FUNC "VOLTage" Make the voltage measurement function the active function.
  • Page 368: [:Sense[1]]::Range:auto:llimit

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference [:SENSe[1]]:<function>:RANGe:AUTO:LLIMit This command selects the lower limit for measurements of the selected function when the range is selected automatically. Type Affected by Where saved Default value Command and query...
  • Page 369: [:Sense[1]]::Range:auto:ulimit

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual [:SENSe[1]]:<function>:RANGe:AUTO:ULIMit When autorange is selected, this command selects the upper limit for measurements of the selected function. Type Affected by Where saved Default value Command and query Recall settings...
  • Page 370: [:Sense[1]]::Range[:Upper]

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference [:SENSe[1]]:<function>:RANGe[:UPPer] This command sets the positive full-scale value of the measurement range for measurements of the selected function. Type Affected by Where saved Default value Command and query...
  • Page 371 Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual For example, for current measurements, if you expect a reading of approximately 50 mA, set <n> to 0.05 (or 50e-3) to select the 100 mA range. For voltage measurements, if you expect a reading of approximately 50 mV, let <n>...
  • Page 372: [:Sense[1]]::Relative

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference [:SENSe[1]]:<function>:RELative This command specifies the relative offset value for the measurement. Type Affected by Where saved Default value Command and query Recall settings Save settings Instrument reset Measure configuration list...
  • Page 373: [:Sense[1]]::Relative:acquire

    [:SENSe[1]]:VOLTage[:DC]:RELative:ACQuire Details This command triggers the Model 2450 to make a new measurement for the selected function. This measurement is then stored as the new relative offset level setting. When you send this command, the measurement is made without applying any math, limit test, or filter settings, even if they are set.
  • Page 374: [:Sense[1]]::Relative:state

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference [:SENSe[1]]:<function>:RELative:STATe This command enables or disables the relative offset value. Type Affected by Where saved Default value Command and query Recall settings Save settings 0 (OFF) Instrument reset...
  • Page 375: [:Sense[1]]::Rsense

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual [:SENSe[1]]:<function>:RSENse This command selects local (2-wire) or remote (4-wire) sensing. Type Affected by Where saved Default value Command and query Recall settings Save settings 0 (OFF) Instrument reset...
  • Page 376: [:Sense[1]]::Unit

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference [:SENSe[1]]:<function>:UNIT This command describes the units of measurement that are displayed on the front panel of the instrument and stored in the reading buffer. Type Affected by Where saved...
  • Page 377: Source Subsystem

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual SOURce subsystem The commands in the SOURce subsystem configure and control the current source and voltage source. :SOURce[1]:CONFiguration:LIST:CATalog? This command returns the name of one source configuration list.
  • Page 378: Source[1]:Configuration:list:create

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference :SOURce[1]:CONFiguration:LIST:CREate This command creates an empty source configuration list for sourcing. Type Affected by Where saved Default value Command only Recall settings Save settings Not applicable Instrument reset...
  • Page 379: Source[1]:Configuration:list:delete

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual :SOURce[1]:CONFiguration:LIST:DELete This command deletes a source configuration list. Type Affected by Where saved Default value Command only Not applicable Not applicable Not applicable Usage :SOURce[1]:CONFiguration:LIST:DELete <name> :SOURce[1]:CONFiguration:LIST:DELete <name>, <point>...
  • Page 380: Source[1]:Configuration:list:query

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference :SOURce[1]:CONFiguration:LIST:QUERy? This command returns a list of TSP commands that represent the parameters that are stored in the specified configuration point. Type Affected by Where saved Default value...
  • Page 381: Source[1]:Configuration:list:size

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Details Use this command to recall the settings stored in a specific configuration point on a specific configuration list. If you do not specify a point when you send the command, it recalls the settings stored in the first configuration point on the specified configuration list.
  • Page 382: Source[1]:Configuration:list:store

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference :SOURce[1]:CONFiguration:LIST:STORe This command stores the active source settings into the named configuration list. Type Affected by Where saved Default value Command only Recall settings Saved settings Not applicable...
  • Page 383: Source[1]::Delay

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual :SOURce[1]:<function>:DELay This command sets the source delay. Type Affected by Where saved Default value Command and query Recall settings Save settings Not applicable Instrument reset Source configuration list...
  • Page 384: Source[1]::Delay:auto

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference :SOURce[1]:<function>:DELay:AUTO This command enables or disables the autodelay that occurs when the source is turned on. Type Affected by Where saved Default value Command and query Recall settings...
  • Page 385: Source[1]::Delay:user

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual :SOURce[1]:<function>:DELay:USER<n> This command sets a user-defined delay that can be used in the trigger model. Type Affected by Where saved Default value Command and query Recall settings Save settings 0.000000E+00...
  • Page 386: Source[1]::High:capacitance

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference :SOURce[1]:<function>:HIGH:CAPacitance This command enables or disables high capacitance feature. Type Affected by Where saved Default value Command and query Recall settings Save settings 0 (OFF) Instrument reset Source configuration list...
  • Page 387: Source[1]:[:Level][:Immediate][:Amplitude]

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual :SOURce[1]:<function>[:LEVel][:IMMediate][:AMPLitude] This command immediately selects a fixed amplitude for the selected source function. Type Affected by Where saved Default value Command Recall settings Save settings Instrument reset Source configuration list...
  • Page 388: Source[1]::Limit[:Level]

    Current: −210 to 210: Range for a limit set by the user Details This command sets the source limit for measurements. The Model 2450 cannot source levels that exceed this limit. The values that can be set for this command are limited by the setting for the overvoltage protection limit.
  • Page 389: Source[1]::Limit[:Level]:Tripped

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual :SOURce[1]:<function>:<x>LIMit[:LEVel]:TRIPped? This command indicates if the source exceeded the limits that were set for the selected measurements. Type Affected by Where saved Default value Query Not applicable Not applicable...
  • Page 390: Source[1]::Protection[:Level]

    When this attribute is used in a test sequence, it should be set before the turning the source on. Even with the overvoltage protection set to the lowest value, never touch anything connected to the terminals of the Model 2450 when the output is on. Always assume that a hazardous voltage (>30 V ) is present when the output is on.
  • Page 391: Source[1]::Protection[:Level]:Tripped

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual :SOURce[1]:<function>:PROTection[:LEVel]:TRIPped? This command indicates if the overvoltage source protection feature is active. Type Affected by Where saved Default value Query only Not applicable Not applicable Not applicable Usage...
  • Page 392: Source[1]::Range:auto

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference Details This command manually selects the measurement range for the specified source. If you select a specific source range, the range must be large enough to source the value. If not, an overrange condition can occur.
  • Page 393 Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Details This command indicates the state of the range for the selected source. When automatic source range is disabled, the source range is set manually. When automatic source range is enabled, the instrument selects the range that is most appropriate for the value that is being sourced.
  • Page 394: Source[1]::Read:back

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference :SOURce[1]:<function>:READ:BACK This command determines if the instrument records the measured source value or the configured source value when making a measurement. Type Affected by Where saved Default value...
  • Page 395: Source[1]:List:

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual :SOURce[1]:LIST:<function> This command allows you to set up a list of custom values for a sweep. Type Affected by Where saved Default value Command and query Recall settings...
  • Page 396: Source[1]:List::Append

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference :SOURce[1]:LIST:<function>:APPend This command adds values to the source list for the selected source function. Type Affected by Where saved Default value Command only Recall settings Save settings Not applicable...
  • Page 397: Source[1]:List::Points

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual :SOURce[1]:LIST:<function>:POINts? This command queries the length of the source list for the selected source function. Type Affected by Where saved Default value Query only Not applicable Not applicable...
  • Page 398: Source[1]:Sweep::Linear

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference :SOURce[1]:SWEep:<function>:LINear This command sets up a linear sweep for a set number of measurement points. Type Affected by Where saved Default value Command only Recall settings Save settings...
  • Page 399 Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Details When the sweep is started, the instrument sources a specific voltage or current value to the device under test (DUT). A measurement is made for each point of the sweep.
  • Page 400: Source[1]:Sweep::Linear:step

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference :SOURce[1]:SWEep:<function>:LINear:STEP This command sets up a linear source sweep configuration list and trigger model with a fixed number of steps. Type Affected by Where saved Default value Command and query...
  • Page 401 Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Detail When the sweep is started, the instrument sources a specific voltage or current voltage to the device under test (DUT). A measurement is made for each point of the sweep.
  • Page 402: Source[1]:Sweep::List

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference :SOURce[1]:SWEep:<function>:LIST This command sets up a sweep based on a configuration list, which allows you to customize the sweep. Type Affected by Where saved Default value Command only...
  • Page 403 Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual *RST This example uses the :SOURce[1]:LIST:<function> SENS:FUNC "CURR" command to set up the configuration list that SENS:CURR:RANG:AUTO ON is used by the sweep. SENS:CURR:RSEN OFF This example will source 1 V, 5 V, 1 V, 5 V,...
  • Page 404: Source[1]:Sweep::Log

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference :SOURce[1]:SWEep:<function>:LOG This command sets up a logarithmic sweep for a set number of measurement points. Type Affected by Where saved Default value Command only Recall settings Save settings...
  • Page 405 Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual <bufferName> A string that indicates the reading buffer; the default buffers (defbuffer1 or defbuffer2) or the name of a user-defined buffer; if no buffer is specified, this parameter defaults to defbuffer1 <asymptote>...
  • Page 406: Status Subsystem

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference STATus subsystem The STATus subsystem controls the status registers of the Model 2450. For additional information on the status model, see Status model (on page C-1). :STATus:OPERation:CONDition? This command reads the Operation Event Register of the status model.
  • Page 407: Status:operation[:Event]

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Details This command sets or reads the contents of the Enable register of the Operation Event Register. When one of these bits is set, when the corresponding bit in the Operation Event Register or Operation Condition Register is set, the OSB bit in the Status Byte Register is set.
  • Page 408: Status:operation:map

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference :STATus:OPERation:MAP This command allows you to map event numbers to bits in the Operation Event Registers. Type Affected by Where saved Default value Command and query Instrument reset...
  • Page 409: Status:preset

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual :STATus:PRESet This command resets all bits in the status model. Type Affected by Where saved Default value Command only Not applicable Not applicable Not applicable Usage :STATus:PRESet Details This function clears the event registers and the enable registers for operation and questionable.
  • Page 410: Status:questionable:enable

    This query reads the contents of the questionable status event register. After sending this command and addressing the Model 2450 to talk, a value is sent to the computer. This value indicates which bits in the appropriate register are set.
  • Page 411: Status:questionable:map

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual :STATus:QUEStionable:MAP This command queries mapped event numbers or maps event numbers to bits in the event registers. Type Affected by Where saved Default value Command and query Usage :STATus:QUEStionable:MAP <bitNumber>, <setEvent>...
  • Page 412: System Subsystem

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference SYSTem subsystem This subsystem contains commands that affect the overall operation of the instrument, such as access, beepers, communications, event logs, and time. :SYSTem:ACCess This command contains the type of access users have to the instrument through different interfaces.
  • Page 413: System:beeper[:Immediate]

    The amount of time to play the tone in seconds (0.001 to 100) Details You can use the beeper of the Model 2450 to provide an audible signal at a specific frequency and time duration. For example, you can use the beeper to signal the end of a lengthy sweep.
  • Page 414: System:communication:lan:configure

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference :SYSTem:COMMunication:LAN:CONFigure This command specifies the LAN configuration for the instrument. Type Affected by Where saved Default value Command and query Rear panel LAN reset Nonvolatile memory AUTO Usage :SYSTem:COMMunication:LAN:CONFigure "AUTO"...
  • Page 415: System:communication:lan:macaddress

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual :SYSTem:COMMunication:LAN:MACaddress? This command queries the LAN MAC address. Type Affected by Where saved Default value Query Not applicable Not applicable Not applicable Usage :SYSTem:COMMunication:LAN:MACaddress? Details The MAC address is a character string representing the instrument's MAC address in hexadecimal notation. The string includes colons that separate the address octets.
  • Page 416: System:error:code[:Next]

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference :SYSTem:ERRor:CODE[:NEXT]? This command reads the oldest error code. Type Affected by Where saved Default value Query only Not applicable Not applicable Not applicable Usage :SYSTem:ERRor:CODE[:NEXT]? Details This command returns the numeric code of the next error in the event log. The error is cleared from the queue after being read.
  • Page 417: System:eventlog:count

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual :SYSTem:EVENtlog:COUNt? This command returns the number of events in the event log. Type Affected by Where saved Default value Query only Not applicable Not applicable Not applicable Usage :SYSTem:EVENtlog:COUNt? :SYSTem:EVENtlog:COUNt? <mask>...
  • Page 418: System:eventlog:next

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference :SYSTem:EVENtlog:NEXT? This command returns the oldest message from the event log and removes it from the log. Type Affected by Where saved Default value Query only Not applicable...
  • Page 419: System:eventlog:post

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual :SYSTem:EVENtlog:POST This command allows you to post messages to the event log. Type Affected by Where saved Default value Command only Not applicable Not applicable Not applicable Usage :SYSTem:EVENtlog:POST <message>...
  • Page 420: System:eventlog:save

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference :SYSTem:EVENtlog:SAVE This command saves the event log to a file on a USB flash drive. Type Affected by Where saved Default value Command only Not applicable Not applicable...
  • Page 421: System:gpib:address

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual :SYSTem:GPIB:ADDRess This command contains the GPIB address. Type Affected by Where saved Default value Command and query Not applicable Nonvolatile memory Usage :SYSTem:GPIB:ADDRess <n> :SYSTem:GPIB:ADDRess? <n> The GPIB address of the instrument (0 to 30) Details The address can be set to any address value between 0 and 30.
  • Page 422: System:password:new

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference :SYSTem:PASSword:NEW This command stores the instrument password. Type Affected by Where saved Default value Command only Not applicable Nonvolatile memory admin Usage :SYSTem:PASSword:NEW "password" <password> A string that contains the instrument password (maximum 30 characters) Details When the access to the instrument is set to protected or lockout, this is the password that is used to gain access.
  • Page 423: System:time

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Details When you select RST, the instrument restores settings to their default values when the instrument is powered on. When you select a SAV option, the settings in the selected saved setup are applied when the instrument is powered on.
  • Page 424: System:version

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference :SYSTem:VERSion? Query the present SCPI version. Type Affected by Where saved Default value Query only Not applicable Not applicable Not applicable Usage :SYSTem:VERSion? Details This query command returns the SCPI version.
  • Page 425: Trace:clear

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Example TRACe:MAKE "testData", 200 Creates 200 element reading buffer named testData. COUN 10 Set the measurement count to 10. MEASure:CURRent? "testData" Set the measurement function to current. Make readings, and store the readings in testData.
  • Page 426: Trace:data

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference :TRACe:DATA? This query command returns specified data elements from a specified reading buffer. Type Affected by Where saved Default value Query only Recall settings Not applicable Not applicable...
  • Page 427 Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual If you have FORMat[:DATA] set to REAL or SREAL, you will have fewer options for buffer elements. If you request one of the buffer elements, you will see the error 1133, "Parameter 4, Syntax error, expected valid name parameters."...
  • Page 428: Trace:delete

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference :TRACe:DELete This command deletes a user-defined reading buffer. Type Affected by Where saved Default value Command only Not applicable Not applicable Not applicable Usage :TRACe:DELete <readingBuffer> <readingBuffer> A string that contains the name of the user-defined reading buffer to delete Details You cannot delete the default reading buffers, defbuffer1 and defbuffer2.
  • Page 429: Trace:fill:mode

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual :TRACe:FILL:MODE This command determines if a reading buffer is filled continuously or is filled once and stops. Type Affected by Where saved Default value Command and query Recall settings...
  • Page 430: Trace:log:state

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference :TRACe:LOG:STATe This command indicates whether the reading buffer should log informational events. Type Affected by Where saved Default value Command and query Recall settings Save settings defbuffer1: 1 (ON)
  • Page 431: Trace:make

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual :TRACe:MAKE This command creates a user-defined reading buffer. Type Affected by Where saved Default value Command only Recall settings Saved setup Not applicable Instrument reset Power cycle Usage :TRACe:MAKE <bufferName>, <bufferSize>...
  • Page 432: Trace:points

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference :TRACe:POINts This command contains the number of readings a buffer can store. Type Affected by Where saved Default value Command and query Recall settings Save settings Not applicable...
  • Page 433: Trace:save

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual :TRACe:SAVE This command saves data from the specified reading buffer to a USB flash drive. Type Affected by Where saved Default value Command only Not applicable Not applicable...
  • Page 434 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference Details The filename must specify the full path (including /usb1/). If included, the file extension must be set to .csv (if no file extension is specified, .csv is added).
  • Page 435: Trace:save:append

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual :TRACe:SAVE:APPend This command appends data from the reading buffer to a file on the USB flash drive. Type Affected by Where saved Default value Command only Not applicable...
  • Page 436: Trace:statistics:average

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference Example TRACe:MAKE "testData", 100 Create a buffer called testData. SENSe:COUNt 5 Take 5 readings, return for the 5th MEASure:CURRent:DC? "testData", READ, REL, SOUR point: the reading, relative timestamp, TRACe:SAVE "/usb1/myData5.csv", "testData"...
  • Page 437: Trace:statistics:clear

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Details This command returns the average reading calculated from all of the readings in the specified reading buffer. Example TRACe:STAT:AVERage? Returns the average reading for the readings in the default buffer defbuffer1.
  • Page 438: Trace:statistics:maximum

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference :TRACe:STATistics:MAXimum? This command returns the maximum reading value in the reading buffer. Type Affected by Where saved Default value Query only Recall settings Not applicable Not applicable Instrument reset...
  • Page 439: Trace:statistics:pk2Pk

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Example TRACe:STAT:MINimum? Returns the minimum reading value in the default buffer defbuffer1. TRACe:STAT:MINimum? "testData" Returns the minimum reading value in the user-defined buffer testData. Also see Reading buffers...
  • Page 440: Trace:statistics:stddev

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference :TRACe:STATistics:STDDev? This command returns the standard deviation of all readings in the buffer. Type Affected by Where saved Default value Query only Recall settings Not applicable Not applicable...
  • Page 441: Trace:trigger

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual :TRACe:TRIGger This command makes readings and stores them in a buffer. Type Affected by Where saved Default value Command only Not applicable Not applicable Not applicable Usage :TRACe:TRIGger :TRACe:TRIGger <bufferName>...
  • Page 442: Trigger:blender:Clear

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference :TRIGger:BLENder<n>:CLEar This command clears the blender event detector and resets the overrun indicator of blender <n>. Type Affected by Where saved Default value Command only Not applicable Not applicable...
  • Page 443: Trigger:blender:Overrun

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Details This command selects whether the blender waits for any one event (OR) or waits for all selected events (AND) before signaling an output event. Example 1 :DIG:LINE3:MODE TRIG, IN...
  • Page 444: Trigger:blender:Stimulus

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference :TRIGger:BLENder<n>:STIMulus<m> This command specifies which events trigger the blender. Type Affected by Where saved Default value Command and query Recall settings Save settings NONE Instrument reset Power cycle...
  • Page 445: Trigger:block:branch:always

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual :TRIGger:BLOCk:BRANch:ALWays This command defines a trigger model block that always goes to a specific block. Type Affected by Where saved Default value Command only Recall settings Save settings...
  • Page 446: Trigger:block:branch:counter:count

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference Details This command defines a trigger model building block that branches to another block using a counter to iterate a specified number of times. Counters increment every time the trigger model reaches them until they are more than or equal to the count value.
  • Page 447: Trigger:block:branch:delta

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual :TRIGger:BLOCk:BRANch:DELTa This command defines a trigger model block that goes to a specified block if the difference of two measurements meets preset criteria. Type Affected by Where saved...
  • Page 448: Trigger:block:branch:event

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference :TRIGger:BLOCk:BRANch:EVENt This command branches to a specified block when a specified trigger event occurs. Type Affected by Where saved Default value Command only Recall settings Save settings Not applicable...
  • Page 449: Trigger:block:branch:limit:constant

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual :TRIGger:BLOCk:BRANch:LIMit:CONStant This command defines a trigger model block that branches to a block outside the normal trigger model flow if a measurement meets preset criteria. Type Affected by...
  • Page 450: Trigger:block:branch:limit:dynamic

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference Example TRIGger:BLOCk:BRANch:LIMit:CONStant 5, OUTside, 0.15, 0.65, 8, 4 Configure trigger block 5 to check for measurements in block 4 to be outside of the limits defined by 0.15 and 0.65.
  • Page 451: Trigger:block:branch:once

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Example CALC2:LIM1:STAT ON Set the limits on with a low limit of -5.17 and CALC2:LIM1:LOW -5.17 a high limit of -4.23. Set trigger block 9 to test if the limit is inside those limits based on CALC2:LIM1:UPP -4.23...
  • Page 452: Trigger:block:branch:once:excluded

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference :TRIGger:BLOCk:BRANch:ONCE:EXCLuded This command causes the trigger model to go to a specified building block every time the trigger model encounters it, except for the first time. Type Affected by...
  • Page 453: Trigger:block:buffer:clear

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual :TRIGger:BLOCk:BUFFer:CLEar This command defines a trigger model block that clears the reading buffer. Type Affected by Where saved Default value Command only Recall settings Save settings Not applicable...
  • Page 454: Trigger:block:config:previous

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference Details When the trigger model reaches a configuration recall next building block, the settings at the next index point in a configuration list are restored. Each time this block is encountered, the settings at the next index point in the configuration list are recalled and take effect before the next step executes.
  • Page 455: Trigger:block:config:recall

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual :TRIGger:BLOCk:CONFig:RECall This command recalls the system settings that are stored in a measure or source configuration list. Type Affected by Where saved Default value Command only Recall settings...
  • Page 456: Trigger:block:delay:constant

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference :TRIGger:BLOCk:DELay:CONStant This command adds a constant delay to the trigger model. Type Affected by Where saved Default value Command only Recall settings Save settings Not applicable Instrument reset...
  • Page 457: Trigger:block:delay:dynamic

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual :TRIGger:BLOCk:DELay:DYNamic This command adds a delay to the execution of the trigger model. Type Affected by Where saved Default value Command only Recall settings Save settings Not applicable...
  • Page 458: Trigger:block:digital:io

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference :TRIGger:BLOCk:DIGital:IO This command defines a trigger model block that sets the lines on the digital I/O port high or low. Type Affected by Where saved Default value Command only...
  • Page 459: Trigger:block:list

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual :TRIGger:BLOCk:LIST? This command returns the settings for all trigger model building blocks. Type Affected by Where saved Default value Query only Not applicable Not applicable Not applicable Usage...
  • Page 460: Trigger:block:log:event

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference :TRIGger:BLOCk:LOG:EVENt This command logs an event during trigger model execution. Type Affected by Where saved Default value Command only Recall settings Save settings Not applicable Instrument reset Power cycle Usage TRIGger:BLOCk:LOG:EVENt <blockNumber>, <eventNumber>, <message>...
  • Page 461: Trigger:block:measure

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual :TRIGger:BLOCk:MEASure This command defines a trigger block that makes a measurement. Type Affected by Where saved Default value Command only Recall settings Save settings Not applicable Instrument reset...
  • Page 462: Trigger:block:nop

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference :TRIGger:BLOCk:NOP This command creates a placeholder that performs no action in the trigger model. Type Affected by Where saved Default value Command only Recall settings Save settings Not applicable...
  • Page 463: Trigger:block:notify

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual :TRIGger:BLOCk:NOTify This command defines a trigger model block that generates a trigger event and immediately continues to the next block. Type Affected by Where saved Default value Command only...
  • Page 464: Trigger:block:source:state

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference :TRIGger:BLOCk:SOURce:STATe This command defines a trigger block that turns the output source on or off. Type Affected by Where saved Default value Command only Recall settings Save settings...
  • Page 465: Trigger:block:wait

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual :TRIGger:BLOCk:WAIT This commands defines a trigger model block that waits for an event before allowing the trigger model to continue. Type Affected by Where saved Default value Command only...
  • Page 466: Trigger:digital:In:clear

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference Trigger events Event description Event constant NONE No trigger event BLENder<n> Trigger event blender <n> (1 to 2), which combines trigger events TIMer<n> Trigger timer <n> (1 to 4) expired...
  • Page 467: Trigger:digital:In:edge

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual :TRIGger:DIGital<n>:IN:EDGE This command sets the logic on which the trigger event detector and the output trigger generator operate on the given trigger line. Type Affected by Where saved...
  • Page 468: Trigger:digital:In:overrun

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference :TRIGger:DIGital<n>:IN:OVERrun? This command returns the event detector overrun status. Type Affected by Where saved Default value Query only Not applicable Not applicable Not applicable Usage :TRIGger:DIGital<n>:IN:OVERrun? <n> Digital I/O trigger line (1 to 6) Details This command returns the event detector overrun status as 0 (false) or 1 (true).
  • Page 469: Trigger:digital:Out:pulsewidth

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Details This command configures the trigger event generator to assert a TTL pulse for output logic; positive is a high pulse, negative is a low pulse. Example :DIG:LINE4:MODE TRIG, OUT...
  • Page 470: Trigger:digital:Out:stimulus

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference :TRIGger:DIGital<n>:OUT:STIMulus This command selects the event that causes a trigger to be asserted on the digital output line. Type Affected by Where saved Default value Command and query...
  • Page 471: Trigger:lan:In:clear

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual :TRIGger:LAN<n>:IN:CLEar This command clears the event detector for a trigger. Type Affected by Where saved Default value Command only Not applicable Not applicable Not applicable Usage TRIGger:LAN<n>:IN:CLEar <n>...
  • Page 472: Trigger:lan:In:edge

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference :TRIGger:LAN<n>:IN:EDGE This command sets the trigger operation and detection mode of the specified LAN event. Type Affected by Where saved Default value Command and query LAN trigger <n> reset...
  • Page 473: Trigger:lan:In:overrun

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual :TRIGger:LAN<n>:IN:OVERrun? This command indicates the overrun status of the event detector. Type Affected by Where saved Default value Query only TRIGger:LAN<n>:IN:CLEar Not applicable Not applicable Usage :TRIGger:LAN<n>:IN:OVERrun? <n>...
  • Page 474: Trigger:lan:Out:connect:state

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference :TRIGger:LAN<n>:OUT:CONNect:STATe This command prepares the event generator for outgoing trigger events. Type Affected by Where saved Default value Command and query Not applicable Not applicable Not applicable Usage :TRIGger:LAN<n>:OUT:CONNect:STATe <b>...
  • Page 475: Trigger:lan:Out:ip:address

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual :TRIGger:LAN<n>:OUT:IP:ADDRess This command specifies the address (in dotted-decimal format) of UDP or TCP listeners. Type Affected by Where saved Default value Command and query Recall settings Save settings "0.0.0.0"...
  • Page 476: Trigger:lan:Out:protocol

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference :TRIGger:LAN<n>:OUT:PROTocol This command sets the LAN protocol to use for sending trigger messages. Type Affected by Where saved Default value Command and query Recall settings Save settings Instrument reset...
  • Page 477 Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Details This attribute specifies which event causes a LAN trigger packet to be sent for this trigger. Set the event to one of the existing trigger events, which are shown in the following table.
  • Page 478: Trigger:load:configuration:list

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference :TRIGger:LOAD:CONFiguration:LIST This command loads a predefined trigger model configuration that uses source and measure configuration lists. Type Affected by Where saved Default value Command only Not applicable Not applicable...
  • Page 479: Trigger:load:empty

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual :TRIGger:LOAD:EMPTy This command resets the trigger model. Type Affected by Where saved Default value Command only Not applicable Not applicable Not applicable Usage :TRIGger:LOAD:EMPTy Details When you load this predefined trigger model, any existing trigger model settings are reset.
  • Page 480: Trigger:load:loop:duration

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference :TRIGger:LOAD:LOOP:DURation This command loads a predefined trigger model configuration that makes continuous measurements for a specified amount of time Type Affected by Where saved Default value Command only...
  • Page 481: Trigger:load:loop:simple

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual :TRIGger:LOAD:LOOP:SIMPle This command loads a predefined trigger model configuration. Type Affected by Where saved Default value Command only Not applicable Not applicable Not applicable Usage :TRIGger:LOAD:LOOP:SIMPle <count> :TRIGger:LOAD:LOOP:SIMPle <count>, <delay>...
  • Page 482: Trigger:load:trigger:external

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference :TRIGger:LOAD:TRIGger:EXTernal This command loads a predefined trigger model configuration. Type Affected by Where saved Default value Command only Not applicable Not applicable Not applicable Usage :TRIGger:LOAD:TRIGger:EXTernal <digInLine>, <digOutLine>, <count>...
  • Page 483: Trigger:state

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual :TRIGger:STATe? This command returns the present state of the trigger model. Type Affected by Where saved Default value Query only Not applicable Not applicable Not applicable Usage :TRIGger:STATe? Details This command returns the state of the trigger model.
  • Page 484: Trigger:timer:Count

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference Details This command sets the timer event detector to the undetected state and resets the overrun indicator. Example :TRIG:TIM1:CLEar Clears trigger timer 1. Also see :TRIGger:TIMer<n>:COUNt (on page 6-167) :TRIGger:TIMer<n>:STARt:OVERrun?
  • Page 485: Trigger:timer:Delay

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual :TRIGger:TIMer<n>:DELay These commands set and read the timer delay. Type Affected by Where saved Default value Command and query Recall settings Save settings 10e-6 (10 µs) Instrument reset...
  • Page 486: Trigger:timer:Start:fractional

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference :TRIGger:TIMer<n>:STARt:FRACtional This command configures an alarm or a time in the future when the timer will start. Type Affected by Where saved Default value Command and query Recall settings...
  • Page 487: Trigger:timer:Start:generate

    Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual :TRIGger:TIMer<n>:STARt:GENerate This command specifies when timer events are generated. Type Affected by Where saved Default value Command and query Recall settings Save settings 0 (OFF) Instrument reset Power cycle Usage TRIGger:TIMer<n>:STARt:GENerate <b>...
  • Page 488: Trigger:timer:Start:seconds

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference :TRIGger:TIMer<n>:STARt:SEConds This command configures an alarm or a time in the future when the timer will start. Type Affected by Where saved Default value Command and query Recall settings...
  • Page 489 Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Details Set this attribute any trigger event to start the timer when that event occurs. Set this attribute to zero (0) to disable event processing and use the timer as a timer or alarm based on the start time.
  • Page 490: Trigger:timer:State

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference :TRIGger:TIMer<n>:STATe This command enables the trigger timer. Type Affected by Where saved Default value Command and query Recall settings Save settings 0 (OFF) Instrument reset Power cycle Usage :TRIGger:TIMer<n>:STATe <b>...
  • Page 491 Section 6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual 6-174 2450-901-01 Rev. B/September 2013...
  • Page 492: Introduction To Tsp Operation

    Section 7 Introduction to TSP operation In this section: Introduction to TSP operation........... 7-1 Fundamentals of scripting for TSP ........... 7-4 Fundamentals of programming for TSP ......... 7-11 Test Script Builder (TSB)............7-29 Memory considerations for the run-time environment .... 7-38 Introduction to TSP operation ®...
  • Page 493 Section 7: Introduction to TSP operation Model 2450 Interactive SourceMeter® Instrument Reference Manual Example 1 beeper.beep(0.5, 2400) Emit a double-beep at 2400 Hz. The sequence is delay(0.250) 0.5 s on, 0.25 s off, 0.5 s on. beeper.beep(0.5, 2400) Example 2 You can use the results of a function-based command directly or assign variables to the results for later access.
  • Page 494: Queries

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 7: Introduction to TSP operation Reading an attribute To read an attribute, you can use the attribute as the parameter of a function or assign it to another variable. Example 3: Read an attribute using a function print(display.lightstate)
  • Page 495: Fundamentals Of Scripting For Tsp

    Section 7: Introduction to TSP operation Model 2450 Interactive SourceMeter® Instrument Reference Manual Fundamentals of scripting for TSP Though it can improve your process to use scripts, you do not have to create scripts to use the instrument. Most of the examples in the documentation can be run by sending individual command messages.
  • Page 496: Run-Time And Nonvolatile Memory Storage Of Scripts

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 7: Introduction to TSP operation Run-time and nonvolatile memory storage of scripts Scripts are loaded into the run-time environment of the instrument. From there, they can be stored in the nonvolatile memory.
  • Page 497 (on page 7-7). • Keithley Instruments Test Script Builder (TSB) software (included on the Test Script Builder Software Suite CD-ROM that was included with your instrument). For more information, see Creating a new TSP project (on page 7-33).
  • Page 498 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 7: Introduction to TSP operation Load a script by sending commands over a remote interface To load a script over the remote interface, you can use the loadscript and endscript commands. The loadscript command starts the collection of messages that make up the script. When the instrument receives this command, it starts collecting all subsequent messages instead of running them immediately.
  • Page 499 Section 7: Introduction to TSP operation Model 2450 Interactive SourceMeter® Instrument Reference Manual Running scripts using a remote interface You can run any script using scriptVar.run(). Replace scriptVar with the name of a script that is in nonvolatile or run-time memory.
  • Page 500 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 7: Introduction to TSP operation Retrieve a user script from the instrument You can review user scripts that are in the nonvolatile memory of the instrument and retrieve them. To get a list of the scripts that are in the instrument, send: for name in script.user.catalog() do...
  • Page 501 Section 7: Introduction to TSP operation Model 2450 Interactive SourceMeter® Instrument Reference Manual Commands that cannot be used in scripts Though an instrument accepts the following commands, you cannot use these commands in scripts. General commands that cannot be used in scripts: •...
  • Page 502: Fundamentals Of Programming For Tsp

    ® ) scripting engine is a Lua interpreter. In TSP-enabled instruments, The Test Script Processor (TSP the Lua programming language has been extended with Keithley-specific instrument control commands. What is Lua? Lua is a programming language that can be used with TSP-enabled instruments. Lua is an efficient language with simple syntax that is easy to learn.
  • Page 503 Section 7: Introduction to TSP operation Model 2450 Interactive SourceMeter® Instrument Reference Manual Function and variable name restrictions You cannot use Lua reserved words and top level command names for function or variable names. You cannot use the following Lua reserved words for function or variable names. If you attempt to assign these, the error message -285, "TSP Syntax error at line x: unexpected symbol near 'word' "...
  • Page 504: Variable Types

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 7: Introduction to TSP operation Variable types Variables can be one of the following types. Variable types and values Variable type returned Value Notes "nil" not declared The type of the value nil, whose main property is to be different from any other value;...
  • Page 505 Section 7: Introduction to TSP operation Model 2450 Interactive SourceMeter® Instrument Reference Manual Example: Hex constant You can enter hexadecimal values, but to return a hexadecimal value, you must create a function, as shown in this example. Note that hexadecimal values are handled as a number type.
  • Page 506 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 7: Introduction to TSP operation Operators You can compare and manipulate Lua variables and constants using operators. Arithmetic operators Operator Description addition subtraction − multiplication division negation (for example, c = −a)
  • Page 507 Section 7: Introduction to TSP operation Model 2450 Interactive SourceMeter® Instrument Reference Manual Example 1 print(10 or eventlog.next()) print(nil or "a") print(nil and 10) print(false and eventlog.next()) false print(false and nil) false print(false or nil) print(10 and 20) Example 2 hex = function (i) return "0x"..string.format("%X", i) end...
  • Page 508 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 7: Introduction to TSP operation Operator precedence Operator precedence in Lua follows the order below (from higher to lower priority): • ^ (exponentiation) • not, - (unary), ! (logical NOT) • *, /, <<, >>...
  • Page 509 Section 7: Introduction to TSP operation Model 2450 Interactive SourceMeter® Instrument Reference Manual Where: • myFunction: The name of the function. • parameterX: Parameter names. To use multiple parameters, separate the names with commas. • functionBody is the code that is executed when the function is called.
  • Page 510 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 7: Introduction to TSP operation Create functions using scripts You can use scripts to define functions. Scripts that define a function are like any other script: They do not cause any action to be performed on the instrument until they are executed. The global variable of the function does not exist until the script that created the function is executed.
  • Page 511 Section 7: Introduction to TSP operation Model 2450 Interactive SourceMeter® Instrument Reference Manual Example: If and else x = 2 Output: if not x then This is from the else block print("This is from the if block") else print("This is from the else block")
  • Page 512 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 7: Introduction to TSP operation Loop control If you need to repeat code execution, you can use the Lua while, repeat, and for control structures. To exit a loop, you can use the break keyword.
  • Page 513 Section 7: Introduction to TSP operation Model 2450 Interactive SourceMeter® Instrument Reference Manual Example: Repeat until list = { Output: "One", "Two", "Three", "Four", "Five", "Six"} Count elements in list print("Count elements in list using repeat:") using repeat: element = 1...
  • Page 514 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 7: Introduction to TSP operation Example: Generic for days = {"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"} for i, v in ipairs(days) do print(days[i], i, v) The generic for statement works by using functions called iterators. On each iteration, the iterator function is called to produce a new value, stopping when this new value is nil.
  • Page 515 Section 7: Introduction to TSP operation Model 2450 Interactive SourceMeter® Instrument Reference Manual Example: Break with while statement enclosed by comment delimiters local numTable = {5, 4, 3, 2, 1} This example defines a break value local k = table.getn(numTable)
  • Page 516: Standard Libraries

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 7: Introduction to TSP operation Tables and arrays Lua makes extensive use of the data type table, which is a flexible array-like data type. Table indices start with 1. Tables can be indexed not only with numbers, but with any value except nil. Tables can be heterogeneous, which means that they can contain values of all types except nil.
  • Page 517 Section 7: Introduction to TSP operation Model 2450 Interactive SourceMeter® Instrument Reference Manual Base library functions Base library functions Function Description collectgarbage() Sets the garbage-collection threshold to the given limit (in kilobytes) and checks it against the byte counter. If the new...
  • Page 518 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 7: Introduction to TSP operation String library functions This library provides generic functions for string manipulation, such as finding and extracting substrings. When indexing a string in Lua, the first character is at position 1 (not 0, as in ANSI C).
  • Page 519 Section 7: Introduction to TSP operation Model 2450 Interactive SourceMeter® Instrument Reference Manual Math library functions This library is an interface to most of the functions of the ANSI C math library. All trigonometric functions work in radians. The functions math.deg() and math.rad() convert between radians and degrees.
  • Page 520: Test Script Builder (Tsb)

    Section 7: Introduction to TSP operation Test Script Builder (TSB) Keithley Instruments Test Script Builder (TSB) is a software tool included with your Model 2450. You can install and use TSB to develop scripts for TSP-enabled instruments. Installing the TSB software To install the Test Script Builder (TSB) software: 1.
  • Page 521: Using Test Script Builder (Tsb)

    Section 7: Introduction to TSP operation Model 2450 Interactive SourceMeter® Instrument Reference Manual Using Test Script Builder (TSB) Keithley Instruments Test Script Builder (TSB) is a software tool that simplifies building test scripts. You can use TSB to perform the following operations: •...
  • Page 522: Project Navigator

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 7: Introduction to TSP operation Figure 126: Example of the Test Script Builder workspace Item Description Project navigator Script editor; right-click to run the script that is displayed Outline view Programming interaction Help;...
  • Page 523: Script Editor

    Section 7: Introduction to TSP operation Model 2450 Interactive SourceMeter® Instrument Reference Manual Script editor The script editor is where scripts are written, modified, and debugged. To open and display a script file, double-click the file name in the project navigator. You can have multiple script files open in the script editor at the same time.
  • Page 524: Creating A New Tsp Project

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 7: Introduction to TSP operation 2. The Select Instrument dialog box opens. Select an existing instrument from the list, or type the VISA resource ID of the instrument in the Select or enter new instrument box.
  • Page 525: Adding A New Tsp File To A Project

    Section 7: Introduction to TSP operation Model 2450 Interactive SourceMeter® Instrument Reference Manual 2. Type a name for your project in the Project name box. 3. Select the location to create the new project. 4. Click Finish. The new project appears in the list of projects in the project navigator, and a file named main.tsp is created in the project.
  • Page 526: Creating A Run Configuration

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 7: Introduction to TSP operation Creating a run configuration A run configuration allows you to download multiple script files to an instrument and execute them as a single script. To create a run configuration: 1.
  • Page 527 Section 7: Introduction to TSP operation Model 2450 Interactive SourceMeter® Instrument Reference Manual Figure 132: Project Selection dialog box The TSP files for the selected project are added to the Available Project Files list on the Main tab. Figure 133: Available files for selected project 8.
  • Page 528 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 7: Introduction to TSP operation 9. To change the load order of the TSP files, select the files you want to move and click Up or Down until the files are in the correct order.
  • Page 529: Memory Considerations For The Run-Time Environment

    Memory considerations for the run-time environment The Model 2450 reserves 32 MB of memory for dynamic run-time use. Note that the run-time environment includes user-created reading buffers and active sweep configurations. The amount of memory used by a reading buffer is approximately 30 bytes for each reading.
  • Page 530: Suggestions For Increasing The Available Memory

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 7: Introduction to TSP operation Suggestions for increasing the available memory If the amount of memory used is over 95 percent, or if you receive out-of-memory errors, you should reduce the amount of memory that is used.
  • Page 532: Tsp Command Reference

    Section 8 TSP command reference In this section: TSP command programming notes .......... 8-1 Using the TSP command reference ......... 8-3 TSP commands ................ 8-7 TSP command programming notes This section contains general information about using TSP commands. TSP syntax rules This section provides rules for what you can and cannot do when entering TSP commands.
  • Page 533: Time And Date Values

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Parameters for functions All functions must have a set of parentheses () immediately following the function. If there are parameters for the function, they are placed between the parentheses. The parentheses are required even when there are no parameters specified.
  • Page 534: Using The Tsp Command Reference

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference Remote control When the instrument is controlled remotely, the front-panel controls are disabled. You can still view information on the front-panel display and move between the screens using the keys and touch-screen controls.
  • Page 535: Command Name, Brief Description, And Summary Table

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual The subsections contain information about the command. The subsections are: • Command name, brief description, and summary table • Usage • Details • Example • Also see The content of each of these subsections is described in the following topics.
  • Page 536: Command Usage

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference Where saved. Indicates where the command settings reside once they are used on an instrument. Options include: • Not saved: Command is not saved and must be typed each time you use it.
  • Page 537: Command Details

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Command details This section lists additional information you need to know to successfully use the remote commands. Figure 139: Details section of command listing Example section The Example section of the remote command description shows some simple examples of how the command can be used.
  • Page 538: Tsp Commands

    The frequency of the beep (20 to 8000) Details You can use the beeper of the Model 2450 to provide an audible signal at a specific frequency and time duration. For example, you can use the beeper to signal the end of a lengthy sweep.
  • Page 539: Buffer.clearstats()

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual buffer.clearstats() This function clears all statistics from the specified buffer. Type TSP-Link accessible Affected by Where saved Default value Function Usage buffer.clearstats(bufferVar) bufferVar The name of the reading buffer, which may be a default buffer (defbuffer1 or...
  • Page 540: Buffer.delete()

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference buffer.delete() This function deletes a user-defined reading buffer. Type TSP-Link accessible Affected by Where saved Default value Function Usage buffer.delete(readingBufferVariable) readingBufferVariable The name of a user-defined reading buffer Details You cannot delete the default reading buffers, defbuffer1 and defbuffer2.
  • Page 541 Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Details This function returns a table with statistical data about the data that was placed in the reading buffer. The instrument automatically updates reading buffer statistics as data is added to the reading buffer. When the reading buffer is configured to fill continuously and overwrite older data with new data, the buffer statistics include the data that was overwritten.
  • Page 542: Buffer.make()

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference Example print(buffer.getstats(defbuffer1)) Get statistics on defbuffer1. Returns a table. Output: 17ac630 The table has the following entries in it: n, min, max, mean, stddev defBufStats = buffer.getstats(defbuffer1) Assign the name defBufStats to the table.
  • Page 543: Buffer.save()

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual buffer.save() This function saves data from the specified reading buffer to a USB flash drive. Type TSP-Link accessible Affected by Where saved Default value Function Usage buffer.save(bufferVar, fileName) buffer.save(bufferVar, fileName, timeFormat)
  • Page 544 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference Example 2 buffer.save(MyBuffer, "/usb1/myDataRel.csv", buffer.SAVE_RELATIVE_TIME) Save all readings and relative time stamps from MyBuffer to a file named myDataRel.csv on the USB flash drive. Example 3 buffer.save(defbuffer1, "/usb1/defbuf1data", buffer.SAVE_RAW_TIME) Save readings and raw time stamps from defbuffer1 to a file named defbuf1data on the USB flash drive.
  • Page 545: Buffer.saveappend()

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual buffer.saveappend() This function appends data from the reading buffer to a file on the USB flash drive. Type TSP-Link accessible Affected by Where saved Default value Function Usage buffer.saveappend(bufferVar, filename)
  • Page 546: Buffervar.capacity

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference Example 2 buffer.saveappend(MyBuffer, "/usb1/myDataRel.csv", buffer.SAVE_RELATIVE_TIME) Append readings and relative time stamps from MyBuffer to a file named myDataRel.csv on the USB flash drive. Example 3 buffer.saveappend(defbuffer1, "/usb1/defbuf1data", buffer.SAVE_RAW_TIME, 1, 10) Append readings and raw time stamps from defbuffer1 to a file named defbuf1data on the USB flash drive.
  • Page 547 Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Details Use this command to read the number of measurements that a buffer can store. Use this command to change the number of readings buffers can store. The number of readings that user- defined buffers can store initially is set when they are created.
  • Page 548: Buffervar.clear()

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference bufferVar.clear() This function clears all readings and statistics from the specified buffer. Type TSP-Link accessible Affected by Where saved Default value Function Usage bufferVar.clear() bufferVar The name of the reading buffer, which may be a default buffer (defbuffer1 or...
  • Page 549: Buffervar.dates

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual bufferVar.dates This attribute contains the dates of readings stored in the reading buffer. Type TSP-Link accessible Affected by Where saved Default value Attribute (R) Restore configuration Not applicable...
  • Page 550: Buffervar.fillmode

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference bufferVar.fillmode This attribute determines if a reading buffer is filled continuously or is filled once and stops. Type TSP-Link accessible Affected by Where saved Default value Attribute (RW)
  • Page 551: Buffervar.formattedreadings

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Example reset() Create a reading buffer named testData, testData = buffer.make(50) configure the instrument to make three print(testData.fillmode) measurements, and store the readings in the buffer. testData.fillmode = buffer.FILL_CONTINUOUS Print the fillmode setting for the testData print(testData.fillmode)
  • Page 552: Buffervar.fractionalseconds

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference Example reset() Create a reading buffer named testData = buffer.make(50) testData, configure the trigger.model.load("SimpleLoop", 3, 0, testData) instrument to make three measurements, and store the trigger.model.initiate() readings in the buffer.
  • Page 553: Buffervar.logstate

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Example reset() Create a reading buffer named testData testData = buffer.make(50) and make six measurements. trigger.model.load("SimpleLoop", 6, 0, testData) Print the fractional portion of the timestamp trigger.model.initiate() for the first reading in the buffer.
  • Page 554: Buffervar.n

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference Details This command indicates whether the reading buffer should log informational events such as buffer full and buffer cleared. Example reset() Create the user-defined buffer MyBuffer. MyBuffer = buffer.make(500) Print the logstate of defbuffer2.
  • Page 555: Buffervar.readings

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Example reset() Create a reading buffer named testData = buffer.make(100) testData, configure the instrument to trigger.model.load("SimpleLoop", 3, 0, testData) make three measurements, and store the readings in the buffer.
  • Page 556: Buffervar.relativetimestamps

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference Example 2 printbuffer(1, 3, tD.readings) For the buffer created in Example 1, print the three readings in buffer. Output: -9.6420389034124e-12, -4.5509945811872e-10, -9.1078204006445e-12 Example 3 for x = 1, 3 do printbuffer(x, x, tD.readings, tD.sourcevalues, tD.relativetimestamps) For the buffer created in Example 1, print the 3 readings, including the measurement, source value, and relative time for each reading.
  • Page 557: Buffervar.seconds

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Example reset() Create a reading buffer named testData = buffer.make(50) testData, configure the instrument to trigger.model.load("SimpleLoop", 3, 0, testData) make three measurements, and store the readings in the buffer.
  • Page 558 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference Details This attribute contains the nonfractional seconds portion of the timestamp when the reading was stored, in Coordinated Universal Time (UTC) format. Example 1 reset() Create a reading buffer named testData, testData = buffer.make(50)
  • Page 559: Buffervar.sourceformattedvalues

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual bufferVar.sourceformattedvalues This attribute contains the source levels formatted as they appear on the front-panel display when the readings in the reading buffer were acquired. Type TSP-Link accessible Affected by...
  • Page 560: Buffervar.sourcestatuses

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference bufferVar.sourcestatuses This attribute contains the source status conditions of the instrument for the reading point. Type TSP-Link accessible Affected by Where saved Default value Attribute (R) Restore configuration...
  • Page 561: Buffervar.sourceunits

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Example reset() Create a reading buffer named testData = buffer.make(50) testData, configure the instrument to smu.source.output = smu.ON make two measurements, and store the readings in the buffer.
  • Page 562 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference Details The attribute is an array (a Lua table) of strings indicating the units of measure at the time of the reading. Example reset() Create a reading buffer named testData = buffer.make(50)
  • Page 563: Buffervar.sourcevalues

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual bufferVar.sourcevalues This attribute contains the source levels being output when readings in the reading buffer were acquired. Type TSP-Link accessible Affected by Where saved Default value Attribute (R)
  • Page 564 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference bufferVar.statuses This attribute contains the status values of readings in the reading buffer. Type TSP-Link accessible Affected by Where saved Default value Attribute (R) Restore configuration Not applicable...
  • Page 565: Buffervar.times

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Example reset() Create a reading buffer named testData, testData = buffer.make(50) configure the instrument to make two smu.source.output = smu.ON measurements, and store the readings in the buffer.
  • Page 566: Buffervar.timestamps

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference Example reset() This example creates a reading buffer testData = buffer.make(50) named testData and makes three trigger.model.load("SimpleLoop", 3, 0, testData) measurements. trigger.model.initiate() The print() command outputs the time waitcomplete() of the first reading.
  • Page 567: Buffervar.units

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Example 2 for x = 1, 3 do printbuffer(x, x, testData.timestamps) end For the buffer created in Example 1, print the timestamps for the readings. Output: 03/01/2013 14:46:07.714614838 03/01/2013 14:46:08.100468838...
  • Page 568: Createconfigscript()

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference Example reset() Create a reading buffer named testData, testData = buffer.make(50) configure the instrument to make three testData.fillmode = buffer.FILL_CONTINUOUS measurements, and store the readings in the buffer.
  • Page 569: Dataqueue.add()

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual dataqueue.add() This function adds an entry to the data queue. Type TSP-Link accessible Affected by Where saved Default value Function Usage result = dataqueue.add(value) result = dataqueue.add(value, timeout)
  • Page 570: Dataqueue.capacity

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference dataqueue.CAPACITY This constant is the maximum number of entries that you can store in the data queue. Type TSP-Link accessible Affected by Where saved Default value Constant Usage count = dataqueue.CAPACITY...
  • Page 571: Dataqueue.count

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Example MaxCount = dataqueue.CAPACITY This example fills the data queue and prints the while dataqueue.count < MaxCount do number of items in the queue. It then clears the queue and prints the number of items again.
  • Page 572 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference dataqueue.next() This function removes the next entry from the data queue. Type TSP-Link accessible Affected by Where saved Default value Function Usage value = dataqueue.next() value = dataqueue.next(timeout)
  • Page 573: Delay()

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual delay() This function delays the execution of the commands that follow it. Type TSP-Link accessible Affected by Where saved Default value Function Usage delay(seconds) seconds The number of seconds to delay (0 to 100,000 s)
  • Page 574: Digio.line[N].Mode

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference digio.line[N].mode This attribute sets the digital I/O line to be a digital line or trigger model line and sets the line as an input, output, or open-drain. You can also use this attribute to configure synchronous triggering modes.
  • Page 575: Digio.line[N].Reset()

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual digio.line[N].reset() This function resets digital I/O line values to their factory defaults. Type TSP-Link accessible Affected by Where saved Default value Function Usage digio.line[N].reset() Digital I/O trigger line (1 to 6)
  • Page 576: Digio.line[N].State

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference digio.line[N].state This function sets a digital I/O line high or low. Type TSP-Link accessible Affected by Where saved Default value Attribute (RW) Not applicable Nonvolatile memory See Details Usage digio.line[N].state = state...
  • Page 577: Digio.writeport()

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Example data = digio.readport() Assume lines 2, 4, and 6 are set high when the print(data) I/O port is read. Output: This is binary 10101010 Also see digio.writeport()
  • Page 578: Display.changescreen

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference display.changescreen() This function changes which front-panel screen is displayed. Type TSP-Link accessible Affected by Where saved Default value Function Usage display.changescreen(screenName) screenName The screen to display: Home screen: display.SCREEN_HOME •...
  • Page 579: Display.clear()

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual display.clear() This function clears the front-panel User Display swipe screen. Type TSP-Link accessible Affected by Where saved Default value Function Usage display.clear() Details This command clears the User Display screen.
  • Page 580: Display.lightstate

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference display.lightstate This attribute sets the brightness of the front-panel display. Type TSP-Link accessible Affected by Where saved Default value Attribute (RW) display.STATE_LCD_75 Usage brightness = display.lightstate display.lightstate = brightness...
  • Page 581: Display.prompt()

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual display.prompt() This function allows you to create interactive buttons on the front panel display. Type TSP-Link accessible Affected by Where saved Default value Function Usage promptID = display.prompt(buttonID, promptText)
  • Page 582: Display.readingformat

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference display.readingformat This attribute determines the format that is used to display measurement readings on the front-panel display of the instrument. Type TSP-Link accessible Affected by Where saved Default value...
  • Page 583: Display.settext()

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual display.settext() This function defines the text that is displayed on the front-panel User Display screen. Type TSP-Link accessible Affected by Where saved Default value Function Usage display.settext(display.TEXT1, userDisplayText1) display.settext(display.TEXT2, userDisplayText2)
  • Page 584: Display.waitevent()

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference display.waitevent() This function causes the instrument to wait for a user to respond to a prompt or button. Type TSP-Link accessible Affected by Where saved Default value Function Usage promptID, buttonID = display.waitevent()
  • Page 585: Eventlog.clear()

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual eventlog.clear() This command clears the event log. Type TSP-Link accessible Affected by Where saved Default value Function Usage eventlog.clear() Details This function removes all messages from the event log.
  • Page 586 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference eventlog.next() This function returns the oldest message from the event log and removes it from the log. Type TSP-Link accessible Affected by Where saved Default value Function Usage eventNumber, message, severity, nodeID, timeSeconds, timeNanoSeconds = eventlog.next()
  • Page 587: Eventlog.post()

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual eventlog.post() This function allows you to post messages to the event log. Type TSP-Link accessible Affected by Where saved Default value Function Usage eventlog.post(message) eventlog.post(message, eventType) message String that contains the message eventType The type of event;...
  • Page 588: Eventlog.save()

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference eventlog.save() This function saves the event log to a file. Type TSP-Link accessible Affected by Where saved Default value Function Usage eventlog.save(filename) eventlog.save(filename, eventMask) filename A string that represents the name of the file to be saved eventMask Limits the list of event log entries;...
  • Page 589: File.close()

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual file.close() This function closes a file on the USB flash drive. Type TSP-Link accessible Affected by Where saved Default value Function Usage file.close(fileNumber) fileNumber The file number from file open command to close Details Note that files are automatically closed when the file descriptors are garbage collected.
  • Page 590: File.mkdir()

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference file.mkdir() This function creates a directory at the specified path on the USB flash drive. Type TSP-Link accessible Affected by Where saved Default value Function Usage file.mkdir(path) path...
  • Page 591: File.read()

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Example file_num = file.open("testfile.txt", Opens file testfile.txt for file.MODE_WRITE) writing. If no errors were found if file_num != nil then while opening, writes "This is file.write(file_num,"This is my test file") my test file"...
  • Page 592: File.usbdriveexists()

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference file.usbdriveexists() This function detects if a USB flash drive is inserted into the front panel USB connector. Type TSP-Link accessible Affected by Where saved Default value Function Usage driveInserted = file.usbdriveexists()
  • Page 593: Format.asciiprecision

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual format.asciiprecision This attribute sets the precision (number of digits) for all numbers returned in the ASCII format. Type TSP-Link accessible Affected by Where saved Default value Attribute (RW)
  • Page 594: Format.byteorder

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference format.byteorder This attribute sets the binary byte order for the data that is printed using the printnumber() and printbuffer() functions. Type TSP-Link accessible Affected by Where saved Default value...
  • Page 595: Format.data

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual format.data This attribute sets the data format for data that is printed using the printnumber() and printbuffer() functions. Type TSP-Link accessible Affected by Where saved Default value Attribute (RW)
  • Page 596: Gpib.address

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference gpib.address This attribute contains the GPIB address. Type TSP-Link accessible Affected by Where saved Default value Attribute (RW) Not applicable Nonvolatile memory Usage address = gpib.address gpib.address = address...
  • Page 597: Lan.ipconfig()

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual lan.ipconfig() This function specifies the LAN configuration for the instrument. Type TSP-Link accessible Affected by Where saved Default value Function Rear panel LAN reset Nonvolatile lan.MODE_AUTO memory Usage method, ipV4Address, subnetMask, gateway = lan.ipconfig()
  • Page 598: Lan.lxidomain

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference lan.lxidomain This attribute contains the LXI domain. Type TSP-Link accessible Affected by Where saved Default value Attribute (RW) LAN restore defaults Nonvolatile memory Usage domain = lan.lxidomain lan.lxidomain = domain...
  • Page 599: Localnode.access

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual localnode.access This attribute contains the type of access users have to the instrument through different interfaces. Type TSP-Link accessible Affected by Where saved Default value Attribute (RW) Not applicable Nonvolatile localnode.ACCESS_FULL...
  • Page 600: Localnode.gettime()

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference localnode.gettime() This function retrieves the instrument date and time. Type TSP-Link accessible Affected by Where saved Default value Function Usage localnode.gettime() Details The time is returned in UTC time. UTC time is specified as the number of seconds since Jan 1, 1970, UTC. You can use UTC time from a local time specification, or you can use UTC time from another source (for example, your computer).
  • Page 601: Localnode.model

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual localnode.model This attribute stores the model number. Type TSP-Link accessible Affected by Where saved Default value Attribute (R) Not applicable Not applicable Not applicable Usage model = localnode.model...
  • Page 602: Localnode.prompts

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference localnode.prompts This attribute determines if the instrument generates prompts in response to command messages. Type TSP-Link accessible Affected by Where saved Default value Attribute (RW) Power cycle Not saved localnode.DISABLE...
  • Page 603: Localnode.serialno

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual localnode.serialno This attribute stores the instrument's serial number. Type TSP-Link accessible Affected by Where saved Default value Attribute (R) Not applicable Not applicable Not applicable Usage serialno = localnode.serialno...
  • Page 604: Localnode.showevents

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference Details Internally, the instrument bases time in UTC time. UTC time is specified as the number of seconds since Jan 1, 1970, UTC. You can use UTC time from a local time specification, or you can use UTC time from another source (for example, your computer).
  • Page 605: Localnode.version

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Details Enable this attribute to have the instrument automatically send generated events that are stored in the event log. The event log is cleared when the event is sent.
  • Page 606: Node[N].Execute()

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference node[N].execute() This function starts test scripts on a remote TSP-Link node. Type TSP-Link accessible Affected by Where saved Default value Function Yes (see Details) Usage node[N].execute(scriptCode) The node number of this instrument (1 to 64)
  • Page 607: Node[N].Setglobal()

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Details This function retrieves the value of a global variable from the run-time environment of this node. Do not use this command to retrieve the value of a global variable from the local node. Instead, access the global variable directly.
  • Page 608: Opc()

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference opc() This function sets the operation complete (OPC) bit after all pending commands, including overlapped commands, have been executed. Type TSP-Link accessible Affected by Where saved Default value...
  • Page 609: Printbuffer()

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Example 1 x = 10 Example of an output response message: print(x) 1.00000e+01 Note that your output might be different if you set your ASCII precision setting to a different value.
  • Page 610 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference When there are outstanding overlapped commands to acquire data, n refers to the index that the last entry in the table will have after all the readings have completed.
  • Page 611 Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Example 1 reset() testData = buffer.make(200) format.data = format.ASCII format.asciiprecision = 6 trigger.model.load("SimpleLoop", 6, 0, testData) trigger.model.initiate() waitcomplete() printbuffer(1, testData.n, testData.readings, testData.units, testData.relativetimestamps) This assumes that testData is a valid reading buffer in the run-time environment. The use of testData.n (bufferVar.n) indicates that the instrument should output all readings in the reading buffer.
  • Page 612: Printnumber()

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference printnumber() This function prints numbers using the configured format. Type TSP-Link accessible Affected by Where saved Default value Function Usage printnumber(value1) printnumber(value1, value2) printnumber(value1, ..., valueN) value1 First value to print in the configured format...
  • Page 613: Reset()

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual reset() This function resets commands to their default settings. Type TSP-Link accessible Affected by Where saved Default value Function Usage reset() reset(system) system true: If the node is the master, the entire system is reset...
  • Page 614: Script.delete()

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference script.delete() This function deletes a script from the run-time memory and nonvolatile memory. Type TSP-Link accessible Affected by Where saved Default value Function Usage script.delete(scriptName) scriptName The string that represents the name of the script Details When a script is deleted, the global variable referring to this script is also deleted.
  • Page 615: Scriptvar.run()

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual scriptVar.run() This function runs a script. Type TSP-Link accessible Affected by Where saved Default value Function Usage scriptVar.run() scriptVar() scriptVar The name of the variable that references the script Details The scriptVar.run() function runs the script referenced by scriptVar.
  • Page 616: Scriptvar.source

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference Example 1 test8.save() Saves the script referenced by the variable test8 to nonvolatile memory. Example 2 test8.save("/usb1/myScript.tsp") Saves the script referenced by the variable test8 to a file named myScript.tsp on your flash drive.
  • Page 617: Smu.interlock.tripped

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual smu.interlock.tripped This attribute indicates that the interlock has been tripped. Type TSP-Link accessible Affected by Where saved Default value Attribute (R) Not applicable Not applicable Not applicable Usage interlockStatus = smu.interlock.tripped...
  • Page 618: Smu.measure.autorangehigh

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference Details This command determines how the measurement range is selected. When this command is set to off, you must set the range. If you do not set the range, the instrument remains at the range that was selected automatically.
  • Page 619: Smu.measure.autorangelow

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Example smu.measure.func = smu.FUNC_DC_VOLTAGE Sets the measurement function to voltage and turn smu.measure.autorange = smu.ON autorange on. Check the high range for voltage measurements. print(smu.measure.autorangehigh) Also see Ranges...
  • Page 620: Smu.measure.autozero.enable

    The time interval between updates to these reference measurements is determined by the integration aperture that is being used for measurements. The Model 2450 uses separate reference and zero measurements for each aperture.
  • Page 621: Smu.measure.autozero.once()

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual smu.measure.autozero.once() This function causes the instrument to autozero once. Type TSP-Link accessible Affected by Where saved Default value Function Usage smu.measure.autozero.once() Details This command forces a refresh of the reference and zero measurements that are used for the present aperture setting.
  • Page 622: Smu.measure.configlist.catalog()

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference smu.measure.configlist.catalog() This function returns the name of one measure configuration list stored on the instrument. Type TSP-Link accessible Affected by Where saved Default value Function Usage smu.measure.configlist.catalog() Details You can use this command to see the names of measure configuration lists that are stored in the instrument.
  • Page 623: Smu.measure.configlist.create()

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual smu.measure.configlist.create() This command creates an empty measure configuration list. Type TSP-Link accessible Affected by Where saved Default value Function Restore configuration Configuration script Instrument reset Power cycle Measure configuration list Usage smu.measure.configlist.create(listName)
  • Page 624: Smu.measure.configlist.delete()

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference smu.measure.configlist.delete() This command deletes a measure configuration list. Type TSP-Link accessible Affected by Where saved Default value Function Usage smu.measure.configlist.delete(listName) smu.measure.configlist.delete(listName, point) listName The name of the configuration list...
  • Page 625: Smu.measure.configlist.query()

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual smu.measure.configlist.query() This function returns a list of TSP commands that represent the parameters that are stored in the specified configuration point. Type TSP-Link accessible Affected by Where saved...
  • Page 626: Smu.measure.configlist.recall()

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference smu.measure.configlist.recall() This command recalls a specific configuration point in a specific measure configuration list. Type TSP-Link accessible Affected by Where saved Default value Function Usage smu.measure.configlist.recall(listName, point) listName...
  • Page 627: Smu.measure.configlist.size()

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual smu.measure.configlist.size() This function returns the size (number of configuration points) of a measure configuration list. Type TSP-Link accessible Affected by Where saved Default value Function Restore configuration Configuration script...
  • Page 628: Smu.measure.configlist.store()

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference smu.measure.configlist.store() This function stores the active measure settings into the named configuration list for measuring. Type TSP-Link accessible Affected by Where saved Default value Function Restore configuration Configuration script...
  • Page 629 Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Details This command sets the number of measurements that are taken when a measurement is requested. This command does not affect the trigger model. To get better feedback from the instrument, use the Simple Loop trigger model template instead of using the count command.
  • Page 630 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference Example 2 reset() --set up measure function smu.measure.func = smu.FUNC_DC_CURRENT smu.measure.terminals = smu.TERMINALS_REAR smu.measure.autorange = smu.ON smu.measure.nplc = 1 --set up source function smu.source.func = smu.FUNC_DC_VOLTAGE smu.source.ilimit.level = 0.1 smu.source.level = 20...
  • Page 631: Smu.measure.filter.count

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual smu.measure.displaydigits This attribute determines the number of digits that are displayed for measurements on the front panel for the selected function. Type TSP-Link accessible Affected by Where saved...
  • Page 632: Smu.measure.filter.enable

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference Details The filter count is the number of readings that are acquired and stored in the filter stack for the averaging calculation. The larger the filter count, the more filtering that is performed.
  • Page 633: Smu.measure.filter.type

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual smu.measure.filter.type This attribute sets the type of averaging filter that is used for the selected measurement function when the measurement filter is enabled. Type TSP-Link accessible Affected by...
  • Page 634: Smu.measure.func

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference smu.measure.func This attribute selects which type of measurement is active: current, voltage, or resistance. Type TSP-Link accessible Affected by Where saved Default value Attribute (RW) Restore configuration Configuration script smu.FUNC_DC_CURRENT...
  • Page 635: Smu.measure.limit[Y].Autoclear

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual smu.measure.limit[Y].autoclear This command indicates if limit Y should be cleared automatically or not. Type TSP-Link accessible Affected by Where saved Default value Attribute (RW) Restore configuration Configuration script smu.ON...
  • Page 636: Smu.measure.limit[Y].Clear()

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference smu.measure.limit[Y].clear() This function clears the results of the limit test for the selected measurement function. Type TSP-Link accessible Affected by Where saved Default value Function Usage smu.measure.limit[Y].clear() 1 or 2 for limit number Details Use this command to clear the test results of limit Y when the limit auto clear command is disabled.
  • Page 637: Smu.measure.limit[Y].Enable

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual smu.measure.limit[Y].enable This attribute enables or disables a limit test. Type TSP-Link accessible Affected by Where saved Default value Attribute (RW) Restore configuration Configuration script smu.OFF Instrument reset Measure configuration list...
  • Page 638: Smu.measure.limit[Y].Fail

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference smu.measure.limit[Y].fail This attribute queries the results of a limit test. Type TSP-Link accessible Affected by Where saved Default value Attribute (R) Function change Not applicable Not applicable Usage result = smu.measure.limit[Y].fail...
  • Page 639 Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual reset() smu.source.func = smu.FUNC_DC_CURRENT -- set the instrument source current smu.measure.func = smu.FUNC_DC_VOLTAGE -- set the instrument to measure voltage smu.measure.range = 10 -- set the range to 10 volts smu.measure.nplc = 0.1...
  • Page 640: Smu.measure.limit[Y].High.value

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference smu.measure.limit[Y].high.value This command specifies the upper limit for a limit test. Type TSP-Link accessible Affected by Where saved Default value Attribute (RW) Restore configuration Configuration script 1.000000E+00 Instrument reset...
  • Page 641: Smu.measure.limit[Y].Low.value

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual smu.measure.limit[Y].low.value This command specifies the lower limit for limit tests. Type TSP-Link accessible Affected by Where saved Default value Attribute (RW) Yes Restore configuration Configuration script −1.000000E+00 Instrument reset...
  • Page 642: Smu.measure.math.enable

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference smu.measure.math.enable This command enables or disables math operation on measurements for the selected measurement function. Type TSP-Link accessible Affected by Where saved Default value Attribute (RW) Restore configuration Configuration script smu.OFF...
  • Page 643: Smu.measure.math.format

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual smu.measure.math.format This attribute specifies which math operation is performed on measurements. Type TSP-Link accessible Affected by Where saved Default value Attribute (RW) Restore configuration Configuration script smu.MATH_PERCENT Instrument reset...
  • Page 644: Smu.measure.math.mxb.bfactor

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference smu.measure.math.mxb.bfactor This attribute specifies the offset for the y = mx + b operation. Type TSP-Link accessible Affected by Where saved Default value Attribute (RW) Restore configuration Configuration script...
  • Page 645: Smu.measure.math.mxb.mfactor

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual smu.measure.math.mxb.mfactor This attribute specifies the scale factor for the y = mx + b math operation. Type TSP-Link accessible Affected by Where saved Default value Attribute (RW) Restore configuration...
  • Page 646: Smu.measure.math.percent

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference smu.measure.math.percent This attribute specifies the constant to use when math operation is set to percent. Type TSP-Link accessible Affected by Where saved Default value Attribute (RW) Restore configuration...
  • Page 647: Smu.measure.nplc

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual smu.measure.nplc This command sets the time that the input signal is measured for the selected function. Type TSP-Link accessible Affected by Where saved Default value Attribute (RW) Restore configuration...
  • Page 648: Smu.measure.offsetcompensation

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference smu.measure.offsetcompensation This command enables or disables offset compensation for resistance measurements. Type TSP-Link accessible Affected by Where saved Default value Attribute (RW) Restore configuration Configuration script smu.OFF Instrument reset...
  • Page 649: Smu.measure.range = 0.5

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Details When you assign a range value, the instrument is set on a fixed range that is large enough to measure the assigned value. The instrument selects the best range for measuring the maximum expected value.
  • Page 650: Smu.measure.read()

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference smu.measure.read() This function makes a measurement and returns the reading. Type TSP-Link accessible Affected by Where saved Default value Function Usage reading = smu.measure.read() reading = smu.measure.read(bufferName) reading...
  • Page 651: Smu.measure.readwithtime()

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual smu.measure.readwithtime() This function returns the last actual measurement and time information in UTC format without using the trigger model. Type TSP-Link accessible Affected by Where saved Default value...
  • Page 652: Smu.measure.rel.acquire()

    The internal measurement acquired for the relative offset value Details This command triggers the Model 2450 to make a new measurement for the selected function. This measurement is then stored as the new relative offset level setting. When you send this command, the measurement is made without applying any math, limit test, or filter settings, even if they are set.
  • Page 653: Smu.measure.rel.level

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Details When relative measurements are enabled, all subsequent measured readings are offset by the relative offset value calculated when you acquire the relative offset value. Each returned measured relative reading is the result of the following calculation:...
  • Page 654: Smu.measure.sense

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference smu.measure.sense This command selects local (2-wire) or remote (4-wire) sensing. Type TSP-Link accessible Affected by Where saved Default value Attribute (RW) Restore configuration Configuration script smu.SENSE_2WIRE Instrument reset...
  • Page 655: Smu.measure.terminals

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual smu.measure.terminals This command determines which set of input and output terminals the instrument is using. Type TSP-Link accessible Affected by Where saved Default value Attribute (RW) Restore configuration Configuration script smu.TERMINALS_FRONT...
  • Page 656: Smu.measure.unit

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference smu.measure.unit This attribute describes the units of measurement that are displayed on the front panel of the instrument and stored in the reading buffer. Type TSP-Link accessible Affected by...
  • Page 657: Smu.measure.userdelay[N]

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual smu.measure.userdelay[N] This attribute sets a user-defined delay that can be used in the trigger model. Type TSP-Link accessible Affected by Where saved Default value Attribute (RW) Restore configuration...
  • Page 658: Smu.source.autorange

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference smu.source.autorange This attribute determines if the range is selected manually or automatically for the selected source function or voltage source. Type TSP-Link accessible Affected by Where saved Default value...
  • Page 659: Smu.source.autodelay

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual smu.source.autodelay This attribute enables or disables the autodelay that occurs when the source is turned on. Type TSP-Link accessible Affected by Where saved Default value Attribute (RW) Restore configuration Restore configuration smu.ON...
  • Page 660: Smu.source.configlist.create()

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference smu.source.configlist.create() This command creates an empty source configuration list for sourcing. Type TSP-Link accessible Affected by Where saved Default value Function Restore configuration Configuration script Instrument reset Power cycle...
  • Page 661: Smu.source.configlist.delete()

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual smu.source.configlist.delete() This command deletes a source configuration list. Type TSP-Link accessible Affected by Where saved Default value Function Usage smu.source.configlist.delete(listName) smu.source.configlist.delete(listName, point) listName A string that represents the name of a source configuration list...
  • Page 662: Smu.source.configlist.recall()

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference Details This command can only return data for one configuration point. To get data for additional configuration points, resend the command and specify different configuration points. Refer to...
  • Page 663: Smu.source.configlist.size()

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual smu.source.configlist.size() This command returns the number of configuration points in a source configuration list. Type TSP-Link accessible Affected by Where saved Default value Function Restore configuration Configuration script...
  • Page 664: Smu.source.delay

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference Details Use this command to store the active source settings to a configuration point in a configuration list. The point parameter indicates a specific configuration point in the list in which to store the active settings. If the point parameter is not provided, the configuration point is appended to the end of the list.
  • Page 665: Smu.source.func

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual smu.source.func This attribute contains the source function, which can be voltage or current. Type TSP-Link accessible Affected by Where saved Default value Attribute (RW) Restore configuration Configuration script smu.FUNC_DC_VOLTAGE...
  • Page 666: Smu.source.highc

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference smu.source.highc This attribute enables or disables high capacitance feature. Type TSP-Link accessible Affected by Where saved Default value Attribute (RW) Restore configuration Configuration script smu.OFF Instrument reset Source configuration list...
  • Page 667 Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Details This command sets the output level of the voltage or current source. If the output is on, the new level is sourced immediately. The sign of the source level dictates the polarity of the source. Positive values generate positive voltage or current from the high terminal of the source relative to the low terminal.
  • Page 668: Smu.source.xlimit.level

    Current: i • Details This command sets the source limit for measurements. The Model 2450 cannot source levels that exceed this limit. The values that can be set for this command are limited by the setting for the overvoltage protection limit.
  • Page 669: Smu.source.xlimit.tripped

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual smu.source.xlimit.tripped This attribute indicates if the source exceeded the limits that were set for the selected measurements. Type TSP-Link accessible Affected by Where saved Default value Attribute (R)
  • Page 670: Smu.source.offmode

    Reading this attribute returns the output-off state of the source. Setting this attribute configures the output-off state. When the Model 2450 is set to the normal output-off state, the following settings are made when the source is turned off: •...
  • Page 671: Smu.source.output

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual When the guard output-off state is selected and the output is turned off, the following actions occur: • The measurement sense is changed to 2-wire sense • The current source is selected and set to 0 A •...
  • Page 672: Smu.source.protect.level

    When this attribute is used in a test sequence, it should be set before the turning the source on. Even with the overvoltage protection set to the lowest value, never touch anything connected to the terminals of the Model 2450 when the output is on. Always assume that a hazardous voltage (>30 V ) is present when the output is on.
  • Page 673: Smu.source.protect.tripped

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual smu.source.protect.tripped This attribute indicates if the overvoltage source protection feature is active. Type TSP-Link accessible Affected by Where saved Default value Attribute (R) Not applicable Not applicable Not applicable Usage value = smu.source.protect.tripped...
  • Page 674: Smu.source.range

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference smu.source.range This attribute selects the range for the source for the selected source function. Type TSP-Link accessible Affected by Where saved Default value Attribute (RW) Restore configuration Configuration script...
  • Page 675: Smu.source.readback

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual smu.source.readback This attribute determines if the instrument records the measured source value or the configured source value when making a measurement. Type TSP-Link accessible Affected by Where saved...
  • Page 676: Smu.source.sweeplinear()

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference smu.source.sweeplinear() This function creates a linear source sweep configuration list and trigger model. Type TSP-Link accessible Affected by Where saved Default value Function Usage smu.source.sweeplinear(configListName, start, stop, points) smu.source.sweeplinear(configListName, start, stop, points, delay)
  • Page 677 Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Details Sweeps are only available when the source function is set to voltage or current. When the sweep is started, the instrument sources a specific voltage or current value to the device under test (DUT).
  • Page 678: Smu.source.sweeplinearstep()

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference smu.source.sweeplinearstep() This function sets up a linear source sweep configuration list and trigger model with a fixed number of steps. Type TSP-Link accessible Affected by Where saved Default value...
  • Page 679 Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Detail Sweeps are only available when the source function is set to voltage or current. When the sweep is started, the instrument sources a specific voltage or current voltage to the device under test (DUT).
  • Page 680: Smu.source.sweeplist()

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference smu.source.sweeplist() This function sets up a sweep based on a configuration list, which allows you to customize the sweep. Type TSP-Link accessible Affected by Where saved Default value...
  • Page 681 Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Example reset() smu.source.configlist.create("CurrListSweep") smu.source.func = smu.FUNC_DC_CURRENT smu.source.range = 100e-3 smu.source.level = 1e-3 smu.source.configlist.store("CurrListSweep") smu.source.level = 10e-3 smu.source.configlist.store("CurrListSweep") smu.source.level = 5e-3 smu.source.configlist.store("CurrListSweep") smu.source.level = 7e-3 smu.source.configlist.store("CurrListSweep") smu.source.level = 11e-3 smu.source.configlist.store("CurrListSweep")
  • Page 682: Smu.source.sweeplog()

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference smu.source.sweeplog() This function creates a logarithmic source sweep configuration list and trigger model. Type TSP-Link accessible Affected by Where saved Default value Function Usage smu.source.sweeplog(configListName, start, stop, points) smu.source.sweeplog(configListName, start, stop, points, delay)
  • Page 683 Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual asymptote Default is 0 Details Sweeps are only available when the source function is set to voltage or current. When the sweep is started, the instrument sources a specific voltage or current value to the device under test (DUT).
  • Page 684: Smu.source.userdelay[N]

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference smu.source.userdelay[N] This attribute sets a user-defined delay that can be used in the trigger model. Type TSP-Link accessible Affected by Where saved Default value Attribute (RW) Restore configuration...
  • Page 685: Status.condition

    (on page C-15) for additional information about reading bit values. If you are using the GPIB, USB, or VXI-11 serial poll sequence of the Model 2450 to get the status byte (also called a serial poll byte), B6 is the Request for Service (RQS) bit. If the bit is set, it indicates that a serial poll (SRQ) has occurred.
  • Page 686: Status.operation.condition

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference status.operation.condition This attribute reads the Operation Condition Register of the status model. Type TSP-Link accessible Affected by Where saved Default value Attribute (R) Not applicable Not saved Not applicable Usage operationRegister = status.operation.condition...
  • Page 687: Status.operation.event

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual status.operation.event This attribute reads the Operation Event Register of the status model. Type TSP-Link accessible Affected by Where saved Default value Attribute (R) Not applicable Not applicable Not applicable Usage operationRegister = status.operation.event...
  • Page 688: Status.operation.setmap()

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference status.operation.setmap() This attribute maps events to bits in the Operation Event Register. Type TSP-Link accessible Affected by Where saved Default value Function Usage status.operation.setmap(bitNumber, setEvent) status.operation.setmap(bitNumber, setEvent, clearEvent)
  • Page 689: Status.questionable.condition

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual status.questionable.condition This attribute reads the Questionable Condition Register of the status model. Type TSP-Link accessible Affected by Where saved Default value Attribute (R) Not applicable Not saved Not applicable Usage questionableRegister = status.questionable.condition...
  • Page 690: Status.questionable.event

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference status.questionable.event This attribute reads the questionable event register. Type TSP-Link accessible Affected by Where saved Default value .event (R) Not applicable Not applicable Not applicable Usage questionableRegister = status.questionable.event...
  • Page 691: Status.questionable.setmap()

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual status.questionable.setmap() This attribute maps events to bits in the questionable event registers. Type TSP-Link accessible Affected by Where saved Default value Function Usage status.questionable.setmap(bitNumber, setEvent) status.questionable.setmap(bitNumber, setEvent, clearEvent)
  • Page 692 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference Details This command sets or clears the individual bits of the Status Request Enable Register. The Status Request Enable Register is cleared when power is cycled or when a parameter value of 0 is sent with this command.
  • Page 693: Status.preset()

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual status.preset() This function resets all bits in the status model. Type TSP-Link accessible Affected by Where saved Default value Function Usage status.preset() Details This function clears the event registers and the enable registers for operation and questionable. It will not clear the enable status request enable (*SRE) to standard enable (*ESE).
  • Page 694 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference The instrument returns a decimal value that corresponds to the binary-weighted sum of all bits set in the register. Decimal Constant When set, indicates the following value has occurred: status.standard.OPC...
  • Page 695: Status.standard.event

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual status.standard.event This attribute returns the contents of the Standard Event Status Register set of the status model. Type TSP-Link accessible Affected by Where saved Default value Attribute (R)
  • Page 696: Timer.cleartime()

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference timer.cleartime() This function resets the timer to zero (0) seconds. Type TSP-Link accessible Affected by Where saved Default value Function Usage timer.cleartime() Example timer.cleartime() delay(3) print(timer.gettime()) Also see timer.gettime()
  • Page 697: Trigger.blender[N].Clear()

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual trigger.blender[N].clear() This function clears the blender event detector and resets the overrun indicator of blender N. Type TSP-Link accessible Affected by Where saved Default value Function Usage trigger.blender[N].clear()
  • Page 698: Trigger.blender[N].Overrun

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference Example trigger.blender[1].orenable = true Generate a trigger blender 1 trigger.blender[1].stimulus[1] = trigger.EVENT_DIGIO3 event when a digital I/O trigger happens on line 3 or trigger.blender[1].stimulus[2] = trigger.EVENT_DIGIO5 Also see trigger.blender[N].reset()
  • Page 699: Trigger.blender[N].Stimulus[M]

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Details The trigger.blender[N].reset() function resets the following attributes to their factory defaults: • trigger.blender[N].orenable • trigger.blender[N].stimulus[M] It also clears trigger.blender[N].overrun. Example trigger.blender[1].reset() Resets the trigger blender 1 settings to factory defaults.
  • Page 700: Trigger.blender[N].Wait()

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference The event parameter may be one of the existing trigger events shown in the following table. Trigger events Event description Event constant trigger.EVENT_NONE No trigger event trigger.EVENT_DISPLAY Front-panel TRIGGER key press trigger.EVENT_NOTIFYN...
  • Page 701: Trigger.digin[N].Clear()

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Details This function waits for an event blender trigger event. If one or more trigger events were detected since the last time trigger.blender[N].wait() or trigger.blender[N].clear() was called, this function returns immediately.
  • Page 702: Trigger.digin[N].Edge

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference trigger.digin[N].edge This attribute sets the logic on which the trigger event detector and the output trigger generator operate on the given trigger line. Type TSP-Link accessible Affected by...
  • Page 703: Trigger.digin[N].Overrun

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual trigger.digin[N].overrun This attribute returns the event detector overrun status. Type TSP-Link accessible Affected by Where saved Default value Attribute (R) Digital I/O trigger N clear Not saved Not applicable...
  • Page 704: Trigger.digout[N].Assert()

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference Details This function pauses for up to timeout seconds for an input trigger. If one or more trigger events are detected since the last time digio.trigger[N].wait() or digio.trigger[N].clear() was called, this function returns a value immediately.
  • Page 705: Trigger.digout[N].Logic

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual trigger.digout[N].logic This attribute sets the output logic of the trigger event generator to positive or negative for the specified line. Type TSP-Link accessible Affected by Where saved Default value...
  • Page 706: Trigger.digout[N].Release()

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference Example digio.line[4].mode = digio.MODE_TRIGGER_OUT Sets the pulse width for trigger line 4 to trigger.digout[4].pulsewidth = 20e-6 20 μs. Also see digio.line[N].mode (on page 8-43) digio.line[N].reset() (on page 8-44)
  • Page 707 Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Details The digital trigger pulsewidth command determines how long the trigger is asserted. The trigger stimulus for a digital I/O line may be set to one of the existing trigger events, which are described in the following table.
  • Page 708: Trigger.lanin[N].Clear()

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference trigger.lanin[N].clear() This function clears the event detector for a trigger. Type TSP-Link accessible Affected by Where saved Default value Function Usage trigger.lanin[N].clear() The LAN event number to clear (1 to 8) Details The trigger event detector enters the detected state when an event is detected.
  • Page 709: Trigger.lanin[N].Overrun

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Example trigger.lanin[1].edge = trigger.EDGE_FALLING Set the edge state of LAN event 1 to falling. Also see Digital I/O (on page 3-62) TSP-Link system expansion interface (on page 3-118) trigger.lanin[N].overrun...
  • Page 710: Trigger.lanin[N].Wait()

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference trigger.lanin[N].wait() This function waits for an input trigger. Type TSP-Link accessible Affected by Where saved Default value Function Usage triggered = trigger.lanin[N].wait(timeout) triggered Trigger detection indication (true or false)
  • Page 711: Trigger.lanout[N].Connect()

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Example trigger.lanout[5].assert() Creates a trigger with LAN packet 5. Also see lan.lxidomain (on page 8-67) trigger.lanin[N].clear() (on page 8-177) trigger.lanin[N].overrun (on page 8-178) trigger.lanin[N].wait() (on page 8-179) trigger.lanout[N].assert() (on page 8-179) trigger.lanout[N].ipaddress...
  • Page 712: Trigger.lanout[N].Connected

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference trigger.lanout[N].connected This attribute stores the LAN event connection state. Type TSP-Link accessible Affected by Where saved Default value Attribute (R) Not applicable Not applicable Not applicable Usage connected = trigger.lanout[N].connected...
  • Page 713: Trigger.lanout[N].Disconnect()

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual trigger.lanout[N].disconnect() This function disconnects the LAN trigger event generator. Type TSP-Link accessible Affected by Where saved Default value Function Usage trigger.lanout[N].disconnect() The LAN event number (1 to 8) Details When this command is set for TCP connections, this closes the TCP connection.
  • Page 714: Trigger.lanout[N].Logic

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference trigger.lanout[N].logic This attribute sets the logic on which the trigger event detector and the output trigger generator operate on the given trigger line. Type TSP-Link accessible Affected by...
  • Page 715: Trigger.lanout[N].Stimulus

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Details The LAN trigger listens for trigger messages on all the supported protocols. However, it uses the designated protocol for sending outgoing messages. After you change this setting, you must re-connect the LAN trigger event generator before you can send outgoing event messages.
  • Page 716 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference Details This attribute specifies which event causes a LAN trigger packet to be sent for this trigger. Set the event to one of the existing trigger events, which are shown in the following table.
  • Page 717: Trigger.model.abort()

    Where saved Default value Function Usage trigger.model.abort() Details When this command is received, the Model 2450 stops the trigger model. Example trigger.model.abort() Terminates all commands related to the trigger model on the instrument. Also see Effect of GPIB line events on Model 2450...
  • Page 718: Trigger.model.getbranchcount()

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference trigger.model.getbranchcount() This attribute returns the count value of the trigger model counter block. Type TSP-Link accessible Affected by Where saved Default value Function Usage trigger.model.getbranchcount(blockNumber) blockNumber The sequence of the block in the trigger model Details This command returns the counter value.
  • Page 719: Trigger.model.load() — Config List

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual trigger.model.load() — Config List This function loads a predefined trigger model configuration that uses source and measure configuration lists. Type TSP-Link accessible Affected by Where saved Default value...
  • Page 720: Trigger.model.load() — Duration Loop

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference trigger.model.load() — Duration Loop This function loads a predefined trigger model configuration that makes continuous measurements for a specified amount of time. Type TSP-Link accessible Affected by Where saved...
  • Page 721: Trigger.model.load() — Empty

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual trigger.model.load() — Empty This function resets the trigger model. Type TSP-Link accessible Affected by Where saved Default value Function Usage trigger.model.load("Empty") Details When you load this predefined trigger model, any existing trigger model settings are reset.
  • Page 722: Trigger.model.load() — Simple Loop

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference trigger.model.load() — Simple Loop This function loads a predefined trigger model configuration. Type TSP-Link accessible Affected by Where saved Default value Function Usage trigger.model.load("SimpleLoop", count) trigger.model.load("SimpleLoop", count, delay) trigger.model.load("SimpleLoop", count, delay, readingBuffer)
  • Page 723: Trigger.model.setblock() — Trigger.block_Branch_Always

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual This example uses the Simple Loop trigger model template to do a capacitor test. This example outputs 200 readings that have output similar to the following example output:...
  • Page 724 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference trigger.model.setblock() — trigger.BLOCK_BRANCH_COUNTER This function defines a trigger model block that branches to a specified block a specified number of times. Type TSP-Link accessible Affected by Where saved...
  • Page 725: Trigger.model.setblock() — Trigger.block_Branch_Delta

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual trigger.model.setblock() — trigger.BLOCK_BRANCH_DELTA This command defines a trigger model block that goes to a specified block if the difference of two measurements meets preset criteria. Type TSP-Link accessible...
  • Page 726: Trigger.model.setblock() — Trigger.block_Branch_Limit_Constant

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference trigger.model.setblock() — trigger.BLOCK_BRANCH_LIMIT_CONSTANT This command defines a trigger model block that branches to a block outside the normal trigger model flow if a measurement meets preset criteria. Type...
  • Page 727: Trigger.model.setblock() — Trigger.block_Branch_Limit_Dynamic

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Details The branch-on-constant-limits block goes to a branching block if a measurement meets the criteria set by this command. The type of limit can be: • Above: The measurement is above the value set by limit B. Limit A must be set, but is ignored when this type is selected.
  • Page 728: Trigger.model.setblock() — Trigger.block_Branch_On_Event

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference Details The branch-on-user-limits block goes to a specified building block if a measurement meets the criteria set by this command. There are two user-defined limits: limit 1 and limit 2. Both include their own high and low values. You set these limit threshold values as separate settings.
  • Page 729 Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Details The branch-on-event building block goes to a branching block after a specified trigger event occurs. If the trigger event has not yet occurred when the trigger model reaches the branch-on-event block, the trigger model continues to execute the blocks in the normal sequence.
  • Page 730: Trigger.model.setblock() — Trigger.block_Branch_Once

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference trigger.model.setblock() — trigger.BLOCK_BRANCH_ONCE This attribute causes the trigger model to branch to a specified building block the first time it is encountered in the trigger model. Type TSP-Link accessible...
  • Page 731: Trigger.model.setblock() — Trigger.block_Branch_Once_Excluded

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual trigger.model.setblock() — trigger.BLOCK_BRANCH_ONCE_EXCLUDED This command defines a trigger model block that causes the trigger model to go to a specified building block every time the trigger model encounters it, except for the first time.
  • Page 732: Trigger.model.setblock() — Trigger.block_Buffer_Clear

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference trigger.model.setblock() — trigger.BLOCK_BUFFER_CLEAR This command defines a trigger model block that clears the reading buffer. Type TSP-Link accessible Affected by Where saved Default value Function Restore configuration Configuration script Not applicable...
  • Page 733 Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual trigger.model.setblock() — trigger.BLOCK_CONFIG_NEXT This attribute recalls the settings at the next index point of a source or measure configuration list. Type TSP-Link accessible Affected by Where saved Default value...
  • Page 734: Trigger.model.setblock() — Trigger.block_Config_Prev

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference trigger.model.setblock() — trigger.BLOCK_CONFIG_PREV This command defines a trigger model block that recalls the settings stored at the previous index point in a measure or source configuration list. Type...
  • Page 735: Trigger.model.setblock() — Trigger.block_Config_Recall

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual trigger.model.setblock() — trigger.BLOCK_CONFIG_RECALL This attribute recalls the system settings that are stored in a measure or source configuration list. Type TSP-Link accessible Affected by Where saved Default value...
  • Page 736: Trigger.model.setblock() — Trigger.block_Delay_Constant

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference trigger.model.setblock() — trigger.BLOCK_DELAY_CONSTANT This command adds a constant delay to the trigger model. Type TSP-Link accessible Affected by Where saved Default value Function Restore configuration Configuration script Not applicable...
  • Page 737: Trigger.model.setblock() — Trigger.block_Delay_Dynamic

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual trigger.model.setblock() — trigger.BLOCK_DELAY_DYNAMIC This command adds a delay to the execution of the trigger model. Type TSP-Link accessible Affected by Where saved Default value Function Restore configuration Configuration script Not applicable...
  • Page 738: Trigger.model.setblock() — Trigger.block_Digital_Io

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference trigger.model.setblock() — trigger.BLOCK_DIGITAL_IO This function defines a trigger model block that sets the lines on the digital I/O port high or low. Type TSP-Link accessible Affected by Where saved...
  • Page 739: Trigger.model.setblock() — Trigger.block_Log_Event

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual trigger.model.setblock() — trigger.BLOCK_LOG_EVENT This function allows you to log an event in the event log when the trigger model is running. Type TSP-Link accessible Affected by Where saved...
  • Page 740: Trigger.model.setblock() — Trigger.block_Measure

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference trigger.model.setblock() — trigger.BLOCK_MEASURE This function defines a trigger block that makes a measurement. Type TSP-Link accessible Affected by Where saved Default value Function Restore configuration Configuration script Not applicable...
  • Page 741: Trigger.model.setblock() — Trigger.block_Nop

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual trigger.model.setblock() — trigger.BLOCK_NOP This function creates a placeholder that performs no action in the trigger model. Type TSP-Link accessible Affected by Where saved Default value Function Restore configuration...
  • Page 742: Trigger.model.setblock() — Trigger.block_Notify

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference trigger.model.setblock() — trigger.BLOCK_NOTIFY This function defines a trigger model block that generates a trigger event and immediately continues to the next block. Type TSP-Link accessible Affected by Where saved...
  • Page 743: Trigger.model.setblock() — Trigger.block_Source_Output

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual trigger.model.setblock() — trigger.BLOCK_SOURCE_OUTPUT This attribute defines a trigger block that turns the output source on or off. Type TSP-Link accessible Affected by Where saved Default value Function Restore configuration...
  • Page 744 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference Details You can use the wait block to synchronize measurements with other instruments and devices. Events that you can set the instrument to wait for include: • Digital input/output signals, such as DB-9 and TSP-Link •...
  • Page 745: Trigger.model.state()

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual trigger.model.state() This function returns the present state of the trigger model. Type TSP-Link accessible Affected by Where saved Default value Function Usage status = trigger.model.state() status The status of the trigger model: trigger.STATE_IDLE...
  • Page 746: Trigger.clear()

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference trigger.clear() This function clears the trigger event detector. Type TSP-Link accessible Affected by Where saved Default value Function Usage trigger.clear() Details The trigger event detector indicates if an event has been detected since the last trigger.wait() command was sent.
  • Page 747: Trigger.timer[N].Clear()

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual trigger.timer[N].clear() This function clears the timer event detector and overrun indicator for the specified trigger timer number. Type TSP-Link accessible Affected by Where saved Default value Function Usage trigger.timer[N].clear()
  • Page 748: Trigger.timer[N].Delay

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference trigger.timer[N].delay This attribute sets and reads the timer delay. Type TSP-Link accessible Affected by Where saved Default value Attribute (RW) Restore configuration Configuration script 10e-6 (10 µs) Instrument reset...
  • Page 749 Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Details Each time the timer is triggered after it is enabled, it uses the next delay period from the array. The default value is an array with one value of 10 µs.
  • Page 750: Trigger.timer[N].Enable

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference trigger.timer[N].enable This attribute enables the trigger timer. Type TSP-Link accessible Affected by Where saved Default value Attribute (RW) Restore configuration Configuration script trigger.OFF Instrument reset Power cycle Usage state = trigger.timer[N].enable...
  • Page 751: Trigger.timer[N].Reset()

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual trigger.timer[N].reset() This function resets trigger timer settings to their default values. Type TSP-Link accessible Affected by Where saved Default value Function Usage trigger.timer[N].reset() Trigger timer number (1 to 4) Details The trigger.timer[N].reset() function resets the following attributes to their default values:...
  • Page 752: Trigger.timer[N].Start.fractionalseconds

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference trigger.timer[N].start.fractionalseconds This attribute configures an alarm or a time in the future when the timer will start. Type TSP-Link accessible Affected by Where saved Default value Attribute (RW) Usage time = trigger.timer[N].start.fractionalseconds...
  • Page 753: Trigger.timer[N].Start.overrun

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual trigger.timer[N].start.overrun This attribute indicates if an event was ignored because of the event detector state. Type TSP-Link accessible Affected by Where saved Default value Attribute (RW) Not applicable...
  • Page 754: Trigger.timer[N].Start.stimulus

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference trigger.timer[N].start.stimulus This attribute describes the event that starts the trigger timer. Type TSP-Link accessible Affected by Where saved Default value Attribute (RW) Restore configuration Configuration script trigger.EVENT_NONE Instrument reset...
  • Page 755: Trigger.timer[N].Wait()

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual trigger.timer[N].wait() This function waits for a trigger. Type TSP-Link accessible Affected by Where saved Default value Function Usage triggered = trigger.timer[N].wait(timeout) triggered Trigger detection indication Trigger timer number (1 to 4)
  • Page 756: Trigger.tsplinkin[N].Edge

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference Details The trigger event detector enters the detected state when an event is detected. When this command is sent, the instrument does the following actions: • Clears the trigger event detector •...
  • Page 757: Trigger.tsplinkin[N].Overrun

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual trigger.tsplinkin[N].overrun This attribute indicates if the event detector ignored an event while in the detected state. Type TSP-Link accessible Affected by Where saved Default value Attribute (R) Instrument reset...
  • Page 758: Trigger.tsplinkout[N].Assert()

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference Details This function waits up to the timeout value for an input trigger. If one or more trigger events are detected since the last time this command or trigger.tsplinkin[N].clear() was called, this function returns immediately.
  • Page 759: Trigger.tsplinkout[N].Logic

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual trigger.tsplinkout[N].logic This attribute defines the trigger output with output logic for a trigger line. Type TSP-Link accessible Affected by Where saved Default value Attribute (RW) Restore configuration Configuration script trigger.LOGIC_POSITIVE...
  • Page 760: Trigger.tsplinkout[N].Release()

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference Details Setting the pulse width to 0 asserts the trigger indefinitely. Example tsplink.line[3].mode = tsplink.MODE_TRIGGER_OPEN_DRAIN Sets pulse width for trigger trigger.tsplinkout[3].pulsewidth = 20e-6 line 3 to 20 μs.
  • Page 761: Tsplink.group

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Details To disable automatic trigger assertion on the synchronization line, set this attribute to trigger.EVENT_NONE. Do not use this attribute when triggering under script control. Use trigger.tsplinkout[N].assert() instead.
  • Page 762: Tsplink.initialize()

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference Details To remove the node from all groups, set the attribute value to 0. When the node is turned off, the group number for that node changes to 0.
  • Page 763: Tsplink.line[N].Mode

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Example nodesFound = tsplink.initialize(2) Perform a TSP-Link initialization and print("Nodes found = " .. nodesFound) indicate how many nodes are found. Sample output if two nodes are found:...
  • Page 764: Tsplink.line[N].Reset()

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference tsplink.line[N].reset() This function resets some of the TSP-Link trigger attributes to their defaults. Type TSP-Link accessible Affected by Where saved Default value Function Usage tsplink.line[N].reset() The trigger line (1 to 3) Details The tsplink.line[N].reset() function resets the following attributes to their default values:...
  • Page 765: Tsplink.master

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Example lineState = tsplink.line[3].state Assume line 3 is set high, and then the state is read. print(lineState) Output: tsplink.STATE_HIGH Also see tsplink.line[N].mode (on page 8-232) tsplink.master This attribute reads the node number assigned to the master node.
  • Page 766: Tsplink.readport()

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference Example tsplink.node = 3 Sets the TSP-Link node for this instrument to number 3. Also see tsplink.initialize() (on page 8-231) tsplink.state (on page 8-235) tsplink.readport() This function reads the TSP-Link synchronization lines as a digital I/O port.
  • Page 767: Tsplink.writeport()

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Details When the instrument power is first turned on, the state is offline. After tsplink.initialize() or tsplink.reset() is successful, the state is online. Example state = tsplink.state Read the state of the TSP-Link system. If it is online,...
  • Page 768: Tspnet.connect()

    If a portNumber and initString are provided, it is assumed that the remote device is not TSP-enabled. The Model 2450 does not perform any extra processing, prompt handling, error handling, or sending of commands. In addition, the tspnet.tsp.* commands cannot be used on devices that are not TSP-enabled.
  • Page 769: Tspnet.disconnect()

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual If neither a portNumber nor an initString is provided, the remote device is assumed to be a Keithley Instruments TSP-enabled device. Depending on the state of the tspnet.tsp.abortonconnect attribute, the Model 2450 sends an abort command to the remote device on connection.
  • Page 770: Tspnet.execute()

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference Example testID = tspnet.connect("192.0.2.0") Create a TSP-Net session. -- Use the connection tspnet.disconnect(testID) Close the session. Also see tspnet.connect() (on page 8-237) tspnet.execute() This function sends a command string to the remote device.
  • Page 771: Tspnet.idn()

    (tspnet.termination()). You can also specify a format string, which causes the command to wait for a response from the remote instrument. The Model 2450 decodes the response message according to the format specified in the format string and returns the message as return values from the function (see tspnet.read() for format specifiers).
  • Page 772: Tspnet.read()

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference Example deviceID = tspnet.connect("192.0.2.1") Assume the instrument is at IP address 192.0.2.1. print(tspnet.idn(deviceID)) The output that is produced when you connect to the tspnet.disconnect(deviceID) instrument and read the IDN string may appear as: Keithley Instruments Inc., Model 2450,...
  • Page 773: Tspnet.readavailable()

    If formatString is not provided, the command returns a string that contains the data until a new line is reached. If no data is available, the Model 2450 pauses operation until the requested data is available or until a timeout error is generated. Use tspnet.timeout to specify the timeout period.
  • Page 774: Tspnet.reset()

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference tspnet.reset() This function disconnects all TSP-Net sessions. Type TSP-Link accessible Affected by Where saved Default value Function Usage tspnet.reset() Details This command disconnects all remote instruments connected through TSP-Net. For TSP-enabled devices, this causes any commands or scripts running remotely to be terminated.
  • Page 775: Tspnet.timeout

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Example deviceID = tspnet.connect("192.0.2.1") Sets termination type for IP address if deviceID then 192.0.2.1 to TERM_LF. tspnet.termination(deviceID, tspnet.TERM_LF) Also see tspnet.connect() (on page 8-237) tspnet.disconnect() (on page 8-238) tspnet.timeout...
  • Page 776: Tspnet.tsp.abort()

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference tspnet.tsp.abort() This function causes the TSP-enabled instrument to stop executing any of the commands that were sent to it. Type TSP-Link accessible Affected by Where saved Default value...
  • Page 777: Tspnet.tsp.rbtablecopy()

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Details This setting determines if the instrument sends an abort message when it attempts to connect to a TSP-enabled instrument using the tspnet.connect() function. When you send the abort command on an interface, it causes any other active interface on that instrument to close.
  • Page 778: Tspnet.tsp.runscript()

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference Example times = Copy the specified timestamps table for items tspnet.tsp.rbtablecopy(testTspdevice, 1 through 3, then display the table. Sample "testRemotebuffername.timestamps", 1, 3) output: 01/01/2011 print(times) 10:10:10.0000013,01/01/2011 10:10:10.0000233,01/01/2011 10:10:10.0000576...
  • Page 779: Tspnet.write()

    The tspnet.write() function sends inputString to the remote instrument. It does not wait for command completion on the remote instrument. The Model 2450 sends inputString to the remote instrument exactly as indicated. The inputString must contain any necessary new lines, termination, or other syntax elements needed to complete properly.
  • Page 780: Upgrade.unit()

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference upgrade.unit() This function upgrades the Model 2450 firmware. Type TSP-Link accessible Affected by Where saved Default value Function Usage upgrade.unit() Details When upgrade.unit() is used, the firmware is only loaded if the version of the firmware component is newer than the existing version.
  • Page 781: Userstring.catalog()

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Example userstring.add("assetnumber", "236") Stores user-defined strings in nonvolatile userstring.add("product", "Widgets") memory and recalls them from the instrument using a for loop. userstring.add("contact", "John Doe") for name in userstring.catalog() do print(name ..
  • Page 782: Userstring.delete()

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference userstring.delete() This function deletes a user-defined string from nonvolatile memory. Type TSP-Link accessible Affected by Where saved Default value Function Usage userstring.delete(name) name The name (key) of the key-value pair of the user-defined string to delete Details This function deletes the string that is associated with name from nonvolatile memory.
  • Page 783: Waitcomplete()

    Section 8: TSP command reference Model 2450 Interactive SourceMeter® Instrument Reference Manual Example value = userstring.get("assetnumber") Read the value associated with a user-defined print(value) string named "assetnumber". Store it in a variable called value, then print the variable value. Output: Also see userstring.add()
  • Page 784: Frequently Asked Questions (Faqs)

    How do I upgrade the firmware? ..........9-7 Where can I find updated drivers? ........... 9-7 Why can't the Model 2450 read my USB flash drive? ....9-7 How do I download measurements onto the USB drive? ..9-8 How do I save the present state of the instrument? ....9-9 Why did my settings change? ..........
  • Page 785: How Do I Display The Instrument's Serial Number?

    To determine the VISA resource name that is required to communicate with the instrument, you can run the Keithley Configuration Panel. The Configuration Panel automatically detects all instruments connected to the computer. If you installed the Keithley I/O Layer, you can access the Keithley Configuration Panel through the ® ®...
  • Page 786 Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 9: Frequently asked questions (FAQs) Figure 142: Device Manager dialog box showing USB Test and Measurement Device 3. Right-click the device. 4. Select Properties. 5. Select the Driver tab. 6. Click Driver Details.
  • Page 787: Which Microsoft Windows Operating Systems Are Supported?

    Select this and make sure the driver is now in use. 11. If this does not work, uninstall VISA, unplug the instrument and follow the steps to reinstall VISA in the section Modifying, repairing, or removing Keithley I/O Layer software. Which Microsoft Windows operating systems are supported? Microsoft Windows 2000, Windows XP, Windows Vista, and Windows 7 are supported.
  • Page 788: What To Do If The Gpib Controller Is Not Recognized?

    ASCII text only uses seven data lines in the cable; the binary transfer requires all eight lines. How do I change the command set? You can change the command set that you use with the Model 2450. The remote command sets that are available include: •...
  • Page 789 SCPI command set. In addition, some Series 2400 code will work differently in the Model 2450 than it did in the earlier instrument. See Model 2450 in a Model 2400 application (on page D-1) for information about the differences.
  • Page 790: How Do I Upgrade The Firmware?

    Why can't the Model 2450 read my USB flash drive? Verify that the drive is formatted with the FAT file system. The Model 2450 only supports FAT drives. In Windows, you can check the file system by checking the properties of the flash drive.
  • Page 791: How Do I Download Measurements Onto The Usb Drive?

    Section 9: Frequently asked questions (FAQs) Model 2450 Interactive SourceMeter® Instrument Reference Manual How do I download measurements onto the USB drive? From the front panel, you can download measurements from a reading buffer to a .csv file on a USB flash drive.
  • Page 792: How Do I Save The Present State Of The Instrument?

    Where setupName is the name of the setup script that will be created. Why did my settings change? Many of the commands in the Model 2450 are saved with the source or measurement function that was active when you set them. For example, assume you have the measurement function set to current and set a value for NPLCs.
  • Page 793: What Is Nplc?

    When you select a Quick Setup, the instrument turns the output on. Carefully consider and configure the appropriate output-off state, source, and limits before connecting the Model 2450 to a device that can deliver energy, such as other voltage sources, batteries, capacitors, or solar cells. Configure the settings that are recommended for the instrument before making connections to the device.
  • Page 794: What Is The Output-Off State?

    Failure to consider the output-off state, source, and source limits may result in damage to the instrument or to the device under test (DUT). When the Model 2450 is set to the normal output-off state, the following settings are made when the source is turned off: •...
  • Page 795: How Do I Store Readings Into The Buffer?

    An interlock circuit is provided on the rear panel of the instrument. This circuit must be closed to enable the Model 2450 to produce voltages greater than 38 V DC. If you try to assign a high-voltage output and turn the source on when the interlock is not asserted, you see event code 5074, "Output voltage limited by interlock."...
  • Page 796: How Do I Trigger A Sweep?

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Section 9: Frequently asked questions (FAQs) If the safety interlock is not asserted and the source is turned on, the following actions occur: • The nominal output is limited to ±37 V. •...
  • Page 797: What Is Offset Compensation?

    How do I use the digital I/O port? You can use the Model 2450 digital input/output with the trigger model or to control an external digital circuit, such as a device handler used to perform binning operations. To control or configure any of the six digital input/output lines, send commands to the Model 2450 over a remote interface.
  • Page 798: How Do I Trigger Other Instruments?

    Section 9: Frequently asked questions (FAQs) How do I trigger other instruments? You can use the Model 2450 digital input/output to control an external digital circuit, such as a device handler used to perform binning operations. For more information about the Model 2450 digital I/O...
  • Page 800: Additional Model 2450 Information

    Next steps In this section: Additional Model 2450 information ......... 10-1 Additional Model 2450 information For additional information about the Model 2450, refer to: • The Product Information CD-ROM (ships with the product): Contains software tools, drivers, and product documentation •...
  • Page 802: Line Fuse Replacement

    Line fuse replacement A fuse located on the Model 2450 rear panel protects the power line input of the instrument. Disconnect the line cord at the rear panel and remove all test leads connected to the instrument before replacing the line fuse. Failure to do so could expose the operator to hazardous voltages that could result in personal injury or death.
  • Page 803: Front-Panel Display

    Appendix A: Maintenance Model 2450 Interactive SourceMeter® Instrument Reference Manual 4. Use the screwdriver to lift the tab from the AC receptacle. 5. Slide the fuse drawer out. The fuse drawer does not pull completely out of the power module.
  • Page 804: Upgrading The Firmware

    Upgrading the firmware To upgrade the Model 2450 firmware, you load an upgrade file into the instrument. You can load the file from the USB port using the remote interface or the front panel of the instrument. If you are using Test Script Builder (TSB), you can upgrade the firmware from TSB using a file saved to the computer on which TSB is running.
  • Page 805: From The Front Panel

    Appendix A: Maintenance Model 2450 Interactive SourceMeter® Instrument Reference Manual From the front panel Do not turn off power or remove the USB flash drive until the upgrade process is complete. From the front panel: 1. Copy the firmware upgrade file to a USB flash drive.
  • Page 806: Using Scpi

    9. After completion of the upgrade, turn the instrument off and then turn it on again. 10. To return to the SCPI 2400 command set, send the command: *LANG SCPI2400 11. To return to the SCPI 2450 command set, send the command: *LANG SCPI 12. Turn the instrument off and then turn it on again.
  • Page 807: Using Tsb

    Do not turn off power or remove the USB flash drive until the upgrade process is complete. After downloading an upgrade file from the Keithley Instruments website, you can use Test Script Builder (TSB) to upgrade the firmware of your instrument.
  • Page 808 This section describes the general bus commands and common commands. Note that although these commands are essentially the same as those defined by the IEEE Std 488.2 standard, the Model 2450 does not strictly conform to that standard. The general bus commands are commands that have the same general meaning, regardless of the instrument (for example, DCL always clears the GPIB interface and returns it to a known state).
  • Page 809 Clear the event log (which clears the Error Queue of the status model). When the command language of the instrument is SCPI 2450, this command clears the event registers of the Questionable Event and Operation Event Register set. It also clears the event log. It does not affect the Questionable Event Enable or Operation Event Enable registers.
  • Page 810 Model 2450 Interactive SourceMeter® Instrument Reference Manual Appendix B: Common commands The instrument returns a decimal value that corresponds to the binary-weighted sum of all bits set in the register. Decimal Constant When set, indicates the following has occurred: value status.standard.OPC...
  • Page 811 Appendix B: Common commands Model 2450 Interactive SourceMeter® Instrument Reference Manual *ESR? This command reads and clears the contents of the Standard Event Status Register. Type Affected by Where saved Default value Query only Usage *ESR? Details The instrument returns a decimal value that corresponds to the binary-weighted sum of all bits set in the register.
  • Page 812 Model 2450 Interactive SourceMeter® Instrument Reference Manual Appendix B: Common commands *IDN? This command retrieves the identification string of the instrument. Type Affected by Where saved Default value Query only None Not applicable Not applicable Usage *IDN? Details The identification string includes the manufacturer, model number, serial number, and firmware revision of the instrument.
  • Page 813 Appendix B: Common commands Model 2450 Interactive SourceMeter® Instrument Reference Manual You cannot combine the command sets. Example *LANG TSP Set the language to TSP. *LANG? Verify setting by sending the language query. Output: The TSP command set is in use.
  • Page 814 Model 2450 Interactive SourceMeter® Instrument Reference Manual Appendix B: Common commands *RST This command resets the instrument settings to their default values. Type Affected by Where saved Default value Command only Usage *RST Details Returns the instrument to default settings, cancels all pending commands, and cancels the response to any previously received *OPC and *OPC? commands.
  • Page 815 Appendix B: Common commands Model 2450 Interactive SourceMeter® Instrument Reference Manual *SRE This command sets or clears the bits of the Status Request Enable Register. Type Affected by Where saved Default value Command only None Usage *SRE <n> *SRE? <n>...
  • Page 816 Model 2450 Interactive SourceMeter® Instrument Reference Manual Appendix B: Common commands *STB? This command gets the serial poll byte of the instrument without clearing the request service bit. Type Affected by Where saved Default value Query only Not applicable Not applicable...
  • Page 817 Appendix B: Common commands Model 2450 Interactive SourceMeter® Instrument Reference Manual *TST? This command is accepted and returns 0. Type Affected by Where saved Default value Query only Usage *TST? Also see None *WAI This command postpones the execution of subsequent commands until all previous overlapped commands are finished.
  • Page 818: Status Model

    Appendix C Status model In this appendix: Overview ................. C-1 Serial polling and SRQ ............C-13 Programming enable registers ..........C-13 Reading the registers ............C-14 Understanding bit settings ............. C-15 Clearing registers ..............C-16 Status model programming examples ........C-17 Overview The status model consists of status register sets and queues.
  • Page 819 Appendix C: Status model Model 2450 Interactive SourceMeter® Instrument Reference Manual Figure 149: Non-programmable status registers diagram 2450-901-01 Rev. B/September 2013...
  • Page 820: Standard Event Register

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Appendix C: Status model Standard Event Register The Standard Event Register set includes two 8-bit registers: • Standard Event Status register: Reports when a predefined event has occurred. The register latches the event and the corresponding bit remains set until it is cleared by a read.
  • Page 821 Appendix C: Status model Model 2450 Interactive SourceMeter® Instrument Reference Manual When set, indicates the following has occurred: Operation complete: All pending selected instrument operations are complete and the instrument is ready to accept new commands. The bit is set in response to an...
  • Page 822: Programmable Status Register Sets

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Appendix C: Status model Programmable status register sets You can program the registers in the Questionable Event Register and Operation Event Register sets. These event registers contain bits that identify the state of an instrument condition or event. They also contain bits that determine if those events are sent to the Status Byte Register.
  • Page 823 Appendix C: Status model Model 2450 Interactive SourceMeter® Instrument Reference Manual Figure 151: Programmable status registers diagram 2450-901-01 Rev. B/September 2013...
  • Page 824 Model 2450 Interactive SourceMeter® Instrument Reference Manual Appendix C: Status model Questionable Event Register You can program the bits in the Questionable Event register to be cleared or set when an event occurs. When an enabled Questionable Event Register bit is set (because the enabled event occurs), the corresponding bit B0 (MSB) and Bit B3 (QSB) of the Status Byte Register is set.
  • Page 825 Appendix C: Status model Model 2450 Interactive SourceMeter® Instrument Reference Manual Operation Event Register You can program the bits in the Operation Condition and Operation Event Status registers to be cleared or set when an event occurs. When an enabled Operation Event Register bit is set, the corresponding bit B7 (OSB) of the Status Byte Register is set.
  • Page 826 Model 2450 Interactive SourceMeter® Instrument Reference Manual Appendix C: Status model Mapping events to bits To program the Questionable and Operation Event Registers, you map events to specific bits in the register. This causes a bit in the condition and event registers to be set (or cleared) when the specified event occurs.
  • Page 827: Status Byte Register

    The Status Byte Register also receives summary bits from itself, which sets the Master Summary Status (MSS) bit. When using the GPIB, USB, or VXI-11 serial poll sequence of the Model 2450 to get the status byte (serial poll byte), bit B6 is the RQS bit. See...
  • Page 828 Model 2450 Interactive SourceMeter® Instrument Reference Manual Appendix C: Status model Status Byte Register diagram The Status Byte Register consists of two 8-bit registers that control service requests, the Status Byte Register and the Service Request Enable Register. These registers are shown in the following figure.
  • Page 829: Service Request Enable Register

    Appendix C: Status model Model 2450 Interactive SourceMeter® Instrument Reference Manual Service Request Enable Register This register is programmed by the user and is used to enable or disable the setting of bit B6 (RQS/MSS) by the Status Summary Message bits (B0, B1, B2, B3, B4, B5, and B7) of the Status Byte Register.
  • Page 830: Serial Polling And Srq

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Appendix C: Status model Serial polling and SRQ Any enabled event summary bit that goes from 0 to 1 sets bit B6 and generates a service request (SRQ). In your test program, you can periodically read the Status Byte to check if an SRQ has occurred and what caused it.
  • Page 831: Reading The Registers

    Appendix C: Status model Model 2450 Interactive SourceMeter® Instrument Reference Manual Reading the registers You can read any register in the Status Model. The response is a decimal value that indicates which bits in the register are set. See Understanding bit settings (on page C-15) for information on how to convert the decimal value to bits.
  • Page 832: Understanding Bit Settings

    Zero (0) indicates that all bits are clear. In the Model 2450, the least significant bit is always bit B0. The most significant bit differs for each register, but in most cases is either bit B7 or bit B15.
  • Page 833: Clearing Registers

    Appendix C: Status model Model 2450 Interactive SourceMeter® Instrument Reference Manual Clearing registers Registers in the status model can be cleared using commands or by instrument actions. When a registered is cleared, the bits in the register are set to 0.
  • Page 834: Status Model Programming Examples

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Appendix C: Status model Status model programming examples The following examples illustrate how to generate an SRQ using the status model. SRQ when the SMU reaches its source limit This example demonstrates how to generate an SRQ when the SMU detects it has reached its source limit.
  • Page 835: Srq When Trigger Model Is Finished

    Appendix C: Status model Model 2450 Interactive SourceMeter® Instrument Reference Manual SRQ when Trigger Model is finished This example shows you how to generate an SRQ when the trigger model is completed and the SMU has returned to the Idle state. After configuring the status model, this code will configure and run the trigger model.
  • Page 836: Srq On Trigger Model Notify Event

    Model 2450 Interactive SourceMeter® Instrument Reference Manual Appendix C: Status model Using TSP commands: reset() -- Clear the reading buffer defbuffer1.clear() -- Clear the status byte status.clear() -- Map bit 0 of operational status register to set on trigger -- model exit (2732) and clear on trigger model enter (2731).
  • Page 837 Appendix C: Status model Model 2450 Interactive SourceMeter® Instrument Reference Manual Using SCPI commands: *RST SOUR:CONF:LIST:CRE "sourceList" SOUR:VOLT:RANG 10 SOUR:VOLT:ILIM 10e-3 SENS:NPLC 1 SENS:CURR:RANG 10e-3 SENS:AZER:ONCE SOUR:VOLT 1 SOUR:CONF:LIST:STORE "sourceList" SOUR:VOLT 2 SOUR:CONF:LIST:STORE "sourceList" SOUR:VOLT 3 SOUR:CONF:LIST:STORE "sourceList" SOUR:VOLT 4 SOUR:CONF:LIST:STORE "sourceList"...
  • Page 838 Model 2450 Interactive SourceMeter® Instrument Reference Manual Appendix C: Status model Using TSP commands: reset() smu.source.configlist.create("sourceList") smu.source.range = 10 smu.source.ilimit.level = 10e-3 smu.measure.nplc = 1 smu.measure.range = 10e-3 smu.measure.autozero.once() for i=0, 10 do smu.source.level = i smu.source.configlist.store("sourceList") defbuffer1.clear() -- Configure the Trigger Model trigger.model.setblock(1, trigger.BLOCK_CONFIG_RECALL, "sourceList")
  • Page 839: Srq On Error

    SRQ when reading buffer becomes full This example shows you how to generate an SRQ when the Model 2450 reading buffer is full. This is useful to notify the controlling computer that it needs to read back the data and empty the buffer. After configuring the status model, this code configures the default reading buffer 1 to a size of 100, and then configures the SMU to fill the buffer.
  • Page 840 Model 2450 Interactive SourceMeter® Instrument Reference Manual Appendix C: Status model Using TSP commands: reset() -- Clear the status byte status.clear() -- Map bit 0 of operational status register to set on buffer -- full (4918) and clear on buffer empty (4917).
  • Page 841: Srq When A Measurement Completes

    Appendix C: Status model Model 2450 Interactive SourceMeter® Instrument Reference Manual SRQ when a measurement completes This example shows you how to generate an SRQ when a measurement completes. This is most useful when you have a measurement that will take a long time to complete and you wish to free up the controlling computer to do other things while it is waiting.
  • Page 842 Model 2450 Interactive SourceMeter® Instrument Reference Manual Appendix C: Status model -- Clear the status byte status.clear() -- Map bit 0 of the Operation Event Register to set on the Measurement -- Done log notification (trigger.LOG_INFO2) and clear on the -- Measurement Started log notification (trigger.LOG_INFO1).
  • Page 844: Using A Model 2450 In An Existing Model 2400 Application

    Using a Model 2450 in an existing Model 2400 application You can use a Model 2450 in an existing Model 2400 application. However, because of updates to the Model 2450, some Model 2400 options are no longer available or operate differently than they did for earlier Series 2400 products.
  • Page 845 Appendix D: Model 2450 in a Model 2400 application Model 2450 Interactive SourceMeter® Instrument Reference Manual Model 2400 to 2450 differences You can use a Model 2450 in an existing Model 2400 application. The instruments are mostly compatible, with the following exceptions: •...
  • Page 846 Appendix D: Model 2450 in a Model 2400 application Commands that were added to the SCPI 2400 command set To replace some features that are needed to use the Model 2450 in a Series 2400 application, the following commands were added.
  • Page 847 If you have existing code that sets contact check parameters, the commands will be accepted and ignored or are accepted and return a default value. The Model 2400 commands related to this feature and the Model 2450 response to them are listed below.
  • Page 848: Model 2400 Scpi To Model 2450 Scpi Command Cross-Reference

    This section lists the SCPI commands that were available with the Model 2400, cross-referenced to the equivalent commands in the Model 2450 where available. Differences between the commands are noted. If no differences are noted, the command should operate the same on the Model 2450 as it did in the Model 2400.
  • Page 849 Appendix D: Model 2450 in a Model 2400 application Model 2450 Interactive SourceMeter® Instrument Reference Manual :CALCulate[1]:DATA:LATest? Model 2400 command Not supported Model 2450 command Use buffer to get user math data; see the TRACe subsystem (on page 6-107). Notes...
  • Page 850 Model 2450 Interactive SourceMeter® Instrument Reference Manual Appendix D: Model 2450 in a Model 2400 application :CALCulate2:CLIMits:CLEar:AUTO Model 2400 command :CALCulate2:CLIMits:CLEar:AUTO? Not available Model 2450 command Notes :CALCulate2:CLIMits:CLEar[:IMMediate] Model 2400 command Not available Model 2450 command Notes :CALCulate2:CLIMits:FAIL:SMLocation Model 2400 command...
  • Page 851 VOLTage[:DC], CURRent[:DC], or RESistance Note that :CALCulate2:LIMit4:FAIL? is not supported (related to contact Notes check, which is not provided on Model 2450). Note that this only available for two limits in the Model 2450. :CALCulate2:LIMit<x>:LOWer[:DATA] Model 2400 command :CALCulate2:LIMit<x>:LOWer[:DATA]? :CALCulate2:<function>:LIMit<y>:LOWer[:DATA]...
  • Page 852 :CALCulate2:<function>:LIMit<y>:UPPer[:DATA] (on page 6-18), where Model 2450 command <function> is VOLTage[:DC], CURRent[:DC], or RESistance and <y> is 1 or 2. Note that this only available for two limits in the Model 2450. Notes :CALCulate2:LIMit<x>:UPPer:SOURce2 Model 2400 command :CALCulate2:LIMit<x>:UPPer:SOURce2? Not available...
  • Page 853 Appendix D: Model 2450 in a Model 2400 application Model 2450 Interactive SourceMeter® Instrument Reference Manual DISPlay subsystem :DISPlay:CNDisplay Model 2400 command :DISPlay:SCReen (on page 6-26) Model 2450 command Notes :DISPlay:DIGits Model 2400 command :DISPlay:DIGits? :DISPlay:<function>:DIGits (on page 6-23), where <function> is...
  • Page 854 :FORMat:ELEMents[:SENSe[1]]? Not available Model 2450 command In the Model 2450, format elements are specified with the READ?, FETCh?, Notes MEASure?, and TRACe:DATA? commands with each use instead of using a global setting for all commands. The elements may be unique for each command and are unique each time the command is processed.
  • Page 855 (on page 6-4), where <function> is VOLTage[:DC], Model 2450 command CURRent[:DC], or RESistance. Can specify a buffer in Model 2450 and which buffer elements to access from Notes the buffer when you specify the command. In the Model 2450, this command...
  • Page 856 Model 2450 Interactive SourceMeter® Instrument Reference Manual Appendix D: Model 2450 in a Model 2400 application [:SENSe[1]]:AVERage:COUNt Model 2400 command [:SENSe[1]]:AVERage:COUNt? [:SENSe[1]]:<function>:AVERage:COUNt (on page 6-43), where <function> Model 2450 command is VOLTage[:DC], CURRent[:DC], or RESistance. This is now set for each measurement function.
  • Page 857 [:SENSe[1]]:<function>:RANGe:AUTO:ULIMit (on page 6-52), where Model 2450 command <function> is VOLTage[:DC] or RESistance. Upper limit is not available for current for Model 2450. For voltage, you can Notes query the upper limit for voltage, but not set it. [:SENSe[1]]:CURRent[:DC]:RANGe:HOLDoff Model 2400 command...
  • Page 858 Model 2400 command [:SENSe[1]]:FUNCtion[:ON]? [:SENSe[1]]:FUNCtion[:ON] (on page 6-49) Model 2450 command [:SENSe[1]]:FUNCtion[:ON]? Does not support a list parameter in the Model 2450 Notes [:SENSe[1]]:FUNCtion[:ON]:ALL Model 2400 command Not available Model 2450 command Only one measurement function is active at a time.
  • Page 859 Appendix D: Model 2450 in a Model 2400 application Model 2450 Interactive SourceMeter® Instrument Reference Manual [:SENSe[1]]:RESistance:HOLDoff:DELay Model 2400 command [:SENSe[1]]:RESistance:HOLDoff:DELay? Not available Model 2450 command Notes [:SENSe[1]]:RESistance:MODE Model 2400 command [:SENSe[1]]:RESistance:MODE? [:SENSe[1]]:<function>:MODE, where <function> is RESistance. Model 2450 command [:SENSe[1]]:<function>:MODE?
  • Page 860 Model 2450 Interactive SourceMeter® Instrument Reference Manual Appendix D: Model 2450 in a Model 2400 application :SOURce[1]:CURRent:CENTer Model 2400 command :SOURce[1]:CURRent:CENTer? :SOURce[1]:VOLTage:CENTer :SOURce[1]:VOLTage:CENTer? :SOURce[1]:SWEep:<function>:LINear (on page 6-81) Model 2450 command :SOURce[1]:SWEep:<function>:LINear:STEP (on page 6-83) :SOURce[1]:SWEep:<function>:LIST (on page 6-85) :SOURce[1]:SWEep:<function>:LOG (on page 6-87) Sweep parameters are built into the sweep command path.
  • Page 861 Appendix D: Model 2450 in a Model 2400 application Model 2450 Interactive SourceMeter® Instrument Reference Manual :SOURce[1]:CURRent:RANGe Model 2400 command :SOURce[1]:CURRent:RANGe? :SOURce[1]:VOLTage:RANGe :SOURce[1]:VOLTage:RANGe? :SOURce[1]:<function>:RANGe (on page 6-74), where <function> is Model 2450 command CURRent or VOLTage. :SOURce[1]:<function>:RANGe? Notes :SOURce[1]:CURRent:RANGe:AUTO Model 2400 command...
  • Page 862 Notes :SOURce[1]:LIST:CURRent:APPend Model 2400 command :SOURce[1]:SWEep:<function>:LIST (on page 6-85) Model 2450 command In the Model 2450, this setting is set as part of the configuration list that is Notes created by the sweep command. :SOURce[1]:LIST:CURRent:POINts? Model 2400 command :SOURce[1]:SWEep:<function>:LIST (on page 6-85)
  • Page 863 Notes :SOURce[1]:LIST:VOLTage:APPend Model 2400 command :SOURce[1]:SWEep:<function>:LIST (on page 6-85) Model 2450 command In the Model 2450, this setting is set as part of the configuration list that is Notes created by the sweep command. :SOURce[1]:LIST:VOLTage:POINts? Model 2400 command Not available...
  • Page 864 Model 2450 Interactive SourceMeter® Instrument Reference Manual Appendix D: Model 2450 in a Model 2400 application :SOURce[1]:SWEep:CABort Model 2400 command :SOURce[1]:SWEep:CABort? :SOURce[1]:SWEep:<function>:LINear (on page 6-81) Model 2450 command :SOURce[1]:SWEep:<function>:LINear:STEP (on page 6-83) :SOURce[1]:SWEep:<function>:LIST (on page 6-85) :SOURce[1]:SWEep:<function>:LOG (on page 6-87) Sweep parameters are built into the sweep command path.
  • Page 865 SOURce2 subsystem :SOURce2:BSIZe Model 2400 command :SOURce2:BSIZe? Not available Model 2450 command All digital inputs and outputs on the Model 2450 are general; you can choose as Notes appropriate. See Digital I/O (on page 3-62) for information. :SOURce2:CLEar:AUTO Model 2400 command...
  • Page 866 (on page 6-89) for information. :STATus:OPERation:CONDition? Model 2400 command :STATus:OPERation:CONDition? (on page 6-89) Model 2450 command In the Model 2450, you need to map events into the register (there are no set Notes bits). See Status model (on page C-1) for information. :STATus:OPERation:ENABle...
  • Page 867 Appendix D: Model 2450 in a Model 2400 application Model 2450 Interactive SourceMeter® Instrument Reference Manual :STATus:QUEue:DISable Model 2400 command :STATus:QUEue:DISable? Not available Model 2450 command Use the event log; see Using the event log (on page 2-117). Notes :STATus:QUEue:ENABle...
  • Page 868 (on page 2- Notes 117) for changes to error reporting. :SYSTem:GUARd Model 2400 command :SYSTem:GUARd? Not available Model 2450 command Cable guard is the only option available on Model 2450. Notes :SYSTem:KEY Model 2400 command :SYSTem:KEY? Not available Model 2450 command Notes 2450-901-01 Rev.
  • Page 869 Model 2450 Interactive SourceMeter® Instrument Reference Manual :SYSTem:LFRequency Model 2400 command :SYSTem:LFRequency? :SYSTem:LFRequency? (on page 6-104) Model 2450 command Line frequency is always automatically detected in the Model 2450. Notes :SYSTem:LFRequency:AUTO Model 2400 command :SYSTem:LFRequency:AUTO? Not available Model 2450 command Line frequency is always automatically detected in the Model 2450.
  • Page 870 Notes :TRACe:DATA? Model 2400 command :TRACe:DATA? (on page 6-109) Model 2450 command In the Model 2450, this command allows you to dynamically specify the buffer Notes elements to retrieve from the reading buffer. :TRACe:FEED Model 2400 command :TRACe:FEED? Not available...
  • Page 871 In the Model 2450, you can specify the buffer. Notes :TRACe:TSTamp:FORMat Model 2400 command :TRACe:TSTamp:FORMat? Not available Model 2450 command In the Model 2450, you can specify a timestamp element using :TRACe:DATA? Notes (on page 6-109). TRIGger subsystem ABORt Model 2400 command...
  • Page 872 Model 2450 Interactive SourceMeter® Instrument Reference Manual Appendix D: Model 2450 in a Model 2400 application :ARM[:SEQuence[1]][:LAYer[1]][:TCONfigure]:OLINe Model 2400 command :ARM[:SEQuence[1]][:LAYer[1]][:TCONfigure]:OLINe? Not available Model 2450 command For similar functionality, use a digital I/O line with the trigger model. Notes Generate a notify event in the trigger model that feeds the stimulus setting to a digital I/O line to pulse as needed in the trigger model.
  • Page 873 Appendix D: Model 2450 in a Model 2400 application Model 2450 Interactive SourceMeter® Instrument Reference Manual :TRIGger[:SEQuence[1]][:TCONfigure]:DIRection Model 2400 command :TRIGger[:SEQuence[1]][:TCONfigure]:DIRection? Not available Model 2450 command Similar functionality available with :TRIGger:BLOCk:WAIT (on page 6-148). Notes :TRIGger[:SEQuence[1]][:TCONfigure]:ILINe Model 2400 command :TRIGger[:SEQuence[1]][:TCONfigure]:ILINe?
  • Page 874 Model 2450 Interactive SourceMeter® Instrument Reference Manual Appendix D: Model 2450 in a Model 2400 application Common commands Model 2400 command Model 2450 command Notes *CLS *CLS (on page B-2) Model 2450 has fewer registers *ESE *ESE (on page B-2)
  • Page 876 Index arrays • 7-25 maintenance • A-1 attribute • 7-2 master averaging measurement data • 4-22 node, TSP-Link • 3-124 math library functions • 7-28 base library functions • 7-26 moving average filter • 4-22 mX+b • 3-6 clear • 8-236 command node device control •...
  • Page 877 Index Model 2450 Interactive SourceMeter® Instrument Reference Manual Test Script Builder • 7-30 triggering synchronous triggering modes • 3-92 troubleshooting FAQs • 9-1 TSB Embedded installing software • 7-29 TSP-Link groups • 3-125, 3-126 nodes • 3-120 synchronization lines digital I/O • 3-123 upgrade functions •...
  • Page 878 Specifications are subject to change without notice. All Keithley trademarks and trade names are the property of Keithley Instruments, Inc. All other trademarks and trade names are the property of their respective companies. A G r eater Mea sur e of Confi denc e...

Table of Contents