background image

Model 2651A High Power System SourceMeter® Instrument Reference Manual 

Section 3: Functions and features 

2651A-901-01 Rev. A / March 2011 

3-11 

 

 

 

Reading buffer commands 

The following table summarizes commands associated with the reading buffers. See 

Remote 

command

s

 (on page 5-1) for detailed reading buffer command information. 

Reading buffer commands 

Command 

Description 

Commands save/clear readings:

 

smu

X

.savebuffer(smu

X

.nvbuffer

Y

Saves the reading buffer to the Model 2651A. 

smu

X

.nvbuffer1.clear() 

Clears buffer 1. 

smu

X

.nvbuffer2.clear() 

Clears buffer 2. 

mybuffer = smu

X

.makebuffer(

n

Creates a dynamically allocated buffer for 

n

 readings. 

mybuffer = nil 

Deletes the dynamically allocated buffer. 

savebuffer(smu

X

.nvbuffer1,"csv", 

   "/usb1/mybuffer.csv") 

Saves the reading buffer to the USB flash drive. 

Commands to store readings: 

smu

X

.measure.count = 

count

 

The number of measurements to acquire. 

smu

X

.measure.overlappedi(

rbuffer

Stores the current readings in buffer. 

smu

X

.measure.overlappediv(

ibuffer, 

   vbuffer

Stores the current and voltage readings in respective buffers 
(current and voltage are stored in separate buffers). 

smu

X

.measure.overlappedp(

rbuffer

Stores the power readings in buffer. 

smu

X

.measure.overlappedr(

rbuffer

Stores the resistance readings in buffer. 

smu

X

.measure.overlappedv(

rbuffer

Stores the voltage readings in buffer. 

smu

X

.measure.v(

rbuffer

Reading buffer where voltage readings will be stored. 

smu

X

.measure.i(

rbuffer

Reading buffer where current readings will be stored. 

smu

X

.measure.iv(

ibuffer, 

   vbuffer

Stores the current and voltage readings in respective buffers 
(current and voltage are stored in separate buffers). 

smu

X

.measure.r(

rbuffer

Reading buffer where resistance readings will be stored. 

smu

X

.measure.p(

rbuffer

Reading buffer where power readings will be stored. 

smu

X

.trigger.measure.v(

rbuffer

Reading buffer where voltage readings will be stored. 

smu

X

.trigger.measure.i(

rbuffer

Reading buffer where current readings will be stored. 

smu

X

.trigger.measure.r(

rbuffer

Reading buffer where resistance readings will be stored. 

smu

X

.trigger.measure.p(

rbuffer

Reading buffer where power readings will be stored. 

smu

X

.trigger.measure.iv(

ibuffer, 

   vbuffer

Stores the current and voltage readings in respective buffers 
(current and voltage are stored in separate buffers). 

Commands to access readings: 

printbuffer(

start_index, end_index, 

   st_1, st_2, ... st_n

Prints data from buffer subtables: 

start_index

 (starting index 

of values to print). 

end_index

 (ending index of values to print). 

st_1, st_2, ... st_n

  (subtables from which to print each 

separated by a comma). 

 

 

Buffer storage control attributes 

The following table contains buffer storage control attributes. 

 

Содержание 2651A

Страница 1: ...www keithley com E C N E D I F N O C F O E R U S A E M R E T A E R G A Model 2651A High Power System SourceMeter Instrument Reference Manual 2651A 901 01 Rev A March 2011 ...

Страница 2: ...is strictly prohibited All Keithley Instruments product names are trademarks or registered trademarks of Keithley Instruments Inc Other brand names are trademarks or registered trademarks of their respective holders The Lua 5 0 software and associated documentation files are copyright 1994 2008 Tecgraf PUC Rio Terms of license for the Lua software and associated documentation can be accessed at th...

Страница 3: ...surement control and data I O connections are for connection to Category I sources unless otherwise marked or described in the user documentation Exercise extreme caution when a shock hazard is present Lethal voltage may be present on cable connector jacks or test fixtures The American National Standards Institute ANSI states that a shock hazard exists when voltage levels greater than 30V RMS 42 4...

Страница 4: ...s dangers that might result in personal injury or death Always read the associated information very carefully before performing the indicated procedure The CAUTION heading in the user documentation explains hazards that could damage the instrument Such damage may invalidate the warranty Instrumentation and accessories shall not be connected to humans Before performing any maintenance disconnect th...

Страница 5: ... 2 10 Display mode 2 10 Basic operation 2 11 Operation overview 2 11 Menu overview 2 15 Operation considerations 2 22 Basic source measure procedure 2 24 Triggering in local mode 2 27 Configuring trigger attributes in local mode 2 28 Sink operation and interface 2 29 Configuring for measure only tests using the MODE key 2 30 Contact check measurements 2 37 User setup 2 39 DUT test connections 2 42...

Страница 6: ...ting an interface 2 73 Output queue 2 73 LAN communications 2 74 GPIB operation 2 76 General bus commands 2 78 Front panel GPIB operation 2 80 RS 232 interface operation 2 81 Functions and features 3 1 Rel 3 1 Front panel rel 3 1 Remote rel programming 3 2 Filters 3 3 Filter types 3 3 Front panel filter control 3 4 Remote filter programming 3 4 Reading buffers 3 6 Front panel reading buffer contro...

Страница 7: ... menu 3 79 Key press codes 3 81 Digital I O 3 83 Digital I O port 3 83 Using output enable 3 88 TSP Link synchronization lines 3 89 Theory of operation 4 1 Analog to digital converter 4 1 Source measure concepts 4 2 Overview 4 2 Compliance principles 4 2 Overheating protection 4 3 Operating boundaries 4 5 Basic circuit configurations 4 14 Guard 4 17 Cable considerations 4 20 Reduction in gain band...

Страница 8: ...ving and modifying a factory script listing 5 21 KISweep factory script 5 22 KIPulse factory script 5 23 KIHighC factory script 5 24 KIParlib factory script 5 24 KISavebuffer factory script 5 24 Instrument programming 6 1 Fundamentals of scripting for TSP 6 1 What is a script 6 2 Runtime and nonvolatile memory storage of scripts 6 2 What can be included in scripts 6 2 Commands that cannot be used ...

Страница 9: ...ommunication 6 59 Copying test scripts across the TSP Link network 6 59 Removing stale values from the reading buffer 6 60 TSP Net 6 60 Overview 6 60 TSP Net capabilities 6 61 Using TSP Net with any Ethernet enabled device 6 61 TSP Net versus TSP Link to communicate with TSP enabled devices 6 62 Instrument commands General device control 6 63 Instrument commands TSP enabled device control 6 63 Exa...

Страница 10: ...7 43 digio readport 7 43 digio trigger N assert 7 44 digio trigger N clear 7 44 digio trigger N EVENT_ID 7 45 digio trigger N mode 7 46 digio trigger N overrun 7 47 digio trigger N pulsewidth 7 48 digio trigger N release 7 48 digio trigger N reset 7 49 digio trigger N stimulus 7 49 digio trigger N wait 7 51 digio writebit 7 51 digio writeport 7 52 digio writeprotect 7 53 display clear 7 54 display...

Страница 11: ... readdir 7 91 fs rmdir 7 91 gettimezone 7 92 gm_isweep 7 92 gm_vsweep 7 93 gpib address 7 94 i_leakage_measure 7 95 i_leakage_threshold 7 96 InitiatePulseTest 7 97 io close 7 99 io flush 7 99 io input 7 100 io open 7 100 io output 7 101 io read 7 101 io type 7 102 io write 7 103 lan applysettings 7 103 lan autoconnect 7 104 lan config dns address N 7 104 lan config dns domain 7 105 lan config dns ...

Страница 12: ...otocol 7 129 lan trigger N pseudostate 7 129 lan trigger N stimulus 7 130 lan trigger N wait 7 131 localnode autolinefreq 7 132 localnode description 7 133 localnode linefreq 7 133 localnode model 7 134 localnode password 7 134 localnode passwordmode 7 135 localnode prompts 7 136 localnode prompts4882 7 137 localnode reset 7 137 localnode revision 7 138 localnode serialno 7 138 localnode showerror...

Страница 13: ...al state 7 180 smuX cal unlock 7 181 smuX contact calibratehi 7 182 smuX contact calibratelo 7 183 smuX contact check 7 186 smuX contact r 7 187 smuX contact speed 7 188 smuX contact threshold 7 189 smuX makebuffer 7 189 smuX measure adc 7 190 smuX measure autorangeY 7 191 smuX measure autozero 7 192 smuX measure calibrateY 7 193 smuX measure count 7 194 smuX measure delay 7 195 smuX measure delay...

Страница 14: ...5 smuX trigger measure set 7 236 smuX trigger measure stimulus 7 237 smuX trigger measure Y 7 238 smuX trigger MEASURE_COMPLETE_EVENT_ID 7 239 smuX trigger PULSE_COMPLETE_EVENT_ID 7 240 smuX trigger source action 7 241 smuX trigger source limitY 7 242 smuX trigger source linearY 7 243 smuX trigger source listY 7 244 smuX trigger source logY 7 245 smuX trigger source set 7 246 smuX trigger source s...

Страница 15: ...stionable unstable_output 7 307 status request_enable 7 308 status request_event 7 310 status reset 7 312 status standard 7 312 status system 7 314 status system2 7 316 status system3 7 318 status system4 7 320 status system5 7 322 SweepILinMeasureV 7 324 SweepIListMeasureV 7 325 SweepILogMeasureV 7 326 SweepVLinMeasureI 7 328 SweepVListMeasureI 7 329 SweepVLogMeasureI 7 330 timer measure t 7 332 ...

Страница 16: ...pnet execute 7 363 tspnet idn 7 364 tspnet read 7 365 tspnet readavailable 7 366 tspnet reset 7 366 tspnet termination 7 367 tspnet timeout 7 368 tspnet tsp abort 7 368 tspnet tsp abortonconnect 7 369 tspnet tsp rbtablecopy 7 369 tspnet tsp runscript 7 370 tspnet write 7 371 userstring add 7 372 userstring catalog 7 372 userstring delete 7 373 userstring get 7 374 waitcomplete 7 374 Troubleshootin...

Страница 17: ...e using the instrument web interface A 5 Calibration B 1 Verification B 1 Verification test requirements B 1 Restoring factory defaults B 4 Performing the verification test procedures B 4 Current source accuracy B 6 Current measurement accuracy B 8 Voltage source accuracy B 13 Voltage measurement accuracy B 14 Adjustment B 16 Introduction B 16 Environmental conditions B 16 Calibration consideratio...

Страница 18: ...og from the command interface C 20 Common commands D 1 Command summary D 1 Script command equivalents D 2 Command reference D 2 Identification query IDN D 3 Operation complete and query OPC and OPC D 3 Reset RST D 3 Self test query TST D 3 Trigger TRG D 3 Wait to continue WAI D 4 Status model E 1 Status Byte Register E 1 Status register sets E 2 Queues E 2 Service requests and connections E 2 Stat...

Страница 19: ...8 System Summary Registers E 19 Standard Event Register E 19 Operation Status Registers E 20 Measurement Event Registers E 23 Register programming example E 24 Queues E 25 Output queue E 25 Error queue E 25 TSP Link system status E 26 Status model configuration example E 26 Display character codes F 1 Display character dot patterns F 5 Index I 1 ...

Страница 20: ...ive solution for precision DC pulse and low frequency AC source measure testing that also maintains code compatibility with the Series 2600A Extended warranty Additional years of warranty coverage are available on many products These valuable contracts protect you from unbudgeted service expenses and provide additional years of protection at a fraction of the price of a repair Extended warranties ...

Страница 21: ...lopment software Keithley Instruments part number KTS 850 Use this CD ROM to install the Test Script Builder Integrated Development Environment This software not only provides an environment to develop a test program but also the ability to load the test program onto the instrument Running a program loaded on the instrument eliminates the need to send individual commands from the host computer to ...

Страница 22: ...instruments to trigger and communicate with each other advanced Test Script Processor TSP scripting engine features enable parallel script execution across the TSP Link network Supports IEEE 488 GPIB RS 232 and local area network LAN connections Additional source and measure features Source DC voltage from 1 μV to 40 4 V Source DC current from 10 pA to 20 2 A Source pulse current up to 50 A Measur...

Страница 23: ...ment s general ratings and connections are contained in the following table Category Specification Supply voltage range 100 V AC to 240 V AC 50 Hz to 60 Hz autosensing 550 VA maximum Input and output connections See Front and rear panel operation on page 2 1 Environmental conditions For indoor use only Altitude Maximum 2000 meters above sea level Operating 0 C to 50 C 70 relative humidity up to 35...

Страница 24: ...FIG 5 6 7 8 9 0 0000 SPEED DIGITS FILTER REL RECALL STORE MENU TRIG ENTER LOCAL EXIT RUN LOAD P U S H T O E D I T E N T E R P U SH TO EDIT EN T E R CONFIG NF 3 21000V ARM SrcA 20 0000 A LimAL10 0000V 6 3 4 2 5 7 1 1 Special keys and power switch POWER Power switch The in position turns the Model 2651A on I the out position turns it off O DISPLAY Toggles between the various source measure displays ...

Страница 25: ...ital filter You can use this filter to reduce reading noise Special operation LOAD Loads test for execution FACTORY USER or SCRIPTS RUN Runs the last selected factory or user defined tests STORE Accesses reading buffers and takes readings TAKE_READINGS Sets number of readings to make and also takes and stores readings SAVE Stores readings in one of two internal buffers SMUA_BUFFER1 or SMUA_BUFFER2...

Страница 26: ...h the navigation wheel again when finished editing Use the CURSOR keys or navigation wheel to navigate through menu items To view a menu value use the CURSOR keys for cursor control and then press the navigation wheel to view the value or sub menu item 5 Navigation wheel navigation wheel Turn the navigation wheel to Move the cursor to the left and the right the cursor indicates the selected value ...

Страница 27: ... Model 2651A is shown below The descriptions of the rear panel components follow the figure Figure 2 Rear panel Model 2651A LINE RATING 100 240 VAC 50 60 Hz 500VA MAX LINE FUSE SLOWBLOW 5 0 A 250 V NO INTERNAL OPERATOR SERVICEABLE PARTS SERVICE BY QUALIFIED PERSONNEL ONLY REPLACE FUSE WITH SAME TYPE AND RATING WARNING CHANNEL A RS 232 DIGITAL I O LAN IEEE 488 G G G G S LO SENSE GUARD S HI LO HI OU...

Страница 28: ...t provided can be used 6 TSP link Expansion interface that allows a Model 2651A and other TSP enabled instruments to trigger and communicate with each other Use a category 5e or higher LAN crossover cable Keithley Instruments part number CA 180 3A 7 Chassis ground Ground screw for connections to chassis ground 8 Cooling exhaust vent Exhaust vent for the internal cooling fan Keep the vent free of o...

Страница 29: ...er cooling DO NOT position any devices adjacent to the Model 2651A that force air heated or unheated toward its cooling vents or surfaces This additional airflow could compromise accuracy When rack mounting the Model 2651A make sure there is adequate airflow around both sides to ensure proper cooling Adequate airflow enables air temperatures within approximately one inch of the Model 2651A surface...

Страница 30: ...r panel 3 Connect the other end of the power cord to a grounded AC outlet WARNING The power cord supplied with the Model 2651A contains a separate ground wire for use with grounded outlets When proper connections are made the instrument chassis is connected to power line ground through the ground wire in the power cord Failure to use a grounded outlet may result in personal injury or death due to ...

Страница 31: ...owing programming example illustrates how to set the line frequency to 60 Hz localnode linefreq 60 The following programming example illustrates how to remotely configure the instrument to automatically detect line frequency at each power up localnode autolinefreq true Fuse replacement A rear panel fuse drawer is located below the AC receptacle refer to 3 Power Module on page 2 6 This fuse protect...

Страница 32: ...Set the beeper enable attribute The following programming example illustrates how to enable the beeper beeper enable 1 Display mode Use the DISPLAY key to scroll through the various display modes shown in the figure below Refer to Display operations on page 3 70 for information about display messaging Figure 3 Display modes User state V SrcA 000 000mV LimA 100 000mA Press DISPLAY key y y Press DIS...

Страница 33: ... display current voltage resistance or power Source current Measure and display voltage current resistance or power Measure resistance Display resistance calculated from voltage and current components of measurement can optionally specify source voltage or source current value Measure power Display power calculated from voltage and current components of measurement can optionally specify source vo...

Страница 34: ... mode The maximum compliance limits are based on source range For more information see the Compliance principles on page 4 2 topic The instrument s compliance limit operation changes dependent on the source mode current or voltage load and the configured limits current voltage and power It is important to distinguish both the current and voltage limits from the power limit As the names imply the c...

Страница 35: ... mA 40 V 1 A 40 V 5 A 40 V 10 A 20 V 20 A 10 V 50 A pulse 40 V Setting the compliance limit Front panel compliance limit Set the compliance limit from the front panel as follows 1 Press the LIMIT key to directly access compliance editing Pressing the LIMIT button while in limit edit mode will toggle the display between the complimentary function limit and the power limit display 2 Press the naviga...

Страница 36: ... returned value of 1 indicates that the voltage limit has been reached if the unit is configured as a current source or that the current limit has been reached if the unit is configured as a voltage source Compliance commands Command Description smua source limiti limit Set current compliance limit smua source limitv limit Set voltage compliance limit smua source limitp limit Set power compliance ...

Страница 37: ...is not illuminated Selecting menu items To navigate the Main and Configuration menus use the editing keys as follows Use the CURSOR arrow keys to select a menu or an option Press the ENTER key to select an item or menu option Rotate the navigation wheel clockwise or counter clockwise to select a value Use the EXIT LOCAL key to cancel changes or to back out of the menu structure NOTE You can use th...

Страница 38: ...O SYSTEM INFORMATION RESET PASSWORD FIRMWARE FIRMWARE REVISION MEMORY USAGE MEMORY USAGE SERIAL CAL CALIBRATION INFO LAN LAN CONFIG STATUS CONFIG LAN CONFIG APPLY_SETTINGS RESET RESTORE DEFAULTS ENABLE LAN ENABLE IP ADDRESS CONFIG FAULT LAN Fault GATEWAY GATEWAY ADDRESS SUBNET MASK METHOD LAN METHOD DNS MAC ADDRESS SPEED LAN SPEED DUPLEX DUPLEX MODE PORT IP ADDRESS METHOD LAN METHOD GATEWAY SUBNET...

Страница 39: ... STATUS Displays LAN connection status CONFIG Configures the LAN IP address and gateway APPLY_SETTINGS Applies changes made using the CONFIG menu RESET Restores the default settings ENABLE Enables and disables the LAN interface RS232 Controls the options for the RS 232 interface Communications Interfaces on page 2 73 BAUD Sets the baud rate BITS Configures the number of bits PARITY Sets the parity...

Страница 40: ...0Hz Set the line frequency to 50 Hz 60Hz Set the line frequency to 60 Hz AUTO Enables automatic line frequency detection during start up SYSTEM INFO Displays the system information General operation on page 2 1 FIRMWARE Displays the version of firmware installed SERIAL Displays the serial number of the unit CAL Displays the last calibration date MEMORY USAGE Displays memory usage in kilobytes RESE...

Страница 41: ...T VOLTAGE POWER Enter a value Enter a value Enter a value Enter a value REL CURRENT VOLTAGE OHMS WATTS Enter a value SPEED FAST MED NORMAL HI ACCURACY OTHER Select a value MEAS V MEAS I MEAS AUTO ZERO AUTO ZERO A SENSE MODE LOW RANGE OFF ONCE AUTO LOW RANGE Enter a value FILT CONFIGURE FILTER A TYPE FILTER TYPE A COUNT AVERAGE AVERAGING TYPE A MEDIAN MEDIAN TYPE A REPEAT MOVING MOVING STORE CONFIG...

Страница 42: ...ange autozero Range on page 2 65 LIMIT LIMIT V source and I source compliance limits Compliance limit on page 2 12 SPEED SPEED Measurement speed NPLC Speed on page 2 71 REL REL Set relative values Rel on page 3 1 FILT FILTER Control digital filter Filters on page 3 3 OUTPUT OUTPUT ON OFF Set off state control digital I O Output off states on page 2 59 TRIG TRIG Set trigger in count interval and de...

Страница 43: ...ght 4 Repeat the above steps as required to set the desired values 5 Press the ENTER key to select the value or press the EXIT LOCAL key to cancel change 6 Optional Press the EXIT LOCAL key to return to the main menu Setting source and compliance values When the Model 2651A is in the edit mode EDIT indicator is on the editing controls are used to set source and compliance values Note that source a...

Страница 44: ...s the EXIT LOCAL key to back out of the compliance menu NOTE The up and down range keys changes the format and range of the limit value Operation considerations The following paragraphs discuss autozero and NPLC caching Autozero The integrating ADC of the Model 2651A uses a ratiometric A D conversion technique To ensure accuracy of readings the instrument must periodically obtain fresh measurement...

Страница 45: ...new acquisitions when processor determines reference and zero values are out of date Front panel autozero Set the autozero from the front panel as follows 1 Press the CONFIG key and then press the MEAS key 2 Turn the navigation wheel to select AUTO ZERO and then press the ENTER key or the navigation wheel 3 Turn the navigation wheel to select the desired mode OFF ONCE or AUTO and then press the EN...

Страница 46: ...operations of the Model 2651A The following procedure assumes that the Model 2651A is already connected to the DUT as explained in DUT test connections on page 2 42 WARNING Hazardous voltages may be present on the output and guard terminals To prevent electrical shock that could cause injury or death NEVER make or break connections to the Model 2651A while the output is on Power off the equipment ...

Страница 47: ...nt range When not measuring the source such as when sourcing V but measuring I measurement range selection can be done manually or automatically When using manual ranging use the lowest possible range for best accuracy When autorange is enabled the Model 2651A automatically goes to the most sensitive range to make the measurement Step 4 Turn output on Turn the output on by pressing the OUTPUT ON O...

Страница 48: ...smua source autorangev smua AUTORANGE_ON Enable voltage source autorange smua source autorangei smua AUTORANGE_OFF Disable current source autorange smua source autorangev smua AUTORANGE_OFF Disable voltage source autorange smua source func smua OUTPUT_DCVOLTS Select voltage source function smua source func smua OUTPUT_DCAMPS Select current source function smua source leveli sourceval Set current s...

Страница 49: ...o smua source autorangev smua AUTORANGE_ON Set voltage source to 5 V smua source levelv 5 Set current limit to 10 mA smua source limiti 10e 3 Set current range to 10 mA smua measure rangei 10e 3 Turn on output smua source output smua OUTPUT_ON Print and place current reading in buffer print smua measure i smua nvbuffer1 Turn off output smua source output smua OUTPUT_OFF Beep beeper enable beeper O...

Страница 50: ...eated indefinitely if the infinite trigger count is selected For multiple measurements the unit waits for the programmed trigger interval if any before taking the next measurement Figure 7 Local triggering Source Delay Measure Output On Interval Measures Count Complete Trigger In Front Panel Immediate or TRIG Configuring trigger attributes in local mode From the front panel press the CONFIG key an...

Страница 51: ...o return to normal display 8 Press the OUTPUT ON OFF control to turn the output on and then press TRIG A 2 s delay occurs before the first measurement The unit cycles through measurements indefinitely with a 1 s interval between measurements 9 Press the OUTPUT ON OFF control again to stop taking readings Sink operation and interface CAUTION Carefully consider and configure the appropriate output o...

Страница 52: ... 2651A as a V meter I meter ohm meter or watt meter 1 Press the MODE key 2 Turn the navigation wheel to select the desired meter from the menu I METER V METER OHM METER or WATT METER and then press the ENTER key 3 The Model 2651A has now been configured to the selected meter To manually configure the settings refer to the applicable topics V meter and I meter measurements on page 2 30 Ohms measure...

Страница 53: ... View the displayed reading press the TRIG key if necessary When finished press the OUTPUT ON OFF control again to turn the output off Ohms measurements Ohms calculations Resistance readings are calculated from the measured current and measured voltage as follows R V I Where R is the calculated resistance V is the measured voltage I is the sourced current Ohms ranging The front panel ohms function...

Страница 54: ...ted current through the resistor under test See Step 2 see Step 2 Set compliance limit on page 2 25 of Front panel source measure procedure see Front panel source measure procedure on page 2 24 earlier in this section 3 Press the MEAS key to display voltage or current then make sure that AUTO measurement range is on 4 Press the MEAS key to display ohms 5 Turn on the output then note the reading on...

Страница 55: ...01 Rev A March 2011 2 33 Figure 8 2 wire resistance sensing Model 2651A I Input Output HI VM VR Test Current I Resistance Under Test Lead Resistances RS I Current sourced VM Voltage measured VR Voltage across resistor Input Output LO RLEAD RLEAD RS 2 RLEAD VM Measured resistance VM I RS Actual resistance VR I ...

Страница 56: ...nse selection To select sensing mode 1 Press the CONFIG key and then press the MEAS key Choose V MEAS and then press the ENTER key or the navigation wheel 2 Select SENSE MODE then press the ENTER key 3 Select 2 WIRE or 4 WIRE as desired and then press the ENTER key or the navigation wheel Remote sense selection Use the smua sense command to control sense selection by remote The programming example...

Страница 57: ...e illustrates the setup and command sequence of a typical ohms measurement procedure with the following parameters Source function current 10 mA range 10 mA output Voltage measure range auto Voltage compliance 10 V Sense mode 4 wire Restore Model 2651A defaults smua reset Select current source function smua source func smua OUTPUT_DCAMPS Set source range to 10 mA smua source rangei 10e 3 Set curre...

Страница 58: ... front panel or disconnect the main power cord from the rear of the Model 2651A before handling cables connected to the outputs Putting the equipment into standby does not guarantee the outputs are not powered if a hardware or software fault occurs To perform power measurements 1 Set source function and value Press the SRC key to select the voltage or current source function as required then set t...

Страница 59: ...0 mA smua source limiti 50e 3 Set current range to auto smua measure autorangei smua AUTORANGE_ON Turn on output smua source output smua OUTPUT_ON Get power reading print smua measure p Turn off output smua source output smua OUTPUT_OFF Contact check measurements Overview The contact check function prevents measurements that may be in error due to excessive resistance in the force or sense leads w...

Страница 60: ...d if a hardware or software fault occurs Contact check commands The following table summarizes basic contact check commands See Remote Commands on page 5 1 for more information on using these commands Basic contact check commands Command Description flag smua contact check Determine if contact resistance is lower than threshold rhi rlo smua contact r Measure the contact resistance smua contact spe...

Страница 61: ...int rhi rlo Terminate execution exit end Turn output on and continue smua source output smua OUTPUT_ON User setup The Model 2651A can be restored to one of six nonvolatile memory setup configurations five user setups and one factory default or to a setup stored on an external USB flash drive As shipped from the factory the Model 2651A powers up to the original default settings The default settings...

Страница 62: ...elect SETUP and then press the ENTER key 3 Select the RECALL menu item and then press the ENTER key 4 Select one of the following INTERNAL USB1 5 INTERNAL only Do one of the following Select the user number 1 through 5 then press the ENTER key Select FACTORY to restore factory defaults then press the ENTER key 6 USB1 only Select the appropriate file and then press the ENTER key Start up configurat...

Страница 63: ...call 1 Restoring the factory default setups Use one of the reset functions to return the Model 2651A to the original factory defaults Restore all factory defaults of all nodes on the TSP Link network reset Restore all factory defaults note that you cannot use rst in a script rst Restore all factory defaults setup recall 0 Restore channel A defaults smua reset Reset just the local node localnode re...

Страница 64: ... death NEVER make or break connections to the Model 2651A while the output is on Power off the equipment from the front panel or disconnect the main power cord from the rear of a High Power System SourceMeter Instrument before handling cables connected to the outputs Putting the equipment into standby does not guarantee the outputs are not powered if a hardware or software fault occurs Maximum flo...

Страница 65: ...ion NOTE Using the chassis as a ground point for signal connections to the Model 2651A chassis may result in higher or lower noise The tie point to the chassis can help quiet measurements if the Model 2651A common mode current is channeled to the chassis instead of the device However if other equipment is also connected to the chassis higher noise due to the other connected equipment may result wh...

Страница 66: ...e following source measure conditions Sourcing and or measuring voltage in low impedance 1 kΩ test circuits Enforce voltage compliance limit directly at the DUT NOTE When sourcing voltage in remote sense make sure the sense leads are connected to the DUT If a sense lead becomes disconnected an erroneous voltage will be sensed and the Model 2651A will increase the output voltage to compensate You c...

Страница 67: ...e programming sense selection The following table summarizes the commands to select the sense mode See Programming commands for details on using these commands Commands to select sense mode Command Description smua source output smua OUTPUT_OFF Turns off the source measure unit SMU output smua sense smua SENSE_LOCAL Selects local 2 wire sense smua sense smua SENSE_REMOTE Selects remote 4 wire sens...

Страница 68: ...energy such as other voltage sources batteries capacitors solar cells or other System SourceMeter instruments Program recommended instrument settings before making connections to the device Failure to consider the output off state source and compliance levels may result in damage to the instrument or to the device under test The figure below shows how to use the SMUs of two Model 2651A instruments...

Страница 69: ...PUT 40V 50A MAX G G G G S LO SENSE GUARD S HI LO HI OUTPUT 40V 50A MAX G S D N Channel JFET HI HI LO LO G S D HI LO HI LO Equivalent Model 2651A subordinate Model 2651A master SMU subordinate SMU master The outputs of multiple SMUs can also be combined to obtain higher current and voltage levels pulse only operation For information including instrument configuration considerations and cautions ref...

Страница 70: ...strument settings before making connections to the device Failure to consider the output off state source and compliance levels may result in damage to the instrument or to the device under test When combining the outputs of two Model 2651A High Power System SourceMeter Instruments restrict operation to pulse only for all operating areas both the standard and the extended operating areas The follo...

Страница 71: ...LO Maximum Pulsed Signal Levels for Model 2651A 100 A with 36 V compliance SMU 1 configuration Output off mode smuX source offmode smuX OUTPUT_NORMAL Output off function smuX source offfunc smuX OUTPUT_DCVOLTS Current limit for normal output off mode this is the maximum current that will flow between the two SMUs when the output is off smuX source offlimiti 1e 3 default Voltage compliance must be ...

Страница 72: ... voltage across the device program SMU 1 to a negative voltage level For example to output 80 V across the device program SMU 1 to 40 V and SMU 2 to 40 V In order to achieve a negative voltage across the device program SMU 1 to a positive voltage level and SMU 2 to a negative voltage level Source polarity changes incur a 100 μs penalty The number 0 is considered a positive value For negative going...

Страница 73: ...limitv 40 For all configurations When combining Model 2651A SMUs restrict operation to pulse only For comparable rise times the source range and level of SMU 1 must match the source range and level of SMU 2 The programmed current and voltage levels for both SMUs must fall within the same pulse region See the figure titled SMU pulse regions when combining SMUs for a definition of pulse regions earl...

Страница 74: ...al safety shield it must be connected to a known safety earth ground and chassis ground Figure 17 Connecting channels in series for higher voltage 2651A 2nd 2651A 1st Chassis earth ground Safety earth ground Safety shield LO HI HI LO Connect OUTPUT LO to chassis DUT 2 3 1 1 First Model 2651A SMU maximum pulse voltage 40 V 2 Second Model 2651A SMU maximum pulse voltage 40 V 3 Series SMU maximum pul...

Страница 75: ...IT I1 I2 2651A 2nd 2651A 1st HI LO HI LO I1 Single SMU maximum pulse current 50 A I2 Single SMU maximum pulse current 50 A IT Paralleled SMU channels maximum pulse current as shown 100 A Guarding and shielding Source measure performance and safety are optimized with the effective use of guarding and shielding noise and safety shields Guarding A driven guard is always enabled and provides a buffere...

Страница 76: ...als from being induced into the test circuit Low level signals may benefit from effective shielding The metal noise shield surrounds the test circuit and should be connected to SMU LO as shown Figure 20 Noise shield G G G G S LO SENSE GUARD S HI LO HI OUTPUT 40V 50A MAX Noise Shield Noise shield connected to In Out LO DUT HI LO 1 GΩ HI LO Safety shield WARNING A safety shield must be used whenever...

Страница 77: ... configuration or floating a SMU on page 2 58 can cause test circuit voltage to exceed 42 V In the following figure the source measure units SMUs of two Model 2651A instruments can be connected in series to apply 80 V to a device under test DUT see TSP advanced features on page 6 53 for information on using multiple Model 2651A Use 18 AWG wire or larger for connections to safety earth ground and c...

Страница 78: ...e connected to the driven guard G of the SMU The noise shield is connected to SMU LO The safety shield is connected to the chassis and to a safety earth ground Figure 22 Connections for noise shield safety shield and guarding G G G G S LO SENSE GUARD S HI LO HI OUTPUT 40V 50A MAX Chassis ground Safety earth ground Metal guard shield HI G LO HI LO Chassis Metal safety shield Metal noise shield Meta...

Страница 79: ...truction material A metal test fixture must be connected to a known safety Earth Ground as described in the above WARNING A nonmetallic test fixture must be constructed of materials that are suitable for flammability voltage and temperature conditions that may exist in the test circuit The construction requirements for a nonmetallic enclosure are also described in the WARNING above Test circuit is...

Страница 80: ...s Source chassis connected to chassis earth ground through the power cord External Source Model 2651A LO NOT connected to chassis ground floating Model 2651A SMU Model 2651A chassis connected to chassis earth ground through the power cord DUT The Model 2651A connections for the floating configuration are shown below In order to float the SMU input output LO must be isolated from chassis ground Thi...

Страница 81: ...s before making connections to the device Failure to consider the output off state source and compliance levels may result in damage to the instrument or to the device under test Output off modes Turning a source measure unit SMU off may not completely isolate the SMU from the external circuit The output off mode can be used to place the Model 2651A in a known safe non interactive state during idl...

Страница 82: ...ements are performed and displayed The Model 2651A can be used as an I Meter when it is in ZERO output off mode because it will output 0 V but measure current Selecting the output off mode Setting the output off mode from the front panel To configure the output off mode from the front panel 1 Press the CONFIG key 2 Press the OUTPUT ON OFF control The CONFIGURE OUTPUT A menu displays 3 In the CONFI...

Страница 83: ...hen the output is turned off and the selected output off function is CURRENT smua source offfunc smua OUTPUT_DCAMPS The SMU sources 0 A The voltage limit is set by the smua source offlimitv attribute default 40 V When the output off function is set to either voltage or current the SMU may source or sink a very small amount of power In most cases this source or sink power level is not significant S...

Страница 84: ...f limit for VOLTAGE smua source offlimitv specifies the value of the output off limit for voltage Setting output off limits Setting output off limits from the front panel To configure output off limits from the front panel 1 Press the CONFIG key 2 Press the OUTPUT ON OFF control The CONFIGURE OUTPUT A menu displays 3 In the CONFIGURE OUTPUT A menu select OFF STATE to display the OUTPUT OFF STATE A...

Страница 85: ... off state smua source offlimitv vValue Sets voltage limit in normal output off state USB storage overview The Keithley Instruments Model 2651A High Power System SourceMeter Instrument includes a USB port on the front panel To store scripts and to transfer files from the instrument to the host PC insert a USB flash drive into the USB port For additional information about saving reading buffers to ...

Страница 86: ...n node available to the entire TSP Link system For example the command node 5 fs readdir can be used to read the contents of the current working directory on node 5 To allow for future enhancements the root folder of the USB flash drive has the absolute path usb1 NOTE Both slash and backslash are supported as directory separators The following Lua fs commands which support basic navigation and dir...

Страница 87: ...E 1 Range The selected measurement range affects the accuracy of the measurements as well as the maximum signal that can be measured Note that dashed lines are displayed for example µA to indicate that the previous measurement is not recent This usually happens when a change such as selecting a different range occurs Available ranges The following table lists the available source and measurement r...

Страница 88: ... dependent delay is applied each time the instrument performs a current measurement or after changing current ranges during an autoranged measurement The following table contains the measure auto delays associated with each current range Range Measure auto delay 10 mA and above 0 μs no delay 1 mA 100 μs 100 μA 150 μs 10 μA 500 μs 1 μA 2 5 ms 100 nA 15 ms You can increase or decrease the auto delay...

Страница 89: ...measure autoranging is selected With autoranging selected the instrument automatically sets the best range to source or measure the applied signal The instrument will autorange at 100 of range NOTE Source autoranging will turn off when editing the source value Low range limits The low range limit sets the lowest range the Model 2651A will use when autoranging is enabled This feature is useful for ...

Страница 90: ...to match source range print smua measure rangev smua source func smua OUTPUT_DCAMPS will print 10 the user s range print smua measure rangev A source or measurement range for a function is explicitly set Autoranging for that function is disabled Autoranging is controlled separately for each source and measurement function source voltage source current measure voltage and measure current Autorangin...

Страница 91: ...i smua AUTORANGE_ON Enable current measure autorange smua measure autorangei smua AUTORANGE_OFF Disable current measure autorange smua measure autorangev smua AUTORANGE_ON Enable voltage measure autorange smua measure autorangev smua AUTORANGE_OFF Disable voltage measure autorange smua measure lowrangei lowrange Set lowest I measure range for autorange smua measure lowrangev lowrange Set lowest V ...

Страница 92: ...ource voltage limit smua source lowrangei lowrange Set lowest I source range for autorange smua source lowrangev lowrange Set lowest V source range for autorange smua source rangei rangeval Select manual current source range smua source rangev rangeval Select manual voltage source range See Available ranges on page 2 65 Range programming example The programming example below illustrates how to con...

Страница 93: ...y to 4 5 digits display smua digits display DIGITS_5_5 Set display to 5 5 digits display smua digits display DIGITS_6_5 Set display to 6 5 digits Digits programming example Select 5 5 digits display smua digits display DIGITS_5_5 Speed The SPEED key is used to set the integration time or measurement aperture of the A D converter period of time the input signal is measured The integration time affe...

Страница 94: ...nverter ADC All other menu items on the speed menu use the integrating ADC NOTE The SPEED setting affects all measurement functions After setting speed display resolution can be changed using the DIGITS key Remote speed programming Speed command The following table summarizes commands to control speed See Remote commands on page 5 1 for more information Speed command Command Description smua measu...

Страница 95: ...age C 1 for more information on LAN interfaces The Model 2651A can only be controlled from one remote interface at a time The unit will remote to the first interface on which it receives a message It will ignore the other interface until the unit is taken back to local operation Figure 26 Model 2651A IEEE 488 LAN and RS 232 connections LINE RATING 100 240 VAC 50 60 Hz 500VA MAX LINE FUSE SLOWBLOW ...

Страница 96: ...t supports TCP IP and complies with IEEE std 802 3 Ethernet There is one LAN port located on the back of the instrument that supports full connectivity on a 10 Mbps or 100 Mbps network LAN cable connection The Model 2651A includes two CA 180 3A cables LAN crossover cables Use one cable for the TSP Link network and use the other cable for the LAN Use the following figure as a guide when making LAN ...

Страница 97: ... connected to a 100 Mbps network 2 LED indicates port is connected to a 10 Mbps network When the LED is The network Off is NOT connected On is connected Blinking has traffic traversing the port Using the LAN with remote operations The following table lists the Model 2651A remote interface s available protocols LAN protocols Port number Protocol 23 Telnet 1024 VXI 11 5025 Raw socket 5030 Dead socke...

Страница 98: ...et termination port is used to terminate all existing LAN connections A dead socket is one which is held open by the instrument because it has not been properly closed This most often happens when the computer is turned off or reboots without first closing the socket This port cannot be used for command and control functions Monitoring the LAN The lan autoconnect command configures the instrument ...

Страница 99: ...ystem CAUTION To avoid possible mechanical damage stack no more than three connectors on any one unit To minimize interference caused by electromagnetic radiation use only shielded IEEE 488 cables Contact Keithley Instruments for shielded cables To connect the Model 2651A to the IEEE 488 bus line up the cable connector with the connector located on the rear panel Install and tighten the screws sec...

Страница 100: ...el 2 Turn the navigation wheel to set the primary address to the desired value then press the ENTER key or the navigation wheel 3 Press the EXIT LOCAL key to back out of the menu structure Remote primary address Use the following command to set the primary address by remote gpib address address To remotely set the primary address to 20 send gpib address 20 Note that changing the GPIB address takes...

Страница 101: ...te IFC The interface clear command IFC is sent by the controller to place the Model 2651A in the local talker or listener idle states The unit responds to the IFC command by cancelling front panel TALK or LSTN lights if the instrument was previously placed in one of these states Transfer of command messages to the instrument and transfer of response messages from the instrument are not interrupted...

Страница 102: ...serial polling sequence to obtain the Model 2651A serial poll byte The serial poll byte contains important information about internal functions see Status Model on page E 1 Generally the serial polling sequence is used by the controller to determine which of several instruments has requested service with the SRQ line The serial polling sequence may be performed at any time to obtain the status byt...

Страница 103: ...ad or all the conditions that caused SRQ have been cleared LOCAL key The EXIT LOCAL key cancels the remote state and restores local operation of the instrument Pressing the EXIT LOCAL key also turns off the REM indicator and returns the display to normal if a user defined message was displayed If the LLO Local Lockout command is in effect the EXIT LOCAL key is also inoperative For safety reasons t...

Страница 104: ... subsequent command message so care should be exercised when setting these attributes from the RS 232 interface RS 232 programming example The programming example below illustrates how to set the baud rate to 9600 with no flow control serial baud 9600 serial flowcontrol serial FLOW_NONE Sending and receiving data The RS 232 interface transfers data using 7 or 8 data bits 1 stop bit and no even or ...

Страница 105: ... and parity The RS 232 interface can be configured to send receive data that is 7 or 8 bits long using even odd or no parity Flow control and signal handshaking Signal handshaking between the controller and the instrument allows the two devices to communicate to each other regarding being ready or not ready to receive data The RS 232 interface provides two control lines RTS and CTS for this purpos...

Страница 106: ...S 232 connector pinout Pin number Description 1 Not used 2 TXD transmit data 3 RXD receive data 4 Not used 5 GND signal ground 6 Not used 7 RTS ready to send 8 CTS clear to send 9 Not used To enable or disable flow control using the RS 232 configuration menu 1 Press the MENU key select RS232 FLOW CTRL and then press the ENTER key or the navigation wheel 2 Select HARDWARE to enable flow control or ...

Страница 107: ... Communications interfaces on page 2 73 If your computer uses a DB 25 connector for the RS 232 interface you will need a standard cable or adapter with a DB 25 connector on one end and a DB 9 connector on the other An RS 232 cable is available from the Keithley Instruments website http www keithley com The following table provides pinout identification for the 9 pin DB 9 or 25 pin DB 25 serial por...

Страница 108: ... on the 1 A range the rel value is also 0 5 A on the lower current ranges Selecting a range that cannot accommodate the rel value does not cause an overflow condition but it also does not increase the maximum allowable input for that range For example on the 1 A range the Model 2651A still overflows for a 1 02 A input NOTE When rel is enabled the REL indicator turns on Changing measurement functio...

Страница 109: ...ds Command Description To set rel values smua measure rel leveli relval Set current rel value smua measure rel levelp relval Set power rel value smua measure rel levelr relval Set resistance rel value smua measure rel levelv relval Set voltage rel value To enable disable rel smua measure rel enablei smua REL_OFF Disable current rel smua measure rel enablep smua REL_OFF Disable power rel smua measu...

Страница 110: ...are repeating and moving see figure below For the repeat filter which is the power on default the stack filter count is filled and the conversions are averaged to yield a reading The stack is then cleared and the process starts over Figure 32 Moving average and repeating filters Conversion 1 1 1 1 1 1 1 1 1 Conversion 1 Reading 1 A Type Moving average readings 10 Conversion 2 1 1 1 1 1 1 1 1 Conve...

Страница 111: ...conversions no copies in stack For example in the figure below it takes ten filtered readings to fill the stack with new reading conversions The first nine filtered readings are calculated using copied reading conversions Figure 33 Median filter Conversion 1 1 1 Middle value reading 1 Middle value reading 2 Middle value reading 3 A Type Median readings 3 Conversion 2 1 1 Conversion 3 2 1 Front pan...

Страница 112: ...e 5 1 for details about commands Filter commands Commands Description smua measure filter count count Set filter count 1 to 100 smua measure filter enable smua FILTER_ON Enable filter smua measure filter enable smua FILTER_OFF Disable filter smua measure filter type smua FILTER_MEDIAN Select median filter type smua measure filter type smua FILTER_MOVING_AVG Select moving average filter type smua m...

Страница 113: ...rt on your computer to view the data in any compatible data analysis application or to transfer the data from the USB flash drive to your computer NOTE Reading buffers other than the dedicated reading buffers have fixed capacity and are not specifically limited to 60 000 or 140 000 readings Front panel reading buffer control Reading buffers can be configured stored and recalled when in local mode ...

Страница 114: ...ess the EXIT LOCAL key to return to the main menu Reading buffer options The following listing outlines the menus and menu items associated with front panel reading buffer control This section provides a description for the reading buffer options DEST Sets data storage destination buffer 1 buffer 2 or NONE BUFFER1 Configure buffer 1 CLEAR Clear buffer YES or NO ELEMENTS Enable ON or disable OFF da...

Страница 115: ...ble the source values and timestamps for that reading buffer To specify the number of readings 1 From the front panel press the STORE key and then select TAKE_READINGS 2 Use the navigation wheel to select the number of readings 3 Push the navigation wheel to switch to edit mode 4 Turn the navigation wheel to change the numeric value and then push the navigation wheel to save the numeric value 5 Pr...

Страница 116: ...sired reading buffer 5 Use the navigation wheel to change the file name 6 Press the navigation wheel or the ENTER key to save the file 7 Press the EXIT LOCAL key to return to the main menu Recalling readings To recall the data stored in a reading buffer 1 Press the RECALL key and then select DATA or STATISTICS 2 Select the buffer to display The data or statistics will be displayed If data is being...

Страница 117: ... single point measurements can be configured to make multiple measurements where one would ordinarily be made The measured value is not the only component of a reading The measurement status for example In Compliance or Overranged is also an element of data associated with a particular reading All routines that return measurements can also store the measurements in the reading buffers Overlapped m...

Страница 118: ...istance readings in buffer smuX measure overlappedv rbuffer Stores the voltage readings in buffer smuX measure v rbuffer Reading buffer where voltage readings will be stored smuX measure i rbuffer Reading buffer where current readings will be stored smuX measure iv ibuffer vbuffer Stores the current and voltage readings in respective buffers current and voltage are stored in separate buffers smuX ...

Страница 119: ...r This value off or on can be changed only when the buffer is empty When the buffer is created this attribute is initialized to off collecttimestamps When this attribute is on timestamps will be stored with readings in the buffer This value off or on can be changed only when the buffer is empty When the buffer is created this attribute is initialized to off fillcount The reading buffer fill count ...

Страница 120: ...examples below illustrate the use of buffer storage control attributes Buffer control programming examples Provides control examples for channel A buffer 1 Command Description smua nvbuffer1 collectsourcevalues 1 Enable source value storage smua nvbuffer1 appendmode 1 Enable buffer append mode smua nvbuffer1 collecttimestamps 0 Disable timestamp storage smua nvbuffer1 timestampresolution 0 001 Set...

Страница 121: ... sample size of 1 is undefined The min and max entries each have the following attributes Min and max entry attributes Attribute Description measurefunction String indicating the function measured for the reading current voltage ohms or watts measurerange The full scale range value for the measure range used when the measurement was made reading The reading value sourcefunction String indicating t...

Страница 122: ... time of the measurement current or voltage sourceoutputstates An array a Lua table of strings indicating the state of the source off or on sourceranges An array a Lua table of full scale range values for the source range used when the measurement was made sourcevalues If enabled an array a Lua table of the sourced values in effect at the time of the reading statuses An array a Lua table of status...

Страница 123: ...nged B3 AutoRangeSrc 0x08 Source range was autoranged B4 4Wire 0x10 4 wire remote sense mode enabled B5 Rel 0x20 Rel applied to reading B6 Compliance 0x40 Source function in compliance B7 Filtered 0x80 Reading was filtered Dynamic reading buffers Reading buffers can also be allocated dynamically Dynamic reading buffers are created and allocated with the smua makebuffer n command where n is the num...

Страница 124: ...EASURE_DCAMPS Select measure I autorange smua measure autorangei smua AUTORANGE_ON Select ASCII data format format data format ASCII Clear buffer 1 smua nvbuffer1 clear Enable append buffer mode smua nvbuffer1 appendmode 1 Enable source value storage smua nvbuffer1 collectsourcevalues 1 Set count to 1 smua measure count 1 Select source voltage function smua source func smua OUTPUT_DCVOLTS Set bias...

Страница 125: ...easure autorangev smua AUTORANGE_ON Select ASCII data format format data format ASCII Clear buffer 1 smua nvbuffer1 clear Clear buffer 2 smua nvbuffer2 clear Set buffer count to 100 smua measure count 100 Set measure interval to 0 1 s smua measure interval 0 1 Select source voltage function smua source func smua OUTPUT_DCVOLTS Output 1 V smua source levelv 1 Turn on output smua source output smua ...

Страница 126: ...e voltage function smua source func smua OUTPUT_DCVOLTS Output 1 V smua source levelv 1 Turn on output smua source output smua OUTPUT_ON Create a temporary reading buffer mybuffer smua makebuffer smua measure count Store current readings in mybuffer smua measure overlappedi mybuffer Wait for buffer to fill waitcomplete Turn off output smua source output smua OUTPUT_OFF Output readings 1 to 100 fro...

Страница 127: ...etween pulses DC and pulsed logarithmic staircase sweeps B In this type of sweep the current or voltage increases or decreases geometrically beginning with a start voltage or current and ending with a stop voltage or current This portion of the figure B shows an increasing logarithmic staircase sweep and a pulsed logarithmic staircase sweep Pulsed logarithmic staircase sweeps function the same way...

Страница 128: ...levels and the number of sweep points step stop start points 1 NOTE The number of sweep steps actually performed is determined by the trigger count Refer to Triggering on page 3 32 for more information The sweep can be either positive going or negative going depending on the relative values of the start and stop parameters When the sweep starts the output will go to the start source level The outp...

Страница 129: ...o create an increasing logarithmic sweep set the stop value to be greater than the start value To create a decreasing logarithmic sweep set the stop value to be less than the start value A measurement is made at each step after source and measurement settling time An asymptote can also be used to control the inflection of a sweep NOTE The number of sweep steps actually performed is determined by t...

Страница 130: ...gure 36 Increasing logarithmic sweep 0 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 1 2 3 4 5 6 7 8 Point Source level 6 7 8 2 to 8 with A 0 2 to 8 with A 1 8 2 to 8 with A 8 5 Figure 37 Decreasing logarithmic sweep 0 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 1 2 3 4 5 6 7 8 Point 1 2 3 Source level 8 to 2 with A 0 8 to 2 with A 1 8 8 to 2 with A 8 5 ...

Страница 131: ...ce value at the start point N The number of points in the sweep A The asymptote value NOTE The number of points in a sweep is one greater than the number of steps in the sweep The following figure is an example of a five point logarithmic sweep from 1 V to 10 V Figure 38 Logarithmic staircase sweep 1V to 10V five steps Delay Delay Delay Delay Stop 10 Measure 1 Measure 2 Measure 3 Measure 5 X Measu...

Страница 132: ...rce level V Step number i 1 1 0 2 1 7783 1 3 3 1623 2 4 5 6234 3 5 10 4 When this sweep starts the output will go to the start level 1 V and sweep through the symmetrical log points To configure a logarithmic staircase sweep use the smuX trigger source logY function This function configures the source values the source measure unit SMU will output when performing a logarithmic sweep After configur...

Страница 133: ...source action smua trigger source action smua ENABLE When the sweep is started the output level goes to the first point in the sweep The sweep will continue through the steps in the order that they were programmed The following figure shows a different example of a list sweep with six measurement points When the sweep starts the current or voltage goes to the first point in the sweep The unit cycl...

Страница 134: ...to characterize this latency in order to better control the shape of the pulse under a particular set of test conditions The figure below shows the source and end pulse stimulus events in relationship to the pulse Any change in Δt will result in a corresponding change in the pulse width Figure 40 Pulse width control Pulse level Bias level t Δ End pulse stimulus event detection Source stimulus even...

Страница 135: ... action as necessary to stay within the duty cycle capabilities of the SMU The following figure and table illustrate the pulse regions for a SMU when pulsing in the EOA Refer to the Model 2651A specifications on the Keithley Instruments website http www keithley com for the latest pulse width and duty cycle information Figure 41 Pulsing in the extended operating area EOA 20A 30A 50A 50A 10A 10A 5A...

Страница 136: ...can specify which reading buffer will store the readings For example to store the voltage readings taken during the sweep smua trigger measure v vbuffername smua trigger measure action smua ENABLE To recall sweep data Using the front panel Press the RECALL key and then select DATA or STATISTICS For DATA select the buffer and then choose reading numbers to display using the navigation wheel or curs...

Страница 137: ...rns the SMU to the idle state of the remote trigger model See Triggering on page 3 32 for more information Sweeping using factory scripts Factory script functions that perform linear staircase logarithmic staircase and list sweeps are defined in Remote Commands on page 5 1 You can use the factory script functions to perform and execute simple sweeps or use them as examples for programming your own...

Страница 138: ... 5 V 2 V Settling time 0 1 s points 5 Linear staircase sweep example The programming example below illustrates a staircase sweep Restore Model 2651A defaults smua reset Set compliance to 1 V smua source limitv 1 1 Configure source functions Restores defaults and sets the compliance to 1 V Linear staircase sweep 1 mA to 10 mA 0 1 second delay 10 points SweepILinMeasureV smua 1e 3 10e 3 0 1 10 2 Con...

Страница 139: ...e measure cycles printbuffer 1 10 smua nvbuffer1 readings 3 Request readings Requests readings from buffer 1 List sweep example The programming example below illustrates a list sweep Restore Model 2651A defaults smua reset Set compliance to 10 mA smua source limiti 10e 3 1 Configure source functions Restores defaults and set the compliance to 10 mA Define voltage list vlist 3 1 4 5 2 List sweep ch...

Страница 140: ...ure graphically represents all the trigger objects of the Model 2651A instrument Figure 42 Triggering overview Manual trigger Hardware triggers Communication triggers Model 2651A DIGITAL I O 14 lines TSP LINK SYNC LINES 3 lines LAN 8 triggers SMU A TIMER 8 COMMAND INTERFACE MANUAL front panel TRIG key EVENT BLENDER 4 Legend Trigger object External input trigger External output trigger Trigger even...

Страница 141: ... the remote interface GPIB only Occurs when a GET bus command is received VXI 11 only Occurs with the VXI 11 command device_trigger Reference the VXI 11 standard for additional details on the device trigger operation trigger blender N EVENT_ID Occurs after a collection of events is detected trigger timer N EVENT_ID Occurs when a delay expires Use the name of the trigger event ID to set the stimulu...

Страница 142: ...rce action End sweep action Another arm Another trigger Measure action End pulse action Measure event detector End pulse event detector Source event detector smuX trigger IDLE_EVENT_ID Idle event smuX trigger SWEEPING_EVENT_ID Sweeping event smuX trigger SWEEP_COMPLETE_EVENT_ID Sweep complete event smuX trigger ARMED_EVENT_ID Armed event Source complete event smuX trigger SOURCE_COMPLETE_EVENT_ID ...

Страница 143: ...Source action Another trigger End pulse event detector Source event detector Source End pulse action If the source loop has completed its End sweep action the measure loop will terminate unless the Measure action block is actively measuring If this is the case the active measurement is allowed to complete before returning to the arm layer smuX trigger source stimulus smuX trigger endpulse stimulus...

Страница 144: ...pulse The end pulse action sources the idle or bias level if the pulse mode is enabled The remote trigger model dictates the sequence of operation for the SMU when it is configured to perform a sweep When the SMU comes to an event detector it suspends operation and waits for the event you have assigned to the stimulus input If no event is assigned the SMU continues uninterrupted past the event det...

Страница 145: ... the number of loops in the trigger layer Typically you set the trigger count to be equal to the number of points in the configured sweep If the trigger count is not equal to the number of points configured in the sweep then one of the following occurs If the trigger count is greater than the number of points in a sweep as configured by smua trigger source linearY smua trigger source logY or smua ...

Страница 146: ...ector is cleared the event detector discards previously detected trigger events This prevents the source measure unit SMU from using trigger events that were detected during the last sweep or while it is in the arm layer and allows it to start monitoring for new trigger events SMU event detectors are automatically cleared when A sweep is initiated using the smua trigger initiate function The SMU m...

Страница 147: ...s example See Sweep operation on page 3 19 for more information about sweep operation Figure 45 Front panel TRIG key triggering TRIG key TRIG key TRIG key TRIG key T SMU A Manual trigger MANUAL front panel TRIG key Trigger event display trigger EVENT_ID smua trigger source stimulus Stimulus input Legend Trigger object External input trigger External output trigger Trigger events Stimulus input Usi...

Страница 148: ...ease refer to Status Model on page E 1 and the appropriate sections on each trigger object for further details on conditions under which an object generates an action overrun Digital I O port and TSP Link synchronization lines The Model 2651A has two sets of hardware lines that can be used for triggering 14 digital I O lines and three TSP Link synchronization lines These trigger objects can be con...

Страница 149: ... line is asserted Trigger configuration on hardware lines The Model 2651A can be configured to send digital signals to trigger external instruments Linking these output triggers to the completion of certain source measure actions enables hardware handshaking The programming example below illustrates this Configure the Model 2651A to detect a rising edge on digital I O line 2 digio trigger 2 mode d...

Страница 150: ... line is ready to process it The generation of an action overrun is dependent upon the trigger mode selected for that line For more details on the causes of action overruns see Hardware trigger modes on page 3 56 Timers A timer is a trigger object that performs a delay when triggered Timers can be used to create delays and to start measurements and step the source value at timed intervals When a d...

Страница 151: ... timer 3 delaylist 2 10 15 7 NOTE Assigning a value to the delay attribute is the same as configuring it with a one element delay list Pass through mode When enabled the timer generates a trigger event immediately when it is triggered The timer generates additional trigger events each time a delay expires If the pass through attribute is disabled the timer does not generate a trigger event until a...

Страница 152: ...an also be used to control the pulse width during a pulsed sweep To create a pulse train a second timer must be used to configure the pulse period The examples below show a single pulse output and a pulse train output NOTE The SMU end pulse action smua trigger endpulse action must be set to smua SOURCE_IDLE in order to create a pulse Single pulse example The programming example below illustrates h...

Страница 153: ...gger timer when the SMU passes through the ARM layer trigger timer 1 stimulus smua trigger ARMED_EVENT_ID Configure source action to start immediately smua trigger source stimulus 0 Configure endpulse action to achieve a pulse smua trigger endpulse action smua SOURCE_IDLE smua trigger endpulse stimulus trigger timer 1 EVENT_ID Set appropriate counts of trigger model smua trigger count 1 smua trigg...

Страница 154: ...r of pulses to output Figure 50 Pulse train Pulse period Timer 1 Pulse Width pulse is on Timer 2 Pulse delay pulse is off 1 2 10 3 9 Timer 2 Pulse width timer Set the delay attribute to the desired pulse width see the following figure Set the stimulus input to Timer 1 s event ID the start of each pulse is the start of the pulse period Set the count equal to 1 so that only one pulse is issued per p...

Страница 155: ...count 1 Set the pulse period period_timer delay 0 005 Set pulse period count to generate 10 pulses period_timer count 9 Trigger pulse period timer when a sweep is initiated period_timer stimulus smua trigger SWEEPING_EVENT_ID Configure the timer to output a trigger event when it starts the first delay period_timer passthrough true Trigger SMU source action using pulse period timer smua trigger sou...

Страница 156: ...ding 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 There are four event blenders that can be used to monitor and respond to multiple stimulus events Each event blender can be configured to monitor a maximum of four different trigger events Event blender modes Event blenders can be used to p...

Страница 157: ...rdware value and pseudo line state LAN triggering is very similar to hardware synchronization except LXI trigger packets are used instead of hardware signals The hardware value is a bit in the LXI trigger packet that simulates the state of a hardware trigger line The Model 2651A stores the hardware value of the last LXI trigger packet sent or received as the pseudo line state The stateless event f...

Страница 158: ...ame as Rising Synchronous Falling Positive Same as SynchronousA SynchronousA Falling Positive SynchronousM Rising Negative The programming example below illustrates how to configure the LAN trigger mode Set LAN trigger 2 to have falling edge mode lan trigger 2 mode lan TRIG_FALLING Understanding LXI trigger event designations LAN trigger objects generate LXI trigger events The LXI standard designa...

Страница 159: ... if too many TRG messages are received while a test script is running This can be averted by using the localnode prompts4882 attribute see Remote commands on page 5 1 for more information and by using trigger wait calls that remove the TRG messages from the input queue If the input queue fills with too many trigger entries messages like abort will not be processed Manual triggering The TRIG key is...

Страница 160: ...rigger object is cleared The following programming example illustrates how to suspend command execution while waiting for various events to occur Wait up to 10 seconds for a front panel TRIG key press display trigger wait 10 Wait up to 60 seconds for timer 1 to complete its delay trigger timer 1 wait 60 Wait up to 30 seconds for input trigger to digital I O line 10 digio trigger 10 wait 30 Using t...

Страница 161: ... The set function is useful whenever you want the source measure unit SMU to continue operation without waiting for a programmed trigger event There is a set function for each SMU event detector When called the function immediately satisfies the event detector allowing the SMU to continue through the trigger model A common example of when the set function can be used is when you want the SMU to im...

Страница 162: ...command interface trigger triggered trigger wait 30 Get voltage reading reading smua measure v Send command interface trigger to trigger the measurement TRG NOTE TRG cannot be used in a script Manual triggering example The programming example below illustrates how to pause a script and prompt the operator to press the TRIG key when they are ready to continue If the TRIG key is not pressed the test...

Страница 163: ...y screen display USER display clear display setcursor 1 1 display settext No trigger received Test aborted exit end Hardware trigger modes Different hardware trigger modes can be used for digital I O and TSP Link synchronization Use hardware triggers to integrate Keithley instruments and non Keithley instruments in a test system The Model 2651A supports 14 digital I O lines and three TSP Link sync...

Страница 164: ...ion An action overrun occurs if the physical line state is low and a source event occurs Figure 53 Falling edge output trigger Pulse Duration External Drive Internal Drive Physical Line State Event Stimulus Event Action Overrun Output Trigger Rising edge master trigger mode Use the rising edge master RisingM trigger mode see the figure titled RisingM output trigger to synchronize with non Keithley...

Страница 165: ...if the physical line state is high while a stimulus event occurs Figure 54 RisingM output trigger External Drive Internal Drive Physical Line State Event Stimulus Event Action Overrun Output Trigger Pulse Duration Rising edge acceptor trigger mode The rising edge acceptor trigger mode RisingA generates a low pulse and detects rising edge pulses see the following figures Input characteristics All r...

Страница 166: ...r to the falling edge trigger mode Figure 56 RisingA output trigger Pulse Duration External Drive Internal Drive Physical Line State Event Stimulus Event Action Overrun Output Trigger Either edge trigger mode The either edge trigger mode generates a low pulse and detects both rising and falling edges Input characteristics All rising or falling edges generate an input trigger event Figure 57 Either...

Страница 167: ...rumentation must have a trigger mode that functions similar to the SynchronousA or SynchronousM trigger modes To use synchronous triggering configure the triggering master to SynchronousM trigger mode or the non Keithley equivalent Configure all other nodes in the test system to SynchronousA trigger mode or a non Keithley equivalent Synchronous master trigger mode SynchronousM Use the synchronous ...

Страница 168: ...dge is detected as an input trigger A rising edge is not detected until all external drives release the line and the line floats high Figure 59 SynchronousM input trigger External Drive Internal Drive Physical Line State Event Stimulus Event Action Overrun Input Trigger Output characteristics In addition to trigger events from other trigger objects the digio trigger N assert and tsplink trigger N ...

Страница 169: ... acceptor trigger mode SynchronousA Use the synchronous acceptor trigger mode SynchronousA in conjunction with the SynchronousM trigger mode The role of the internal and external drives are reversed in the SynchronousA trigger mode Input characteristics The falling edge is detected as the external drive pulses the line low and the internal drive latches the line low Figure 61 SynchronousA input tr...

Страница 170: ...ease the line Action overruns occur if the internal drive is not latched low and a source event is received Figure 62 SynchronousA output trigger External Drive Internal Drive Physical Line State Event Stimulus Event Action Overrun Output Trigger Synchronous trigger mode The synchronous trigger mode is a combination of SynchronousA and SynchronousM trigger modes Use the Synchronous trigger mode fo...

Страница 171: ...ink trigger N assert functions generate a low pulse for the programmed pulse duration if the line is latched low a falling edge does not occur A normal falling edge pulse generates when the internal drive is not latched low and the digio trigger N assert and tsplink trigger N assert functions are issued To mirror the SynchronousA trigger mode set the pulse width to 1 μs or any small nonzero value ...

Страница 172: ...ze overshoot ringing and instability This section provides the details that you need to estimate performance based on load capacitance and measurement conditions Understanding high capacitance mode The source measure unit SMU in the Model 2651A drives 10 nF of capacitance in normal operation Typically an internal capacitor across the current measuring element provides phase lead to compensate for ...

Страница 173: ... 50 μF The Model 2651A is specified for operating into high Q inductances up to 3 μH on all ranges of voltage and current Understanding source settling times The Model 2651A source measure unit SMU can drive up to 50 μF of a capacitance in high capacitance mode In order to accomplish this the speed of the Model 2651A SMU is reduced Source settling times increase when high capacitance mode is enabl...

Страница 174: ...en the current limit and the charging time As the current limit decreases the amount of time required to charge the capacitor increases Understanding the capacitor Based on the capacitor dielectric absorption the settling time may change and the values in the Current measure and source settling times table in Understanding source settling times on page 3 66 may differ NOTE Tantalum or electrolytic...

Страница 175: ... Before you charge the capacitor start with 0 zero voltage across the capacitor When high capacitance mode is enabled a minimum load capacitance of 100 nF is recommended In absence of this minimum load capacitance overshoot and or ringing may occur Front panel To enable high capacitance mode from the front panel 1 Press the CONFIG key then select SRC HIGHC MODE 2 Select SRC ENABLE ENABLE High capa...

Страница 176: ... lowered to measure before the measurement is taken Script example Use the smua source highc attribute to set and control the options for high capacitance mode The programming examples and figure below illustrate how to enable high capacitance mode on SMU A 1 To enable high capacitance mode send Enables high capacitance mode smua source highc smua ENABLE 2 To run the i_leakage_measure function in ...

Страница 177: ...Measure delay Measurement Display operations Display functions and attributes The display functions and attributes are used to perform the display operations covered in this section The following table lists each display function attribute in alphabetical order and cross references it to the section topic where the function attribute is explained Remote commands on page 5 1 provides additional inf...

Страница 178: ...age 3 71 display sendkey Sending key codes on page 3 81 display setcursor Cursor position on page 3 73 display settext Displaying text messages on page 3 74 display smua digits Display resolution on page 3 72 display smua measure func Measurement functions on page 3 72 display trigger clear display trigger wait Display trigger wait and clear on page 3 72 Display features Display screen Keithley In...

Страница 179: ...ars the trigger event detector Display messages NOTE Most of the display functions and attributes that are associated with display messaging will automatically select the user screen The attribute for the display screen is explained in Display screen on page 3 71 The reset functions reset or smua reset have no effect on the defined display message or its configuration but will set the display mode...

Страница 180: ...row 1 column 1 see the following figure At this cursor position a user defined message will be displayed on the top row row 1 Top line text will not wrap to the bottom line of the display automatically Any text that does not fit on the current line will be truncated If the text is truncated the cursor will be left at the end of the line Figure 66 Row column format for display messaging XXXXXXXXXXX...

Страница 181: ...xt Do Not Disturb Character codes The following special codes can be embedded in the text string to configure and customize the message N Starts text on the next line newline If the cursor is already on line 2 text will be ignored after the N is received R Sets text to Normal B Sets text to Blink D Sets text to Dim intensity F Set text to background blink Escape sequence to display a single In add...

Страница 182: ...unction returns the displayed message text and can be used in five ways text display gettext text display gettext embellished text display gettext embellished row text display gettext embellished row columnStart text display gettext embellished row columnStart columnEnd Where embellished Returns text as a simple character string false or includes character codes true row The row to read text from ...

Страница 183: ...el to place the blinking cursor on the desired menu item Items that don t fit in the display area will be displayed by rotating the navigation wheel to the right With the cursor on the desired menu item press the navigation wheel or the ENTER key to select it Pressing the EXIT LOCAL key will not abort the script while the menu is displayed but it will return nil The script can be aborted by callin...

Страница 184: ...the prevents negative value entry 0 Defines the digit positions for the exponent default Option to set a default value for the parameter which will be displayed when the command is sent min Option to specify minimum limits for the input field When NOT using the sign for the value field the minimum limit cannot be set to less than zero When using the sign the minimum limit can be set to less than z...

Страница 185: ...etermine which display indicators are turned on use the display getannunciators function The following programming example illustrates how to determine which display indicators are turned on annun display getannunciators print annun The 16 bit binary equivalent of the returned value is a bitmap Each bit corresponds to an indicator If the bit is set to 1 the indicator is turned on If the bit is set...

Страница 186: ...ted When locked this key becomes a NO OP no operation Configure the following attribute to lock or unlock the EXIT LOCAL key display locallockout lockout Where lockout is set to one of the following values 0 or display UNLOCK 1 or display LOCK Example The following programming example illustrates how to lock out the EXIT LOCAL key display locallockout display LOCK Load test menu The LOAD TEST menu...

Страница 187: ...en the Model 2651A is turned off See Example 1 below Example 1 Assume a script with a function named DUT1 has already been loaded into the Model 2651A and the script has NOT been saved in nonvolatile memory Now assume you want to add a test named Test to the USER TESTS menu You want the test to run the function named DUT1 and sound the beeper The following programming example illustrates how to ad...

Страница 188: ...gation wheel 4 Press the RUN key to run the test Key press codes Sending key codes Key codes are provided to remotely simulate pressing a front panel key or the navigation wheel There are also key codes to simulate rotating the navigation wheel to the left or right one click at a time Use the display sendkey function to perform these actions The following programming examples illustrate how to sim...

Страница 189: ...EY_DIGITSA 70 display KEY_RELA 92 display KEY_TRIG 71 display KEY_RUN 93 display KEY_LIMITA 72 display KEY_DISPLAY 94 display KEY_SPEEDA 73 display KEY_AUTO 95 display KEY_LOAD 75 display KEY_EXIT 97 display WHEEL_ENTER 77 display KEY_FILTERA 103 display KEY_RIGHT 78 display KEY_STORE 104 display KEY_LEFT 79 display KEY_SRCA 107 display WHEEL_LEFT 80 display KEY_CONFIG 114 display WHEEL_RIGHT 81 d...

Страница 190: ...LOCAL key is 75 If the EXIT LOCAL key is pressed the script aborts If any other key is pressed the script continues Digital I O Digital I O port The Keithley Instruments Model 2651A High Power System SourceMeter Instrument has a digital input output port that can be used to control external digital circuitry For example a handler that is used to perform binning operations can be used with a digita...

Страница 191: ...our recovery time Output enable line The Model 2651A output enable OE line of the digital I O can be used with a switch in the test fixture or component handler With proper use power is removed from the DUT when the lid of the fixture is opened See Using output enable on page 3 88 for more details WARNING The digital I O port of the Model 2651A is not suitable for control of safety circuits and sh...

Страница 192: ...rmware GND pin on DIGITAL I O connector Controlling digital I O lines Although the digital I O lines are primarily intended for use with a device handler for limit testing they can also be used for other purposes such as controlling external logic circuits You can control lines either from the front panel or over a remote interface NOTE The trigger mode for the line must be set to digio TRIG_BYPAS...

Страница 193: ... press the ENTER key or the navigation wheel 2 Select WRITE PROTECT and then press the ENTER key or the navigation wheel 3 Set the decimal value as required to write protect digital I O lines within the range of 0 to 16 383 see Digital I O bit weighting on page 3 87 and then press the ENTER key or the navigation wheel 4 Press the EXIT LOCAL key as needed to return to the main menu 5 To remove writ...

Страница 194: ...commands See the following table for decimal and hexadecimal values used to control and access the digital I O port and individual lines Use these commands to trigger the Model 2651A using external trigger pulses applied to the digital I O port or to provide trigger pulses to external devices Use these commands to perform basic steady state digital I O operations such as reading and writing to ind...

Страница 195: ...page 2 42 for important safety information when using a test fixture WARNING When an interlock is required for safety a separate circuit should be provided that meets the requirements of the application to reliably protect the operator from exposed voltages The digital I O port of the Model 2651A is not suitable for control of safety circuits and should not be used to control a safety interlock Op...

Страница 196: ... smua OUTPUT_OFF command had been received The instrument will not automatically turn its output on when the output enable line returns to the high state For example the following command activates the output enable for SMU A smua source outputenableaction smua OE_OUTPUT_OFF TSP Link synchronization lines The Model 2651A has three synchronization lines that you can use for triggering digital I O a...

Страница 197: ...1A to read and write to a specific TSP Link synchronization line or to the entire port NOTE The TSP Link synchronization lines can be used for both input and output You must write a 1 to all TSP Link synchronization lines that are used as inputs Remote synchronization line commands Command Description tsplink readbit bit Reads one digital I O input line tsplink readport Reads the digital I O port ...

Страница 198: ...The fast ADC can acquire measurements at speeds up to 1 million samples per second The fast ADC does not take reference measurements nor does it have any other of the ratiometric concerns A reading measurement acquisition buffer allows up to 5 000 readings to be made at the maximum acquisition rate of the fast ADCs If this buffer is filled the instrument slows its acquisition rate to the rate at w...

Страница 199: ...ce 10 Ω With a source voltage of 10 V and a DUT resistance of 10 Ω the current through the DUT should be 10 V 10 Ω 1 A However because the compliance is set to 10 mA the current will not exceed that value and the voltage across the resistance is limited to 100 mV In effect the 10 V voltage source is transformed into a 10 mA current source The Model 2651A output does not exceed the compliance limit...

Страница 200: ...ge 4 3 below Factors such as the ambient temperature quadrant of operation and high power pulse levels if applicable affect the maximum duty cycle Exceeding the calculated maximum duty cycle may cause the temperature protection mechanism to engage When this happens an error message displays and the instrument output is disabled until the internal temperature of the instrument is reduced to an acce...

Страница 201: ...n of this voltage must be positive when used in the power equations When operating in quadrants 2 or 4 sinking power the sign of this voltage must be negative when used in the power equations VB The voltage level the instrument is attempting to force while at the bias level When operating in quadrants 1 or 3 sourcing power the sign of this voltage must be positive when used in the power equations ...

Страница 202: ...ssipating power rather than sourcing it An external source or an energy storage device such as a capacitor or battery can force operation in the sink region Continuous power operating boundaries The general operating boundaries for Model 2651A continuous power output are shown in the following figure For derating factors see the General power equation on page 4 3 In this drawing the illustrated vo...

Страница 203: ...to 5 05 A at 40 V Note that when continuously sourcing more than 5 05 A voltage is limited to 20 V and when sourcing more than 10 1 A voltage is limited to 10 V The second graph in the figure labeled B Limit lines shows the limit lines for the I source The current source limit line represents the maximum source value possible for the presently selected current source range The voltage compliance l...

Страница 204: ...ing the System SourceMeter instrument in voltage compliance In compliance the System SourceMeter instrument will not be able to source its programmed current 100 mA For the 200 Ω DUT the System SourceMeter instrument will only output 50 mA at the 10 V limit Notice that as resistance increases the slope of the DUT load line increases As resistance increases and approaches infinity open output the S...

Страница 205: ...ource value line Programmed current source value line Operating point 50 Ω DUT Load Line R V meter VM 5 V 10 V 100 mA 50 mA B I source operation in voltage compliance Programmed source value 100 mA Actual source value 50 mA C I source operation in power compliance Programmed source value 100 mA Actual source value 30 mA I source IS Operating point 2 0 0 Ω D U T L o a d L i n e R VM IS R 100 mA 50 ...

Страница 206: ...value as when the instrument went into voltage compliance This continues until the programmed source value sweeps to a high enough level that the power limit line is reached 500 mW At this point the voltage and the current will start to decrease lowering the current and voltage values along the DUT load line When the last point is swept 100 mA the actual output would be 25 mA at 5 V Figure 73 Mode...

Страница 207: ...than 10 1 V current is limited to 10 A and when continuously sourcing more than 20 2 V current is limited to 5 A The second graph in the figure labeled B Limit lines shows the limit lines for the V source The voltage source limit line represents the maximum source value possible for the presently selected voltage source range For example if you are using the 20 V source range the voltage source li...

Страница 208: ...ce limit line placing the System SourceMeter instrument in compliance When in compliance the System SourceMeter instrument will not be able to source its programmed voltage 10 V For the 800 Ω DUT the System SourceMeter instrument will only output 8 V at the 10 mA limit Notice that as resistance decreases the slope of the DUT load line increases As resistance approaches infinity open output the Sys...

Страница 209: ...e source value line Power compliance limit line a R n e T L Current compliance limit line A Normal V source operation Programmed source value 10 V Actual source value 10 V B V source operation in current compliance Programmed source value 10 V Actual source value 8 V Current compliance limit line Power compliance limit line C V source operation in power compliance Programmed source value 10 V Actu...

Страница 210: ... that the power limit line is reached 50 mW At this point the current and voltage will start to decrease lowering the current and voltage values along the DUT load line When the last point is swept 10 V the actual output would be 4 V at 5 mA Figure 76 Model 2651A V source load considerations while sweeping V Current compliance limit line Power compliance limit line V source sweep operation in curr...

Страница 211: ...red directly at the device under test DUT using the sense terminals This eliminates any voltage drops that may be in the test leads or connections between the System SourceMeter instrument and the DUT The current source does not require or use the sense leads to enhance current source accuracy With 4 wire remote sensing selected the sense leads must be connected or incorrect operation will result ...

Страница 212: ... is adjusted accordingly Remote sense eliminates the effect of voltage drops in the test leads ensuring that the exact programmed voltage appears at the DUT The voltage error feedback to the V source is an analog function The source error amplifier is used to compensate for IR drop in the test leads Figure 78 Source V configuration Sense Output Adjust V Source Feedback Remote SENSE HI IN OUT HI Re...

Страница 213: ...OUT HI to LO Figure 79 Measure only configurations IN OUT HI IN OUT LO B Measure current only uses 2 wire local sense configuration IN OUT HI IN OUT LO DUT I Source Positive current V source 000 000 mV V meter I meter A V I source 0 00000 μA DUT V Source A Measure voltage only Positive current flowing out of IN OUTHI results in positive measurements Contact check When a contact check measurement i...

Страница 214: ...azardous voltages are present at output HI they are also present at the GUARD terminal Guard overview The driven guard available at the rear panel GUARD terminals is always enabled and provides a buffered voltage that is at the same level as the input output HI or sense HI for remote sense voltage The purpose of guarding is to eliminate the effects of leakage current and capacitance that can exist...

Страница 215: ...ture a triaxial cable can be used to extend guard to the device under test DUT The center conductor of the cable is used for input out HI and the inner shield is used for guard The outer shield which is connected to the safety earth ground through the safety shield is used for input output LO A coaxial cable can be used if the guard potential does not exceed 30 V RMS 42 4 V peak The center conduct...

Страница 216: ...s Insulator ID DUT Metal Mounting Plate IL RL1 RL2 Insulator IM ID IL IM Measured current ID DUT current IL Leakage current IN OUT HI IN OUT LO A Unguarded ID DUT Metal Mounting Plate RL1 Insulator IM ID IN OUT HI IN OUT LO x1 GUARD 0V SourceMeter SourceMeter B Guarded Connect to earth safety ground using 18 AWG wire or larger Cable Shield Safety Shield I meter A I meter A V source V source ...

Страница 217: ...ead is required in addition to the device under test DUT DC load voltage at 50 A This 8 V is too high for the remote sensing circuits 3 V Max lead In addition the 10 V range does not have the power supply overhead to provide this 8 V though the 40 V range does In this example the load cable inductance is therefore too high and must be reduced Using the supplied Model 2651A 6 Ω cable helps mitigate...

Страница 218: ... impedance 60 kHz ratio DUT SMU impedance Maximum DUT impedance 100 nA 33 MΩ 0 5 33 MΩ 1 μA 396 kΩ 0 5 1 2 MΩ 10 μA 396 kΩ 0 5 396 kΩ 100 μA 3687 Ω 0 5 11 kΩ 1 mA 3687 Ω 0 5 3687 kΩ 10 mA 27 Ω 0 5 81 Ω 100 mA 27 Ω 0 5 27 Ω 1 A 0 045 Ω 0 5 1 1 Ω 5 A 0 045 Ω 0 5 0 23 Ω 10 A 0 005 Ω 0 5 0 065 Ω 20 A 0 005 Ω 0 5 0 065 Ω 50 A 0 005 Ω 0 5 0 065 Ω Pulse rise times The pulse rise time is the leading edge ...

Страница 219: ...e has different specifications for transient response settling times or pulse rise times and source output settling times This causes different rise and fall time characteristics depending on the set range Refer to the Model 2651A specifications for details In addition pulse performance is dependent on the pulse setting as a percent of full scale For example a 1 A pulse on the 10 A range which is ...

Страница 220: ...ified pulse width limits can result in short pulses In addition the pulse width s jitter can change the pulse width NOTE With respect to pulse width jitter is the short term instability of the trailing edge relative to the leading edge Refer to the Model 2651A specifications for details on maximum and minimum pulse width limits pulse width programming resolution accuracy and jitter For latest spec...

Страница 221: ...that works best for your particular test application Controlling the instrument by sending individual command messages The simplest method of controlling an instrument through the communication interface is to send it a message that contains instrument control commands You can use a test program that resides on a computer the controller to sequence the actions of the instrument Instrument control ...

Страница 222: ...lting output is 2 36000e 00 Attributes Attribute based commands are commands that set the characteristics of an instrument feature or operation For example some characteristics of TSP enabled instruments are the model number localnode model and the number of errors in the error queue errorqueue count To set the characteristics attribute based commands define a value For many attributes the value i...

Страница 223: ...d and other related commands generate output in the form of response messages Each print command creates one response message Example x 10 print x Example of an output response message 1 00000e 01 Note that your output might be different if you set your ASCII precision setting to a different value Information on scripting and programming If you need information on using scripts with Model 2651A se...

Страница 224: ...ise logic operation is performed on all corresponding bits of the two numbers The result of a logic operation is returned as an integer Bit operations The rest of the functions in this group are used for operations on the bits of a given number These functions can be used to Clear a bit Toggle a bit Test a bit Set a bit or bit field Retrieve the weighted value of a bit or field value All of these ...

Страница 225: ...l I O port of the Model 2651A can control external circuitry such as a component handler for binning operations The I O port has 14 lines Each line can be at TTL logic state 1 high or 0 low See the pinout diagram in Digital I O port for additional information There are commands to read and write to each individual bit and commands to read and write to the entire port digio readbit on page 7 43 dig...

Страница 226: ...ay prompt on page 7 66 display screen on page 7 67 display sendkey on page 7 68 display setcursor on page 7 69 display settext on page 7 70 display trigger EVENT_ID on page 7 72 display waitkey on page 7 74 Error queue When errors occur the error messages are placed in the error queue Use error queue commands to request error message information errorqueue clear on page 7 76 errorqueue count on pa...

Страница 227: ... closing file descriptors and performing basic I O operations on a pair of default files one input and one output Commands that reside in the file descriptors themselves for example fileVar seek fileVar write and fileVar read operate exclusively on the file with which they are associated The root folder of the USB flash drive has the absolute path usb1 NOTE Both slash and backslash are supported a...

Страница 228: ... seek on page 7 84 fileVar write on page 7 85 fs chdir on page 7 88 fs cwd on page 7 89 fs is_dir on page 7 89 fs mkdir on page 7 90 fs readdir on page 7 91 fs rmdir on page 7 91 io close on page 7 99 io flush on page 7 99 io input on page 7 100 io open on page 7 100 io output on page 7 101 io read on page 7 101 io type on page 7 102 io write on page 7 103 The following standard I O commands are n...

Страница 229: ...stname on page 7 107 lan config dns verify on page 7 107 lan config duplex on page 7 108 lan config gateway on page 7 108 lan config ipaddress on page 7 109 lan config method on page 7 110 lan config speed on page 7 110 lan config subnetmask on page 7 111 lan linktimeout on page 7 112 lan lxidomain on page 7 113 lan nagle on page 7 113 lan reset on page 7 114 lan restoredefaults on page 7 114 lan ...

Страница 230: ...fo on page 7 141 waitcomplete on page 7 374 opc on page 7 144 Parallel script execution dataqueue add on page 7 38 dataqueue CAPACITY on page 7 39 dataqueue clear on page 7 39 dataqueue count on page 7 40 dataqueue next on page 7 41 node N execute on page 7 142 node N getglobal on page 7 142 node N setglobal on page 7 143 tsplink group on page 7 347 tsplink master on page 7 347 tsplink node on pag...

Страница 231: ...e 7 209 Reset Resets settings to their default settings digio trigger N reset on page 7 49 localnode reset on page 7 137 reset on page 7 151 timer reset on page 7 333 smuX reset on page 7 209 tsplink reset on page 7 349 trigger blender N reset on page 7 335 trigger timer N reset on page 7 343 tsplink trigger N reset on page 7 356 RS 232 serial baud on page 7 163 serial databits on page 7 164 seria...

Страница 232: ...cate with the instrument efficiently These commands describe how to create load modify and run scripts script anonymous on page 7 153 script delete on page 7 154 script load on page 7 154 script new on page 7 155 script restore on page 7 157 script user catalog on page 7 158 scriptVar autorun on page 7 159 scriptVar list on page 7 160 scriptVar name on page 7 160 scriptVar run on page 7 161 script...

Страница 233: ... page 7 199 smuX measure lowrangeY on page 7 200 smuX measure nplc on page 7 201 smuX measure overlappedY on page 7 201 smuX measure rangeY on page 7 202 smuX measure rel enableY on page 7 204 smuX measure rel levelY on page 7 205 smuX measure Y on page 7 205 smuX measureYandstep on page 7 207 smuX nvbufferY on page 7 208 smuX reset on page 7 209 smuX savebuffer on page 7 209 smuX sense on page 7 ...

Страница 234: ...igger source action on page 7 241 smuX trigger source limitY on page 7 242 smuX trigger source linearY on page 7 243 smuX trigger source listY on page 7 244 smuX trigger source logY on page 7 245 smuX trigger source set on page 7 246 smuX trigger source stimulus on page 7 247 smuX trigger SOURCE_COMPLETE_EVENT_ID on page 7 248 smuX trigger SWEEP_COMPLETE_EVENT_ID on page 7 249 smuX trigger SWEEPIN...

Страница 235: ...ger_overrun on page 7 277 status operation instrument smuX on page 7 279 status operation instrument smuX trigger_overrrun on page 7 281 status operation instrument trigger_blender on page 7 283 status operation instrument trigger_blender trigger_overrun on page 7 284 status operation instrument trigger_timer on page 7 286 status operation instrument trigger_timer trigger_overrun on page 7 287 sta...

Страница 236: ...h Power System SourceMeter Instrument Reference Manual 5 16 2651A 901 01 Rev A March 2011 Time delay on page 7 42 gettimezone on page 7 92 settime on page 7 167 settimezone on page 7 168 timer measure t on page 7 332 timer reset on page 7 333 ...

Страница 237: ... 128 lan trigger N protocol on page 7 129 lan trigger N pseudostate on page 7 129 lan trigger N stimulus on page 7 130 lan trigger N wait on page 7 131 smuX trigger arm count on page 7 226 smuX trigger arm set on page 7 226 smuX trigger arm stimulus on page 7 227 smuX trigger ARMED_EVENT_ID on page 7 228 smuX trigger autoclear on page 7 229 smuX trigger count on page 7 230 smuX trigger endpulse ac...

Страница 238: ...igger EVENT_ID on page 7 339 trigger timer N clear on page 7 339 trigger timer N count on page 7 339 trigger timer N delay on page 7 340 trigger timer N delaylist on page 7 341 trigger timer N EVENT_ID on page 7 341 trigger timer N overrun on page 7 342 trigger timer N passthrough on page 7 343 trigger timer N reset on page 7 343 trigger timer N stimulus on page 7 344 trigger timer N wait on page ...

Страница 239: ...4 tsplink trigger N pulsewidth on page 7 355 tsplink trigger N release on page 7 355 tsplink trigger N stimulus on page 7 357 tsplink trigger N wait on page 7 358 tsplink writebit on page 7 359 tsplink writeport on page 7 359 tsplink writeprotect on page 7 360 TSP Net The TSP Net module provides a simple socket like programming interface to Test Script Processor TSP enabled instruments tspnet clea...

Страница 240: ...ley Instruments develops additional factory scripts they will be made available on the Keithley Instruments website http www keithley com as a flash firmware upgrade for the Model 2651A See Upgrading the firmware on page A 4 for instructions on upgrading the flash firmware of your Model 2651A A factory script is similar to a user script except a factory script is created by Keithley Instruments at...

Страница 241: ... Select the function to run and press RUN key Retrieving and modifying a factory script listing The script listing for a factory script can be retrieved and modified However it cannot be saved as a factory script The modified script can be saved as a user script using the same name or a new name An imported factory script can only be loaded back into the Model 2651A as a user script The following ...

Страница 242: ...ping function This script is made up of the following functions Access these functions from the front panel or the remote interfaces Details on these functions are provided in the tables that follow The following functions make up the KISweep factory script SweepILinMeasureV on page 7 324 SweepVLinMeasureI on page 7 328 SweepILogMeasureV on page 7 326 SweepVLogMeasureI on page 7 330 SweepIListMeas...

Страница 243: ...e configuration KIPulse tag parameter pulse functions on page 5 23 to configure a pulse train and assign the configuration to the tag parameter use QueryPulseConfig to inspect configured pulse trains Use the initiation InitiatePulseTest function to execute the pulse trains assigned to its tag arguments The conditions listed in the table below must be true for these functions to execute successfull...

Страница 244: ... off time must adhere to the duty cycle limits for the specified pulsing region Simultaneous IV measurement during pulse The KIPulse Configure functions will optionally accept an extra reading buffer to activate simultaneous IV measurements during pulsing Previous usage of passing in a reading buffer or a nil for no measurement is still supported KIHighC factory script The KIHighC factory script i...

Страница 245: ...iently In the instrument the Test Script Processor TSP scripting engine processes and runs scripts Scripts offer several advantages over sending individual commands from the control computer Scripts are easier to save refine and implement than individual commands The instrument performs faster and more efficiently when processing scripts You can incorporate features such as looping and branching i...

Страница 246: ... instrument is turned off you must save it to nonvolatile memory The scripts that are in nonvolatile memory are loaded into the runtime environment when the instrument is turned on Information in the runtime environment is lost when the instrument is turned off Scripts are placed in the runtime environment when The instrument is turned on All scripts that are saved to nonvolatile memory are copied...

Страница 247: ...der Integrated Development Environment TSB IDE or use TSB Embedded The TSB IDE is a programming tool that is included on the Product Information CD ROM that came with your Model 2651A You can use it to create modify debug and store Test Script Processor TSP scripting engine scripts For more information about using the TSB IDE see Using Test Script Builder TSB on page 6 37 TSB Embedded is a tool wi...

Страница 248: ...remove previously loaded scripts Unlike other scripts named scripts can be saved to internal nonvolatile memory Saving a named script to nonvolatile memory allows the instrument to be turned off without losing the script See Working with scripts in nonvolatile memory on page 6 10 Load a script by sending commands over the remote interface You can send commands over the remote interface instead of ...

Страница 249: ...4 You can now run the script See Run scripts on page 6 6 NOTE To run the script immediately use loadandrunscript scriptName instead of loadscript Create a script using TSB Embedded NOTE If you are using TSB Embedded to create scripts you do not need to use the commands loadscript or loadandrunscript and endscript For information on using TSB Embedded select the Help button on a web page or the Hel...

Страница 250: ... runtime environment until a new anonymous script is created or until the instrument is turned off To run the anonymous script use any one of these commands run script run script anonymous script anonymous run Run a named script Any named script that is in the runtime environment can be run using one of the following commands scriptVar scriptVar run Where scriptVar is the user defined name of the ...

Страница 251: ...latile memory on page 6 11 for more detail Example Set a script to run automatically test5 autorun yes test5 save Assume a script named test5 is in the runtime environment The next time the instrument is turned on test5 script automatically loads and runs Autoexec script The autoexec script runs automatically when the instrument is turned on It runs after all the scripts have loaded and any script...

Страница 252: ...e the source code of a user script Line by line Use scriptVar list to retrieve the source code line by line Entire script Use the print scriptVar source command to retrieve the script source code as a single string Use TSB Embedded After retrieving a script see Create and load a script on page 6 3 for information on recreating the script and loading it back into the instrument NOTE To get a list o...

Страница 253: ...e script Example Retrieve the source code as a single string print test1 source Retrieve the source of a script named test1 Retrieve a script using TSB Embedded In TSB Embedded from the User Scripts list select the script you want to retrieve The contents of the script are displayed See Working with TSB Embedded on page 6 37 for more information Script example Retrieve the content of scripts This ...

Страница 254: ...atile memory are loaded into the runtime environment when the instrument is turned on The runtime environment and nonvolatile memory are separate storage areas in the instrument The runtime environment is wiped clean when the instrument is turned off The nonvolatile memory remains intact when the instrument is turned off When the instrument is turned on information in nonvolatile memory is loaded ...

Страница 255: ... extension 1 Load a script see Create and load a script on page 6 3 2 Send the command scriptVar save usb1 filename tsp where scriptVar is the variable referencing the script and filename tsp is a name of the file NOTE You can also use TSB Embedded to save a script to a USB flash drive or any accessible drive installed on your computer From TSB Embedded load the script and click Export to PC Delet...

Страница 256: ...mple Interactive script An interactive script prompts the operator to input values using the instrument front panel The following example script uses display messages to prompt the operator to Enter the digital I O line on which to output a trigger Enter the output trigger pulsewidth After the output trigger occurs the front display displays a message to the operator When an input prompt is displa...

Страница 257: ...f myDigioEdge Rising then edgeMode digio TRIG_RISING else edgeMode digio TRIG_FALLING end Prompt user for output trigger pulsewidth myPulseWidth display prompt 000 0 us Enter trigger pulsewidth 10 10 100 Scale the entered pulsewidth myPulseWidth myPulseWidth 1e 6 Generate the pulse digio trigger intMyDigioLine mode edgeMode digio trigger intMyDigioLine pulsewidth myPulseWidth digio trigger intMyDi...

Страница 258: ...uage that can be used with TSP enabled instruments Lua is an efficient language with simple syntax that is easy to learn Lua is also a scripting language which means that scripts are compiled and run when they are sent to the instrument You do not compile them before sending them to the instrument Lua basics This section contains the basics about the Lua programming language to allow you to start ...

Страница 259: ... a second line Disable the front panel LOCAL key display locallockout display LOCK Long comment Use when the comment text is long enough that it wraps to additional lines The double left brackets signal the beginning of the multi line comment and the double right brackets signal the end of the comment Displays a menu with three menu items If the second menu item is selected the selection will be g...

Страница 260: ... command digio 5 you cannot access the digio commands until you cycle the power to the instrument These groups include Command group names beeper lan bit localnode dataqueue opc delay reset digio smua display status eventlog timer errorqueue trigger exit tsplink format tspnet fs userstring gpib waitcomplete io Values and variable types In Lua you use variables to store values in the runtime enviro...

Страница 261: ...l is the type of the value nil whose main property is to be different from any other value usually it represents the absence of a useful value boolean true or false Boolean is the type of the values false and true In Lua both nil and false make a condition false any other value makes it true number number All numbers are real numbers there is no distinction between integers and floating point numb...

Страница 262: ... variable from the runtime environment Functions Lua makes it simple to group commands and statements using the function keyword Functions can take zero one or multiple parameters and they return zero one or multiple parameters Functions can be used to form expressions that calculate and return a value they also can act as statements that execute specific tasks Functions are first class values in ...

Страница 263: ...assed to the function call for the given parameters Example 1 function add_two parameter1 parameter2 return parameter1 parameter2 end print add_two 3 4 Creates a variable named add_two that has a variable type of function Output 7 000000000e 00 Example 2 add_three function parameter1 parameter2 parameter3 return parameter1 parameter2 parameter3 end print add_three 3 4 5 Creates a variable named ad...

Страница 264: ...the body of the script This example concatenates two strings MyFunction function who print Hello who end 3 Click Save Script MakeMyFunction now exists on the instrument in a global variable with the same name as the script MakeMyFunction However the function defined in the script does not yet exist because the script has not been executed 4 Run the script as a function MakeMyFunction This instruct...

Страница 265: ...lay clear display settext name N is here end loadscript function myDisplay name display clear display settext name N is here end endscript Operators Lua variables and constants can be compared and manipulated using operators Arithmetic operators Operator Description addition subtraction multiplication division negation for example c a exponentiation Relational operators Operator Description less t...

Страница 266: ...ut evaluation that is the second operand is evaluated only if necessary Example print 10 or errorqueue next print nil or a print nil and 10 print false and errorqueue next print false and nil print false or nil print 10 and 20 1 00000e 01 a nil false false nil 2 00000e 01 String concatenation String operators Operator Description Concatenates two strings If both operands are strings or number they...

Страница 267: ...Equivalent expressions reading offset testValue 2 0 5 reading offset testValue 2 0 5 3 reading 2 4 3 reading 2 4 Rdg maxRdg and lastRdg expectedRdg Rdg maxRdg and lastRdg expectedRdg reading 2 reading 2 reading testAdjustment 2 reading testAdjustment 2 Conditional branching Lua uses the if else elseif then and end keywords to do conditional branching Note that in Lua nil and false are false and ev...

Страница 268: ...arch 2011 Example If if 0 then print Zero is true else print Zero is false end Zero is true Example Comparison x 1 y 2 if x and y then print Both x and y are true end Both x and y are true Example If and else x 2 if not x then print This is from the if block else print This is from the else block end This is from the else block ...

Страница 269: ... 10 and y is not less than 2 end Output if expression 2 was not false if expression 3 was not false if expression 4 was false x is not equal to 10 and y is not less than 2 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 While loops To use conditional expressions to determine whether to execut...

Страница 270: ...t The body of a repeat statement always executes at least once It stops repeating when the conditions of the until clause are met repeat block until expression Where block consists of one or more Lua statements expression is Lua code that evaluates to either true or false Example Repeat until list One Two Three Four Five Six print Count elements in list using repeat element 1 repeat print element ...

Страница 271: ...ing from one to three 1 000000000e 00 One 2 000000000e 00 Two 3 000000000e 00 Three Counting from one to four in steps of two 1 000000000e 00 One 3 000000000e 00 Three Example Generic for days Sunday Monday Tuesday Wednesday Thursday Friday Saturday for i v in ipairs days do print days i i v end The generic for statement works by using functions called iterators On each iteration the iterator func...

Страница 272: ... 3 while k 0 do if numTable k breakValue then print Going to break and k k break end k k 1 end if i 0 then print Break value not found end This example defines a break value breakValue so that the break statement is used to exit the while loop before the value of k reaches 0 Output Going to break and i 3 00000e 00 Example Break with while statement enclosed by comment delimiters local numTable 5 4...

Страница 273: ... 01 3 40000e 01 3 40000e 01 5 50000e 01 5 50000e 01 8 90000e 01 8 90000e 01 1 44000e 02 1 44000e 02 2 33000e 02 2 33000e 02 3 77000e 02 3 77000e 02 6 10000e 02 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...

Страница 274: ...the standard programming constructs described in this document Lua includes standard libraries that contain useful functions for string manipulation mathematics and related functions Test Script Processor TSP scripting engine instruments also include instrument control extension libraries which provide programming interfaces to the instrumentation that can be accessed by the TSP scripting engine T...

Страница 275: ...es any number of arguments and generates a response message using the tostring function to convert them to strings note that numbers are converted to scientific notation using format asciiprecision The output is not formatted For formatted output you can use the string format command see String library functions on page 6 33 Also see print on page 7 144 tonumber x tonumber x base Returns x convert...

Страница 276: ...ector to collect all objects that are no longer accessible from Lua All objects in Lua are subject to automatic management including tables variables functions threads and strings Lua uses two numbers to control its garbage collection cycles One number counts how many bytes of dynamic memory Lua is using the other is a threshold When the number of bytes crosses the threshold Lua runs the garbage c...

Страница 277: ...C functions The only differences are that the modifiers l L n p and h are not supported and there is an extra option q The q option formats a string in a form suitable to be safely read back by the Lua interpreter the string is written between double quotes and all double quotes newlines embedded zeros and backslashes in the string are correctly escaped when written For example the call string for...

Страница 278: ...4 2651A 901 01 Rev A March 2011 String library functions Function Description string upper s Receives a string and returns a copy of this string with all lowercase letters changed to uppercase All other characters are left unchanged The definition of what a lowercase letter is depends on the current locale ...

Страница 279: ...and the absolute value of m is in the range 0 5 1 or zero when x is zero math ldexp x n Returns m2 e e should be an integer math log x Returns the natural logarithm of x math log10 x Returns the base 10 logarithm of x math max x Returns the maximum value among its arguments math min x Returns the minimum value among its arguments math pi The value of π 3 141592654 math pow x y Returns x y you can ...

Страница 280: ...commands Simple Lua string manipulation NOTE When creating a script using the TSB Embedded you do not need the shell commands loadscript and endscript as shown in the examples below Example User script User script created in TSB Embedded User script created in user s own program loadscript display clear myMessage Hello World for k 1 string len myMessage do x string sub myMessage k k display settex...

Страница 281: ...d modified in the Script Editor Notice that there is a tab available for each opened script file A script project is then downloaded to the instrument where it can be run Programming interaction Up to seven tabs can be displayed in the lower pane of the workspace the script editor to provide programming interaction between the Test Script Builder and the instrument The instrument console shown in ...

Страница 282: ...ick Abort Script To delete a script from TSB embedded NOTE You cannot retrieve a deleted script 1 Select the desired script from the user script window 2 Click Delete To modify a script 1 Select the desired script from the User Scripts window and then modify the desired code in the script editor 2 Click Save Script to validate the syntax and save the script 3 The following message is displayed Scr...

Страница 283: ... The anonymous script When a named script is loaded into the runtime environment A global variable with the same name is created to reference the script more conveniently An entry for the script is added to the script user scripts table When an unnamed script is loaded using the script new on page 7 155 function a global variable is added Nothing is added to the script user scripts table When the ...

Страница 284: ...erence to script named beepTwoSec No Autorun beeper enable 1 beeper beep 2 2400 script name source beepTwoSec Yes Autorun beeper enable 0 script name source beepDisable No Autorun script name source display clear display settext hello reference to unnamed script There is no script user scripts table entry for the unnamed script Create a script using the script new command Use the script new functi...

Страница 285: ... reference to script named beepTwoSec No Autorun beeper enable 1 beeper beep 2 2400 script name source beepTwoSec Create an unnamed script using script new NOTE Unnamed scripts are not available from the front panel display of the instrument Only the anonymous script and named scripts are available from the front panel display When you create a script using script new if you do not include name th...

Страница 286: ...e it is replaced by the new script For example if beepTwoSec already exists in the script user scripts table and you sent beepTwoSec1200 script new beeper enable 1 beeper beep 2 1200 beepTwoSec The following actions occur beepTwoSec1200 is added as a global variable The global variable beepTwoSec remains in the runtime environment unchanged it points to the now unnamed script The script that was i...

Страница 287: ...ote that the script user scripts table entry referencing beepTwoSec was removed and a new entry for beepTwoSec has been added Restore a script to the runtime environment You can retrieve a script that was removed from the runtime environment but is still saved in nonvolatile memory To restore a script from nonvolatile memory back into the runtime environment script restore scriptName Where scriptN...

Страница 288: ...is removes the existing script if there are no other variables that reference the previous script If variables do reference the existing script the references remain intact Changing the name of a script does not change the name of any variables that reference that script After changing the name the script can be found in the script user scripts table under its new name Figure 88 Rename script name...

Страница 289: ...time environment the script user scripts table and nonvolatile memory To completely remove a script 1 Remove the script from the runtime environment Set any global variables that refer to the script to nil or assign the variables a different value For example to remove the script beepTwoSec from the runtime environment send the following code beepTwoSec nil 2 Remove the script from the script user...

Страница 290: ...eeded by the runtime environment do not include them in your memory consumption calculations Also reading buffers for remote nodes consume memory on the remote node not the local node You should be sure the total reading buffer memory for any particular remote node does not exceed 24 MB but do not include that amount in your local memory consumption calculations The amount of memory used by a swee...

Страница 291: ...f the instrument encounters memory allocation errors when the memory used is above 95 percent the state of the instrument cannot be guaranteed After attempting to save any important data it is recommended that you turn off power to the instrument and turn it back on to return the instrument to a known state Cycling power resets the runtime environment Unsaved scripts will be lost TSP Link system e...

Страница 292: ...bordinate relationship between nodes is dissolved For more information about remote and local operations see Factory scripts on page 5 20 TSP Link system You can use the TSP Link expansion interface to expand your test system to include up to 64 addressable TSP Link enabled instruments 32 instruments at a time The expanded system can be stand alone or computer based Stand alone system You can run ...

Страница 293: ...umber string of the node revision The product revision string of the node serialno The product serial number string of the node There is also an entry for each logical instrument on the node see Logical instruments on page 7 3 It is not necessary to know the node number of the node running a script The variable localnode is an alias for the node entry the script is running on For example if a scri...

Страница 294: ... HI OUTPUT 40V 50A MAX LINE RATING 100 240 VAC 50 60 Hz 500VA MAX LINE FUSE SLOWBLOW 5 0 A 250 V NO INTERNAL OPERATOR SERVICEABLE PARTS SERVICE BY QUALIFIED PERSONNEL ONLY REPLACE FUSE WITH SAME TYPE AND RATING WARNING CHANNEL A RS 232 DIGITAL I O LAN IEEE 488 G G G G S LO SENSE GUARD S HI LO HI OUTPUT 40V 50A MAX Node 1 Node 2 Node 3 Node 64 LAN crossover cables Type Category 5e or higher Length ...

Страница 295: ...ts must be turned on when the TSP Link network reset is performed NOTE If you change the system topology after initialization you must reinitialize the system by performing a TSP Link network reset Changes that affect the system topology include powering down or rebooting any unit in the system or rearranging or disconnecting the LAN cable connections between units Front panel operation To reset t...

Страница 296: ...ntry in this table Each entry is indexed by the node number of the unit The variable node N where N is the node number is used to access any node in the system For example node 1 is represented as entry node 1 in the node table Each of these entries is a table holding all of the logical instruments and associated commands shared by the corresponding unit see Logical instruments for more details So...

Страница 297: ... system An abort operation can also be performed by pressing the OUTPUT ON OFF control on any node The results are the same as above with the addition that all source measure unit SMU outputs in the system are turned off Triggering with TSP Link The TSP Link expansion interface has three synchronization lines that function similarly to the digital I O synchronization lines See Digital I O on page ...

Страница 298: ... TSP Link Out GPIB TSP Link In TSP Link Out GPIB TSP Link In TSP Link Out To PC GPIB TSP Link In TSP Link Out SMU B GPIB TSP Link In TSP Link Out SMU A GPIB TSP Link In TSP Link Out SMU A GPIB TSP Link In TSP Link Out SMU A GPIB TSP Link In TSP Link Out SMU B GPIB TSP Link In TSP Link Out SMU n SMU n last SMU in system 1 Channel System 16 Channel System To PC 2 Channel System To PC Master Subordin...

Страница 299: ... 2651A single TSP Link network with groups GPIB TSP Link In TSP Link Out GPIB TSP Link In TSP Link Out GPIB TSP Link In TSP Link Out GPIB TSP Link In TSP Link Out GPIB TSP Link In TSP Link Out GPIB TSP Link In TSP Link Out SMU B GPIB TSP Link In TSP Link Out SMU A GPIB TSP Link In TSP Link Out SMU C GPIB TSP Link In TSP Link Out SMU A GPIB TSP Link In TSP Link Out SMU n SMU n last SMU in system No...

Страница 300: ...purpose of a group is to assign each node to run different test scripts at the same time in parallel Each node must belong to a group a group can consist of one or more members Group numbers are not assigned automatically you must use remote commands to assign each node to a group Master node overview The master node is always the node that coordinates activity on the TSP Link network All nodes as...

Страница 301: ...des to a group Note the following Each time the node powers off the group number for that node changes to 0 Replace N with the node number N represents the node number that runs the test scripts and the Lua code Each time the node powers off the group number for that node changes to 0 Replace G with the group number Assigns the node to a group node N tsplink group G Reassigning groups Use the foll...

Страница 302: ... TSP Link network on page 6 59 for more information Coordinating overlapped operations in remote groups Errors occur if you send a command to a node in a remote group running an overlapped operation All nodes in a group must be in the overlapped idle state before the master node can send a command to the group Use the waitcomplete command to Group leader and master node To wait for all overlapped ...

Страница 303: ...queue You can access the data queue from any node at any time You can use the data queue to post numeric values strings and tables Tables in the data queue consume one entry A new copy of the table is created when the table is retrieved from the data queue The copy of the table does not contain any references to the original table or any subtables To add or retrieve values from the data queue and ...

Страница 304: ...th the group number Creates a reading buffer on a node in a remote group node N tsplink group G node N execute rbremote smua makebuffer 20 smua measure count 20 smua measure v rbremote Creates a variable on the local node to access the reading buffer rblocal node N getglobal rbremote Access data from the reading buffer print rblocal 1 Runs code on the remote node that updates the reading buffer no...

Страница 305: ...tandard TCP IP networking techniques through the LAN port of the Model 2651A Using TSP Net with any Ethernet enabled device NOTE Refer to Remote Commands on page 5 1 for more details about the commands presented in this section To communicate to a remote Ethernet enabled device from the Model 2651A 1 Connect to the remote device through the LAN port The Model 2651A has Auto MDIX so you can use eit...

Страница 306: ...tr tspnet TERM_CRLF Send the command string to the connected device tspnet write id_instr idn r n Read the data available then print it print instrument write read returns tspnet read id_instr Disconnect all existing TSP Net sessions tspnet reset TSP Net versus TSP Link to communicate with TSP enabled devices The TSP Link network interface is the preferred communication method when communicating b...

Страница 307: ...ce control on page 6 63 to load and run scripts and retrieve reading buffers Abort any operation on the remote TSP enabled device using the tspnet tsp abort command Instrument commands General device control The following instrument commands provide general device control tspnet clear on page 7 361 tspnet connect on page 7 361 tspnet disconnect on page 7 363 tspnet execute on page 7 363 tspnet idn...

Страница 308: ...puter s tspnet read id n print string format from computer s tspnet read id n print string format from computer s tspnet read id n end function test_tspnet tspnet reset Connect to a computer via telnet telnetConnect 192 0 2 1 my_username my_password Read the prompt back from the computer print string format from computer s tspnet read id n Change directory and read the prompt back from the compute...

Страница 309: ...The following examples show typical uses of italicized text Example 1 gpib address address Where address is an integer 0 to 30 that you specify For example to set this attribute to 15 you would send gpib address 15 Example 2 digio trigger N assert Where N is an integer 1 to 14 that you specify For example to assert trigger line 7 you would send digio trigger 7 assert To assert trigger line with a ...

Страница 310: ...s to build well formed instrument control commands Syntax rules for instrument commands Syntax rule Details Examples Case sensitivity Instrument commands are case sensitive For best results simply match the case shown in the command reference descriptions Function and attribute names should be in lowercase characters An example of the scriptVar save function where test8 is the name of the script t...

Страница 311: ...y commas This command sets the beeper to emit a double beep at 2400 Hz with a beep sequence of 0 5 seconds on 0 25 seconds off and then 0 5 seconds on beeper beep 0 5 2400 delay 0 250 beeper beep 0 5 2400 Logical instruments You would normally refer to all instrumentation in one enclosure or node as a single instrument In the context of Test Script Processor TSP scripting engine and instrument com...

Страница 312: ...ned on The value returned by os clock is referenced to the turn on time Event Time referenced to an event such as the first reading stored in a reading buffer Using the command reference The command reference contains detailed descriptions of each of the commands you can use to control your Model 2651A Each command description is broken into several standardized subsections The figure below shows ...

Страница 313: ...need a parameter the parentheses set remains empty for example exit Attribute R RW or W Attribute based commands set or read the characteristics of an instrument feature or operation by defining a value For example a characteristic of a TSP enabled instrument is the model number localnode model another characteristic is the number of errors in the error queue errorqueue count For many attributes t...

Страница 314: ...ions User defined parameter Structure of command usage 3 1 2 Disable the beeper beeper OFF or 0 Enable the beeper beeper ON or 0 1 Structure of command usage Shows how the parts of the command should be organized 2 User defined parameters Indicated by italics For example for the function beeper beep duration frequency replace duration with the number of seconds and frequency with the frequency of ...

Страница 315: ...description shows some simple examples of how the command can be used Figure 96 Code examples in command listings 1 2 Working code example Description of what code does 1 Actual example code that you can copy from this table and paste into your own programming application 2 Description of the code and what it does This may also contain the output of the code Related commands and information The Al...

Страница 316: ...s The beeper will not sound if it is disabled It can be disabled or enabled with the beeper enable attribute or through the front panel Main Menu Example beeper enable beeper ON beeper beep 2 2400 Enables the beeper and generates a two second 2400 Hz tone Also see beeper enable on page 7 8 beeper enable This attribute allows you to turn the beeper on or off Type TSP Link accessible Affected by Whe...

Страница 317: ... of the logical AND operation value1 Operand for the logical AND operation value2 Operand for the logical AND operation Details Any fractional parts of value1 and value2 are truncated to form integers The returned result is also an integer Example testResult bit bitand 10 9 print testResult Performs a logical AND operation on decimal 10 binary 1010 with decimal 9 binary 1001 which returns a value ...

Страница 318: ...ecimal 11 binary 1011 Output 1 10000e 01 Also see bit bitand on page 7 9 bit bitxor on page 7 10 Logical operators on page 6 22 bit bitxor This function performs a bitwise logical XOR exclusive OR operation on two numbers Type TSP Link accessible Affected by Where saved Default value Function No Usage result bit bitxor value1 value2 result Result of the logical XOR operation value1 Operand for the...

Страница 319: ...32 Details Any fractional part of value is truncated to make it an integer The returned result is also an integer The least significant bit of value is at index position 1 the most significant bit is at index position 32 Example testResult bit clear 15 2 print testResult The binary equivalent of decimal 15 is 1111 If you clear the bit at index position 2 the returned decimal value is 13 binary 110...

Страница 320: ...n 4 the returned decimal value is 8 Output 8 00000e 00 Also see bit clear on page 7 11 bit set on page 7 13 bit test on page 7 15 bit toggle on page 7 15 Logical operators on page 6 22 bit getfield This function returns a field of bits from the value starting at the specified index position Type TSP Link accessible Affected by Where saved Default value Function No Usage result bit getfield value i...

Страница 321: ...d index position Type TSP Link accessible Affected by Where saved Default value Function No Usage result bit set value index result Result of the bit manipulation value Specified number index One based bit position within value to set 1 to 32 Details This function returns result which is value with the indexed bit set The index must be between 1 and 32 The least significant bit of value is at inde...

Страница 322: ...s function returns result which is value with a field of bits overwritten starting at index The index specifies the position of the least significant bit of value The width bits starting at index are set to fieldValue The least significant bit of value is at index position 1 the most significant bit is at index position 32 Before setting the field of bits any fractional parts of value and fieldVal...

Страница 323: ...urns result which is the result of the tested bit The least significant bit of value is at index position 1 the most significant bit is at index position 32 If the indexed bit for value is 0 result is false If the bit of value at index is 1 the returned value is true If index is bigger than the number of bits in value the result is false Example testResult bit test 10 4 print testResult The binary...

Страница 324: ... testResult The binary equivalent of decimal 10 is 1010 Toggling the bit at index position 3 returns a decimal value of 14 binary 1110 Output 1 40000e 01 Also see bit clear on page 7 11 bit get on page 7 11 bit set on page 7 13 bit test on page 7 15 Logical operators on page 6 22 bufferVar appendmode This attribute sets the state of the reading buffer s append mode Type TSP Link accessible Affecte...

Страница 325: ...e contains the timestamp of when the first reading was stored in the buffer Type TSP Link accessible Affected by Where saved Default value Attribute R Yes Not applicable Not applicable 0 Usage basetime bufferVar basetimestamp basetime The timestamp of the first stored reading bufferVar The reading buffer can be a dynamically allocated buffer user defined or a dedicated reading buffer such as smua ...

Страница 326: ...alue to this attribute enables or disables the reading buffer cache When enabled the reading buffer cache improves access speed to reading buffer data If you run successive operations that overwrite reading buffer data the reading buffer may return stale cache data This can happen when initiating successive sweeps without reconfiguring the sweep measurements or when overwriting data in the reading...

Страница 327: ...er A user defined dynamically allocated buffer has a fixed capacity that is set when the buffer is created See the smuX nvbufferY attribute for details on accessing dedicated reading buffers See the smuX makebuffer function for information on creating user defined dynamically allocated reading buffers Example maxNumber smua nvbuffer1 capacity print capacity Reads the capacity of dedicated reading ...

Страница 328: ...ive operations that overwrite reading buffer data the reading buffer may return stale cache data This can happen when initiating successive sweeps without reconfiguring the sweep measurements Watch for this when running test script language TSL code remotely on more than one node because values in the reading buffer cache may change while the TSL code is running overwriting data in the reading buf...

Страница 329: ...ed with an empty buffer Empty the buffer using the bufferVar clear function When on source values will be stored with readings in the buffer This requires four extra bytes of storage per reading Turning on additional collection items such as source values this attribute and timestamps decreases the capacity of a dedicated reading buffer for example smua nvbuffer1 but does not change the capacity o...

Страница 330: ...n additional collection items such as timestamps this attribute and source values decreases the capacity of a dedicated reading buffer for example smua nvbuffer1 but does not change the capacity of a user defined dynamically allocated buffer This value off or on can only be changed when the buffer is empty Empty the buffer using the bufferVar clear function Example smua nvbuffer1 collecttimestamps...

Страница 331: ...fer fill mode Type TSP Link accessible Affected by Where saved Default value Attribute RW Yes Not applicable Not applicable smuX FILL_ONCE Usage fillMode bufferVar fillmode bufferVar fillmode fillMode fillMode The reading buffer fill mode set to one of the following 0 or smuX FILL_ONCE Do not overwrite old data 1 or smuX FILL_WINDOW New readings restart at index 1 after acquiring reading at index ...

Страница 332: ...le numberOfReadings smua nvbuffer1 n print numberOfReadings Reads the number of readings stored in dedicated reading buffer 1 Output 1 250000 02 The above output indicates that there are 125 readings stored in the buffer Also see smuX measure overlappedY on page 7 201 smuX measure Y on page 7 205 smuX nvbufferY on page 7 208 smuX trigger measure Y on page 7 238 Reading buffers on page 3 6 bufferVa...

Страница 333: ...n of dedicated reading buffer 1 to 8 μs Also see bufferVar clear on page 7 19 smuX measure overlappedY on page 7 201 smuX measure Y on page 7 205 smuX nvbufferY on page 7 208 smuX trigger measure Y on page 7 238 Reading buffers on page 3 6 ConfigPulseIMeasureV This KIPulse factory script on page 5 23 function configures a current pulse train with a voltage measurement at each point Type TSP Link a...

Страница 334: ...r input before executing each pulse sync_out Defines a digital I O trigger output line if programmed the pulse train will generate a trigger output immediately before the start of ton this parameter is optional sync_in_timeout Specifies the length of time in seconds to wait for input trigger default value is 10 s sync_in_abort Specifies whether or not to abort pulse if input trigger is not receive...

Страница 335: ...seIMeasureVSweepLin This KIPulse factory script on page 5 23 function configures a linear pulsed current sweep with a voltage measurement at each point Type TSP Link accessible Affected by Where saved Default value Function No Usage f msg ConfigPulseIMeasureVSweepLin smu bias start stop limit ton toff points buffer tag sync_in sync_out sync_in_timeout sync_in_abort f msg ConfigPulseIMeasureVSweepL...

Страница 336: ...h pulse this parameter is optional sync_out Defines a digital I O trigger output line if programmed the pulse train will generate a trigger output immediately before the start of ton this parameter is optional sync_in_timeout Specifies the length of time in seconds to wait for input trigger default value is 10 s sync_in_abort Specifies whether or not to abort pulse if input trigger is not received...

Страница 337: ... will use SourceMeter instrument channel A The pulsed sweep will start at 10 mA end at 50 mA and return to a 0 mA bias level between pulses Each pulsed step will be on for 1 ms and then at the bias level for 100 ms The voltage limit will be 1 V during the entire pulsed sweep The pulse train will be comprised of 20 pulsed steps and the pulse train will be assigned a tag index of 3 Also see Initiate...

Страница 338: ...he pulse train is initiated tag Numeric identifier to be assigned to the defined pulse train sync_in Defines a digital I O trigger input line if programmed the pulse train will wait for a trigger input before executing each pulse this parameter is optional sync_out Defines a digital I O trigger output line if programmed the pulse train will generate a trigger output immediately before the start of...

Страница 339: ... 10 smua nvbuffer1 5 Set up a pulsed logarithmic sweep that uses SourceMeter instrument channel A The pulsed sweep will start at 1 mA end at 10 mA and return to a 0 A bias level between pulses Each pulsed step will be on for 1 ms and then at the bias level for 10ms The voltage limit will be 1 V during the entire pulsed sweep The pulse train will be comprised of 10 pulsed steps and the pulse train ...

Страница 340: ...e pulsed measurements will be stored if this is nil when the function is called no measurements will be made when the pulse train is initiated tag Numeric identifier to be assigned to the defined pulse train sync_in Defines a digital I O trigger input line if programmed the pulse train will wait for a trigger input before executing each pulse this parameter is optional sync_out Defines a digital I...

Страница 341: ...eturn to 0 V after 1 ms The pulse will remain at 0 V for 80 ms and the current limit will be 1 A during the pulse The pulse train will consist of 10 pulses and the pulse train will be assigned a tag index of 2 Example 2 local timelist 1 2 3 4 5 f msg ConfigPulseVMeasureI smua 0 1 100e 3 1 timelist 5 nil 1 Variable off time between pulses in a pulse train Configure a pulse with 1 second on time and...

Страница 342: ...rceMeter instrument channel set to smua bias Bias level in volts start Pulse sweep start level in volts stop Pulse sweep stop level in volts limit Voltage limit for example compliance in amperes ton Pulse on time in seconds toff Pulse off time in seconds points Number of pulse measure cycles buffer Reading buffer where pulsed measurements will be stored if this is nil when the function is called n...

Страница 343: ...ion is used to initiate a pulse train assigned to a valid tag Figure 102 ConfigPulseVMeasureISweepLin Pulse initiated here Measurement 1 NPLC seconds bias level step step step stop start points 1 Last source value before pulse train was initiated ton toff start stop Example ConfigPulseVMeasureISweepLin smua 0 1 10 1 10e 3 20e 3 16 smua nvbuffer1 4 Set up a pulsed sweep that will use System SourceM...

Страница 344: ... msg will contain an error message if it is true msg will contain a string indicating successful configuration smu System SourceMeter instrument channel set to smua bias Bias level in volts start Pulse sweep start level in volts stop Pulse sweep stop level in volts limit Voltage limit for example compliance in amperes ton Pulse on time in seconds toff Pulse off time in seconds points Number of pul...

Страница 345: ...sions are achievable and if they are assigns the indicated tag or index to the pulse train The InitiatePulseTest tag function is used to initiate a pulse train assigned to a valid tag Figure 103 ConfigPulseVMeasureISweepLog Pulse initiated here bias level toff start stop Measurement 1 NPLC seconds ton Last source value before pulse train was initiated LogStepSize log10 stop log10 start points 1 Lo...

Страница 346: ...l data queue The timeout value is ignored if the data queue is not full The dataqueue add function returns false If the timeout expires before space is available in the data queue If the data queue is full and a timeout value is not specified If the value is a table a duplicate of the table and any subtables is made The duplicate table does not contain any references to the original table or to an...

Страница 347: ...be stored in the data queue Example MaxCount dataqueue CAPACITY while dataqueue count MaxCount do dataqueue add 1 end print There are dataqueue count items in the data queue Add items to the data queue until it is at capacity Output There are 128 items in the data queue Also see dataqueue add on page 7 38 dataqueue clear on page 7 39 dataqueue count on page 7 40 dataqueue next on page 7 41 dataque...

Страница 348: ...tribute contains the number of items in the data queue Type TSP Link accessible Affected by Where saved Default value Attribute R Yes Power cycle Dataqueue add Dataqueue clear Dataqueue next Not saved Not applicable Usage count dataqueue count count The number of items in the data queue Details The count gets updated as entries are added and read from the data queue It is also updated when the dat...

Страница 349: ... is not available in the data queue before the timeout expires the return value is nil The entries in the data queue are removed in first in first out FIFO order If the value is a table a duplicate of the original table and any subtables is made The duplicate table does not contain any references to the original table or to any subtables Example dataqueue clear for i 1 10 do dataqueue add i end pr...

Страница 350: ... 000 Details It is impossible to delay for zero seconds The system delays execution of the commands for at least the specified number of seconds and fractional seconds However the processing time may cause the system to delay 5 μs to 10 μs typical more than the requested delay Example 1 beeper beep 0 5 2400 delay 0 250 beeper beep 0 5 2400 Emit a double beep at 2400 Hz The sequence is 0 5 s on 0 2...

Страница 351: ... 4 is set high and it is then read Output 1 00000e 00 Also see Digital I O port digio readport on page 7 43 digio writebit on page 7 51 digio writeport on page 7 52 digio readport This function reads the digital I O port Type TSP Link accessible Affected by Where saved Default value Function Yes Usage data digio readport data The present value of the input lines on the digital I O port Details The...

Страница 352: ...his function asserts a trigger on one of the digital I O lines Type TSP Link accessible Affected by Where saved Default value Function Yes Usage digio trigger N assert N Digital I O trigger line 1 to 14 Details The set pulsewidth determines how long the trigger is asserted Example digio trigger 2 assert Asserts a trigger on digital I O line 2 Also see digio trigger N pulsewidth on page 7 48 digio ...

Страница 353: ... 7 51 digio trigger N EVENT_ID This constant identifies the trigger event generated by the digital I O line N Type TSP Link accessible Affected by Where saved Default value Constant Yes Usage eventID digio trigger N EVENT_ID eventID The trigger event number N Digital I O trigger line 1 to 14 Details To have another trigger object respond to trigger events generated by the trigger line set the othe...

Страница 354: ...ty with other Keithley Instruments products digio TRIG_EITHER or 3 Detects rising or falling edge triggers as input Asserts a TTL low pulse for output digio TRIG_SYNCHRONOUSA or 4 Detects the falling edge input triggers and automatically latches and drives the trigger line low Asserting the output trigger releases the latched line digio TRIG_SYNCHRONOUS or 5 Detects the falling edge input triggers...

Страница 355: ...ument reset Digital I O trigger N clear Digital I O trigger N reset Not saved Not applicable Usage overrun digio trigger N overrun overrun Trigger overrun state true or false N Digital I O trigger line 1 to 14 Details If this is true an event was ignored because the event detector was already in the detected state when the event occurred This is an indication of the state of the event detector bui...

Страница 356: ...gger indefinitely To release the trigger line use digio trigger N release Example digio trigger 4 pulsewidth 20e 6 Sets the pulse width for trigger line 4 to 20 μs Also see digio trigger N assert on page 7 44 digio trigger N reset on page 7 49 digio trigger N release on page 7 48 digio trigger N release This function releases an indefinite length or latched trigger Type TSP Link accessible Affecte...

Страница 357: ...r N mode digio trigger N pulsewidth digio trigger N stimulus It also clears digio trigger N overrun Also see digio trigger N mode on page 7 46 digio trigger N overrun on page 7 47 digio trigger N pulsewidth on page 7 48 digio trigger N stimulus on page 7 49 digio trigger N stimulus This attribute selects the event that causes a trigger to be asserted on the digital output line Type TSP Link access...

Страница 358: ...NT_ID Occurs when the SMU returns to the idle state digio trigger N EVENT_ID Occurs when an edge is detected on a digital I O line tsplink trigger N EVENT_ID Occurs when an edge is detected on a TSP Link line lan trigger N EVENT_ID Occurs when the appropriate LXI trigger packet is received on LAN trigger object N display trigger EVENT_ID Occurs when the TRIG key on the front panel is pressed trigg...

Страница 359: ...s 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 After waiting for a trigger with this function the event detector is automatically reset and re armed This is true regardless of the number of events detected Example trigge...

Страница 360: ...digital I O Line 4 low 0 Also see digio readbit on page 7 43 digio readport on page 7 43 digio trigger N mode on page 7 46 digio writeport on page 7 52 digio writeprotect on page 7 53 digio writeport This function writes to all digital I O lines Type TSP Link accessible Affected by Where saved Default value Function Yes Usage digio writeport data data Value to write to the port 0 to 16383 Details ...

Страница 361: ...nd digio writeport functions Type TSP Link accessible Affected by Where saved Default value Attribute RW Yes Instrument reset Recall Saved setups 0 Usage mask digio writeprotect digio writeprotect mask mask Sets the value that specifies the bit pattern for write protect Details Bits that are set to one cause the corresponding line to be write protected The binary equivalent of mask indicates the m...

Страница 362: ...s do not immediately update the display For performance considerations they update the physical display as soon as processing time becomes available Also see display setcursor on page 7 69 display settext on page 7 70 display getannunciators This function reads the annunciators indicators that are presently turned on Type TSP Link accessible Affected by Where saved Default value Function Yes Usage...

Страница 363: ...CIATOR_SAMPLE EDIT 9 256 display ANNUNCIATOR_EDIT ERR 10 512 display ANNUNCIATOR_ERROR REM 11 1024 display ANNUNCIATOR_REMOTE TALK 12 2048 display ANNUNCIATOR_TALK LSTN 13 4096 display ANNUNCIATOR_LISTEN SRQ 14 8192 display ANNUNCIATOR_SRQ REAR 15 16384 display ANNUNCIATOR_REAR REL 16 32768 display ANNUNCIATOR_REL Example 1 myAnnunciators display getannunciators print myAnnunciators rem bit bitand...

Страница 364: ...user screen the text set by display settext and then returns values to indicate the cursor s row and column position and cursor style Columns are numbered from left to right on the display Example 1 myRow myColumn display getcursor print myRow myColumn This example reads the cursor position into local variables and prints them Example output 1 00000e 00 1 00000e 00 Example 2 print display getcurso...

Страница 365: ...splay KEY_RECALL 68 display KEY_MENU 86 display KEY_MEASA 69 display KEY_MODEA 87 display KEY_DIGITSA 70 display KEY_RELA 92 display KEY_TRIG 71 display KEY_RUN 93 display KEY_LIMITA 72 display KEY_DISPLAY 94 display KEY_SPEEDA 73 display KEY_AUTO 95 display KEY_LOAD 75 display KEY_EXIT 97 display WHEEL_ENTER 77 display KEY_FILTERA 103 display KEY_RIGHT 78 display KEY_STORE 104 display KEY_LEFT 79...

Страница 366: ...Selects the first column from which to read text for row 1 the valid column numbers are 1 to 20 for row 2 the valid column numbers are 1 to 32 if nothing is selected 1 is used columnEnd Selects the last column from which to read text for row 1 the valid column numbers are 1 to 20 for row 2 the valid column numbers are 1 to 32 the default is 20 for row 1 and 32 for row 2 Details Using the command w...

Страница 367: ...KLMNOPQRST Nabcdefghijklmnopqrstuvwxyz123456 RABCDEFGHIJ DKLMNOPQRST N Rabcdefghijklm Bnopqrstuvwxyz F123456 abcdefghijklmnopqrstuvwxyz123456 Rijklm Bnopqrstuvwxyz F123456 ij Example 2 display clear display settext User Screen text display gettext print text This outputs all text in both lines of the display User Screen N This indicates that the message User Screen is on the top line The bottom li...

Страница 368: ...rameters can be used to limit the values that can be entered When is selected for format the minimum limit must be more than or equal to zero 0 When limits are used you cannot enter values above or below these limits The input value is limited to 1e37 Before calling display inputvalue you should send a message prompt to the operator using display prompt Make sure to position the cursor where the e...

Страница 369: ...D key then selecting USER to select from the available code to load Pressing the RUN key will then run the script You can add items in any order They are always displayed in alphabetical order when the menu is selected Any Lua code can be can be included in the code parameter If memory is set to display SAVE the entry name and code is saved in nonvolatile memory Scripts functions and variables use...

Страница 370: ...he script was not saved in nonvolatile memory the function named DUT1 is lost when you turn the instrument on When Test is again run from the front panel an error is generated because DUT1 no longer exists in the instrument as a function Example 3 display loadmenu add Part1 testpart Part1 5 0 display SAVE Adds an entry called Part1 to the front panel USER TESTS load menu for the code testpart Part...

Страница 371: ...63 display loadmenu delete This function removes an entry from the User menu which can be accessed using the LOAD key on the instrument front panel Type TSP Link accessible Affected by Where saved Default value Function Yes Usage display loadmenu delete displayName displayName The name to be deleted from the User menu Details If you delete an entry from the User menu you can no longer run it by pr...

Страница 372: ...OCK Locks out EXIT LOCAL key Details Set display locallockout to display LOCK to prevent the user from interrupting remote operation by pressing the EXIT LOCAL key Set this attribute to display UNLOCK to allow the EXIT LOCAL key to interrupt script remote operation Example display locallockout display LOCK Disables the front panel EXIT LOCAL key Also see None display menu This function presents a ...

Страница 373: ...it will return nil The script can be aborted by calling the exit function when nil is returned Example selection display menu Menu Test1 Test2 Test3 print selection Displays a menu with three menu items If the second menu item is selected selection is given the value Test2 Output Test2 Also see None display numpad This attribute controls whether the front panel keys act as a numeric keypad during ...

Страница 374: ...when the value is first displayed minimum The minimum input value that can be entered maximum The maximum input value that can be entered must be more than minimum Details This function creates an editable input field at the present cursor position and an input prompt message on the bottom line Example of a displayed input field and prompt 0 00V Input 0 to 2V format uses 0s the decimal point polar...

Страница 375: ...command and pressing the EXIT LOCAL key the value returns nil Example value display prompt 0 00 V Input 0 to 2V 0 5 0 2 print value The above command prompts the operator to enter a voltage value The valid input range is 0 to 2 00 with a default of 0 50 0 50V Input 0 to 2V If the operator enters 0 70 the output is 7 00000e 01 Also see display inputvalue on page 7 59 display screen This attribute c...

Страница 376: ...NE 82 display KEY_ENTER 65 display KEY_RANGEUP 85 display KEY_RECALL 68 display KEY_MENU 86 display KEY_MEASA 69 display KEY_MODEA 87 display KEY_DIGITSA 70 display KEY_RELA 88 display KEY_OUTPUTA 71 display KEY_RUN 92 display KEY_TRIG 72 display KEY_DISPLAY 93 display KEY_LIMITA 73 display KEY_AUTO 94 display KEY_SPEEDA 75 display KEY_EXIT 95 display KEY_LOAD 77 display KEY_FILTERA 97 display WHE...

Страница 377: ...for one of these commands to complete These nonblocking functions do not immediately update the display For performance considerations they update the physical display as soon as processing time becomes available An out of range parameter for row sets the cursor to Row 2 An out of range parameter for column sets the cursor to Column 20 for Row 1 or 32 for Row 2 An out of range parameter for style ...

Страница 378: ...s they update the physical display as soon as processing time becomes available The text starts at the present cursor position After the text is displayed the cursor is after the last character in the display message Top line text does not wrap to the bottom line of the display automatically Any text that does not fit on the current line is truncated If the text is truncated the cursor is left at ...

Страница 379: ...ITS_5_5 Usage digits display smuX digits display smuX digits digits digits Set digits to one of the following values Select 4 1 2 digit resolution 4 or display DIGITS_4_5 Select 5 1 2 digit resolution 5 or display DIGITS_5_5 Select 6 1 2 digit resolution 6 or display DIGITS_6_5 X SMU channel smua Details This attribute sets the display resolution Example display smua digits display DIGITS_5_5 Sele...

Страница 380: ...y MEASURE_DCAMPS Selects the current measure function for SMU A Also see None display trigger clear This function clears the front panel trigger event detector Type TSP Link accessible Affected by Where saved Default value Function Yes Usage display trigger clear Details The trigger event detector remembers if an event has been detected since the last display trigger wait call This function clears...

Страница 381: ...run display trigger overrun overrun The trigger overrun state Details Indicates if a trigger event was ignored because the event detector was already in the detected state when the TRIG button was pressed Indicates the overrun state of the event detector built into the display This attribute does not indicate whether an overrun occurred in any other part of the trigger model or in any other detect...

Страница 382: ...isplay trigger clear call to clear the trigger event detector Example triggered display trigger wait 5 print triggered Waits up to five seconds for the TRIG key to be pressed If TRIG is pressed within 5 seconds the output is true If not the output is false Also see display trigger clear on page 7 72 display waitkey This function captures the key code value for the next front panel action Type TSP ...

Страница 383: ... display KEY_AUTO 94 display KEY_SPEEDA 75 display KEY_EXIT 95 display KEY_LOAD 77 display KEY_FILTERA 97 display WHEEL_ENTER 78 display KEY_STORE 103 display KEY_RIGHT 79 display KEY_SRCA 104 display KEY_LEFT 80 display KEY_CONFIG 107 display WHEEL_LEFT 81 display KEY_RANGEDOWN 114 display WHEEL_RIGHT NOTE When using this function use built in constants such as display KEY_RIGHT rather than the n...

Страница 384: ...7 76 errorqueue next on page 7 77 Reading errors on page 8 2 Status model on page E 1 errorqueue count This attribute gets the number of entries in the error queue Type TSP Link accessible Affected by Where saved Default value Attribute R Yes Power cycle Clearing error queue Reading error messages Not applicable Not applicable Usage count errorqueue count count The number of entries in the error q...

Страница 385: ... is Empty is returned Returned severity levels are described in the following table Severity level descriptions Number Level Description 0 Informational Indicates that there are no entries in the queue 10 Informational Indicates a status message or minor error 20 Recoverable Indicates possible invalid user input operation continues but action should be taken to correct the error 30 Serious Indicat...

Страница 386: ... all events in the event log Logged items are shown from oldest to newest The response is a string that has the messages delimited with a new line character This function also clears the event log If there are no entries in the event log this function returns the value nil Example print eventlog all Output 17 26 35 690 10 Oct 2007 LAN0 192 168 1 102 LXI 0 1192037132 1192037155 733269000 0 0x0 17 2...

Страница 387: ...unt This attribute gets the number of events contained in the event log Type TSP Link accessible Affected by Where saved Default value Attribute R Yes Instrument reset Clearing event log Reading event log Not applicable Not applicable Usage N eventlog count N The number of events in the event log Example print eventlog count Displays the present number of events contained the Model 2651A event log...

Страница 388: ...led eventlog DISABLE or 0 no new events are added to the event log You can however read and remove existing events When the event log is enabled new events are logged Example print eventlog enable eventlog enable eventlog DISABLE print eventlog enable Displays the present status of the Model 2651A event log Output 1 00000e00 0 00000e00 Also see eventlog all on page 7 78 eventlog clear on page 7 78...

Страница 389: ...81 eventlog overwritemethod This attribute controls how the event log processes events if the event log is full Type TSP Link accessible Affected by Where saved Default value Attribute RW Yes Instrument reset Not saved eventlog DISCARD_OLDEST Usage method eventlog overwritemethod eventlog overwritemethod method method Set to one of the following values 0 or eventlog DISCARD_NEWEST New entries are ...

Страница 390: ...ution when called from a script that is being executed This command does not wait for overlapped commands to complete before terminating script execution If overlapped commands are required to finish use the waitcomplete function before calling exit Also see waitcomplete on page 7 374 fileVar close This function closes the file that is represented by the fileVar variable Type TSP Link accessible A...

Страница 391: ...ar write or io write functions buffer data which may not be written immediately to the USB flash drive Use this function to flush this data Using this function removes the need to close a file after writing to it allowing it to be left open to write more data Data may be lost if the file is not closed or flushed before a script ends If there is going to be a time delay before more data is written ...

Страница 392: ...mmas Details The format parameters may be any of the following n Returns a number a Returns the whole file starting at the current position returns an empty string if the current file position is at the end of the file l Returns the next line skipping the end of line returns nil if the current file position is at the end of file n Returns a string with up to n characters returns an empty string if...

Страница 393: ...efault is 0 Details The whence parameters may be any of the following set Beginning of file cur Current position end End of file If an error is encountered it is logged to the error queue and the command returns nil and the error string Also see io open on page 7 100 Reading errors on page 8 2 fileVar write This function writes data to a file Type TSP Link accessible Affected by Where saved Defaul...

Страница 394: ...mbers printed with the print printbuffer and printnumber functions must be a number between 1 and 16 Details This attribute specifies the precision number of digits for numeric data printed with the print printbuffer and printnumber functions The format asciiprecision attribute is only used with the ASCII format The precision value must be a number between 1 and 16 Note that the precision is the n...

Страница 395: ...only used with the format SREAL format REAL format REAL32 and format REAL64 data formats format NORMAL format BIGENDIAN and format NETWORK select the same byte order format SWAPPED and format LITTLEENDIAN select the same byte order Selecting which to use is a matter of preference Select the format SWAPPED or format LITTLEENDIAN byte order when sending data to a computer with a Microsoft Windows op...

Страница 396: ...L64 select the same double precision format They are alternative identifiers Selecting which to use is a matter of preference The IEEE Std 754 binary formats use four bytes each for single precision values and eight bytes each for double precision values When data is written with any of the binary formats the response message starts with 0 and ends with a new line When data is written with the ASC...

Страница 397: ...does not exist Example testPath fs chdir usb1 Change the working directory to usb1 Also see None fs cwd This function returns the absolute path of the current working directory Type TSP Link accessible Affected by Where saved Default value Function Yes Usage path fs cwd path The absolute path of the current working directory Also see None fs is_dir This function tests whether or not the specified ...

Страница 398: ...se path The path of the file system entry to test this path may be absolute or relative to the current working directory Details An error is logged to the error queue if the given path does not exist Also see fs is_dir on page 7 89 fs mkdir This function creates a directory at the specified path Type TSP Link accessible Affected by Where saved Default value Function Yes Usage path fs mkdir newPath...

Страница 399: ...lative to the current working directory This command is nonrecursive For example entries in subfolders are not returned An error is logged to the error queue if the given path does not exist or does not represent a directory Also see None fs rmdir This function removes a directory from the file system Type TSP Link accessible Affected by Where saved Default value Function Yes Usage fs rmdir path p...

Страница 400: ...MThh mm ss Mmm w dw hh mm ss Mmm w dw hh mm ss Example timezone gettimezone Reads the value of the local timezone Also see settimezone on page 7 168 gm_isweep This KIParlib factory script on page 5 24 function performs a linear current sweep and calculates the transconductance Gm at each point Type TSP Link accessible Affected by Where saved Default value Function No Usage gm_array vbuf ibuf gm_is...

Страница 401: ... voltages and currents Also see gm_vsweep on page 7 93 gm_vsweep This KIParlib factory script on page 5 24 function performs a linear voltage sweep and calculates the transconductance Gm at each point Type TSP Link accessible Affected by Where saved Default value Function No Usage gm_array ibuf vbuf gm_vsweep smu start_v stop_v points gm_array A Lua table containing the calculated Gm values at eac...

Страница 402: ...w GPIB address takes affect when the command to change it is processed If there are response messages in the output queue when this command is processed they must be read at the new address If command messages are being queued sent before this command has executed the new settings may take effect in the middle of a subsequent command message so care should be exercised when setting this attribute ...

Страница 403: ...and measure range note the current limit is lower at this level and because high capacitance mode is active the measure range will follow measuredelay Delay to wait after lowering the current limit before taking the measurement Details This function is intended to be used when high capacitance mode is active When the instrument is in high capacitance mode this function causes the smu to Change its...

Страница 404: ...sured current drops below the threshold or the timeout expires Type TSP Link accessible Affected by Where saved Default value Function No Usage f i_leakage_threshold smu levelv limiti sourcedelay measurei measuredelay threshold timeout f A Boolean flag this flag will be true when the current is below the threshold false if threshold is not reached before timeout expires smu System SourceMeter inst...

Страница 405: ...nstrument s output is usually at a non zero voltage prior to calling this function when measuring leakage this function does not charge the capacitor If testing the device s leakage current threshold set levelv 0 Example smua source highc smua ENABLE smua source levelv 5 smua source output smua OUTPUT_ON delay 1 pass i_leakage_threshold smua 0 1 300e 3 10e 6 100e 3 1e 6 1 Enable high capacitance m...

Страница 406: ...re rangei 1 smua measure nplc 0 01 smua measure autozero smua AUTOZERO_ONCE smua nvbuffer1 clear smua nvbuffer1 appendmode 1 smua source output smua OUTPUT_ON f1 msg1 ConfigPulseVMeasureI smua 0 5 1 0 002 0 2 10 smua nvbuffer1 1 if f1 true then f2 msg2 InitiatePulseTest 1 print Initiate message msg2 else print Config errors msg1 end Configure System SourceMeter instrument channel A to generate a p...

Страница 407: ...ed Default value Function Yes Usage io flush Details You must use the io flush or io close functions to write data to the file system NOTE Data is not automatically written to a file when you use the io write function The io write function buffers data it may not be written to the USB drive immediately Use the io flush function to immediately write buffered data to the drive This function only flu...

Страница 408: ...e file descriptor of an open file to use as the default input file Details The newfile path may be absolute or relative to the current working directory When using this function from a remote TSP Link node this command does not accept a file descriptor and does not return a value If the function fails an error message will be returned Also see io open on page 7 100 io output on page 7 101 io open ...

Страница 409: ...essible Affected by Where saved Default value Function Yes see Details Usage fileVar io output fileVar io output newfile fileVar The descriptor of the output file or an error message if the function fails newfile A file descriptor to assign or the path of a file to open as the default output file Details The path of the file to open may be absolute or relative to the current working directory When...

Страница 410: ... number a Returns the whole file starting at the current position returns an empty string if it is at the end of file l Returns the next line skipping the end of line returns nil if the current file position is at the end of file N Returns a string with up to N characters returns an empty string if N is zero 0 returns nil if the current file position is at the end of file Any number of format para...

Страница 411: ...2 The data to be written dataN The data to be written One or more values separated by commas Details All data parameters must be either strings or numbers NOTE Data is not immediately written to a file when you use the io write function The io write function buffers data it may not be written to the USB drive immediately Use the io flush function to immediately write buffered data to the drive Als...

Страница 412: ... settings Also see None lan autoconnect This attribute is used to enable or disable link monitoring Type TSP Link accessible Affected by Where saved Default value Attribute RW Yes LAN restore defaults Nonvolatile memory lan ENABLE Usage state lan autoconnect lan autoconnect state state LAN link monitoring state 1 or lan ENABLE Enables automatic link reconnection and monitoring 0 or lan DISABLE Dis...

Страница 413: ... 0 0 0 or the empty string Although only two address may be manually specified here the instrument will use up to three DNS server addresses If two are specified here only one that is given by a DHCP server is used If no entries are specified here up to three addresses that are given by a DHCP server are used The IP address obtained from the DHCP server takes priority for all DNS lookups Example d...

Страница 414: ...trix Also see lan config dns dynamic on page 7 106 lan config dns hostname on page 7 107 lan config dns verify on page 7 107 lan restoredefaults on page 7 114 lan config dns dynamic Enables or disables the dynamic DNS registration Type TSP Link accessible Affected by Where saved Default value Attribute RW Yes LAN restore defaults Nonvolatile memory lan ENABLE Usage state lan config dns dynamic lan...

Страница 415: ...erial number where model number and serial number are replaced with the actual model number and serial number of the instrument for example k 707B 1234567 Note that hyphens separate the characters of hostName The length of the fully qualified host name combined length of the domain and host name with separator characters must be less than or equal to 255 characters Although up to 255 characters ca...

Страница 416: ...ex mode Type TSP Link accessible Affected by Where saved Default value Attribute RW Yes LAN restore defaults Nonvolatile memory lan FULL Usage duplex lan config duplex lan config duplex duplex duplex LAN duplex setting can be one of the following values 1 or lan FULL Selects full duplex operation 0 or lan HALF Selects half duplex operation Details This attribute does not indicate the actual settin...

Страница 417: ...xample print lan config gateway Outputs the default gateway address For example you might see the output 010 060 008 001 Also see lan status gateway on page 7 117 lan restoredefaults on page 7 114 lan config ipaddress This attribute specifies the LAN IP address Type TSP Link accessible Affected by Where saved Default value Attribute RW Yes LAN restore defaults Nonvolatile memory 192 168 0 2 Usage ...

Страница 418: ...ecified configuration settings Details This attribute controls how the LAN IP address subnet mask default gateway address and DNS server addresses are determined When method is lan AUTO the instrument first attempts to configure the LAN settings using dynamic host configuration protocol DHCP If DHCP fails it tries dynamic link local addressing DLLA If DLLA fails it uses the manually specified sett...

Страница 419: ...eed on page 7 121 lan config subnetmask This attribute contains the LAN subnet mask Type TSP Link accessible Affected by Where saved Default value Attribute RW Yes LAN restore defaults Nonvolatile memory 255 255 255 0 Usage mask lan config subnetmask lan config subnetmask mask mask LAN subnet mask value string specifying the subnet mask in dotted decimal notation Details This attribute specifies t...

Страница 420: ...nds Details You must enable the command lan autoconnect before you can use this attribute The timeout value represents the amount of time that passes before the instrument disconnects from the LAN due to the loss of the LAN link integrity The LAN interface does not disconnect if the connection to the LAN is reestablished before the timeout value expires If the LAN link integrity is not restored be...

Страница 421: ...number All inbound LXI packets will be ignored unless they have this domain number Example print lan lxidomain Displays the LXI domain Also see lan restoredefaults on page 7 114 lan nagle This attribute controls the state of the LAN Nagle algorithm Type TSP Link accessible Affected by Where saved Default value Attribute RW Yes Power cycle Not saved lan ENABLE Usage state lan nagle lan nagle state ...

Страница 422: ...y Where saved Default value Function Yes Usage lan reset Details This function resets the LAN interface It performs the commands lan restoredefaults and lan applysettings Also see lan applysettings on page 7 103 lan restoredefaults on page 7 114 lan restoredefaults This function resets LAN settings to default values Type TSP Link accessible Affected by Where saved Default value Function Yes Usage ...

Страница 423: ...an config speed 100 lan config subnetmask 255 255 255 0 lan linktimeout 20 seconds lan lxidomain 0 lan nagle lan ENABLE lan timedwait 20 seconds The lan restoredefaults function does not reset the LAN password The localnode password attribute controls the web password which can be reset separately This command is run when lan reset is sent Example lan restoredefaults Restores the LAN defaults Also...

Страница 424: ...nt lan status dns address 1 Outputs DNS server address 1 such as 164 109 48 173 Also see lan status dns name on page 7 116 lan status dns name This attribute contains the present DNS fully qualified host name Type TSP Link accessible Affected by Where saved Default value Attribute R Yes Not applicable Not applicable Not applicable Usage hostName lan status dns name hostName Fully qualified DNS hos...

Страница 425: ...ion 1 or lan FULL full duplex operation Details Example print lan status duplex Outputs the present LAN duplex mode such as 1 00000e 00 Also see None lan status gateway This attribute contains the LAN default gateway address Type TSP Link accessible Affected by Where saved Default value Attribute R Yes Not applicable Not applicable Not applicable Usage gatewayAddress lan status gateway gatewayAddr...

Страница 426: ...signed to the instrument Example print lan status ipaddress Outputs the LAN IP address currently in use such as 10 60 8 83 Also see lan config ipaddress on page 7 109 lan status macaddress This attribute contains the LAN MAC address Type TSP Link accessible Affected by Where saved Default value Attribute R Yes Not applicable Not applicable Not applicable Usage macAddress lan status macaddress macA...

Страница 427: ...reset all LAN connections open a connection to the DST port number Example print lan status port dst Outputs the LAN dead socket termination port number such as 5 03000e 03 Also see None lan status port rawsocket This attribute contains the LAN raw socket connection port number Type TSP Link accessible Affected by Where saved Default value Attribute R Yes Not applicable Not applicable Not applicab...

Страница 428: ...ed to connect to the instrument to control it over a Telnet interface Example print lan status port telnet Get the LAN Telnet connection port number Output 2 30000e 01 Also see None lan status port vxi11 This attribute contains the LAN VXI 11 connection port number Type TSP Link accessible Affected by Where saved Default value Attribute R Yes Not applicable Not applicable Not applicable Usage port...

Страница 429: ...sently in use such as 1 00000e 02 Also see None lan status subnetmask This attribute contains the LAN subnet mask that is presently in use by the LAN interface Type TSP Link accessible Affected by Where saved Default value Attribute R Yes Not applicable Not applicable Not applicable Usage mask lan status subnetmask mask A string specifying the subnet mask in dotted decimal notation Details Use thi...

Страница 430: ...in a timed wait state and resources remain allocated for the connection until the timed wait state ends During the timed wait interval the instrument processes delayed packets that arrive after the connection is closed Use this attribute to tailor the timed wait state interval for the instrument Also see lan restoredefaults on page 7 114 lan trigger N assert This function simulates the occurrence ...

Страница 431: ...for a trigger Type TSP Link accessible Affected by Where saved Default value Function Yes Usage lan trigger N clear N The LAN event number to clear 1 to 8 Details A trigger s event detector remembers if an event has been detected since the last call This function clears a trigger s event detector and discards the previous history of the trigger packet This function clears all overruns associated w...

Страница 432: ...rotocol or lan trigger N ipaddress attributes for this event are changed Example lan trigger 1 protocol lan MULTICAST lan trigger 1 connect lan trigger 1 assert Set the protocol for LAN trigger 1 to be multicast when sending LAN triggers Then after connecting the LAN trigger send a message on LAN trigger 1 by asserting it Also see lan trigger N assert on page 7 122 lan trigger N ipaddress on page ...

Страница 433: ...tes are changed or the remote connection closes the connection Example lan trigger 1 protocol lan MULTICAST print lan trigger 1 connected Outputs true if connected or false if not connected Example output false Also see lan trigger N connect on page 7 124 lan trigger N ipaddress on page 7 126 lan trigger N protocol on page 7 129 lan trigger N disconnect This function disconnects the LAN trigger Ty...

Страница 434: ...timulus lan trigger 1 EVENT_ID Route occurrences of triggers on LAN trigger 1 to digital I O trigger 14 Also see None lan trigger N ipaddress This attribute specifies the address in dotted decimal format of UDP or TCP listeners Type TSP Link accessible Affected by Where saved Default value Attribute RW Yes Instrument reset LAN trigger N reset Not saved 0 0 0 0 Usage ipAddress lan trigger N ipaddre...

Страница 435: ...ils section for more information N A number representing the LAN event number 1 to 8 Details This attribute controls the mode in which the trigger event detector and the output trigger generator operate on the given trigger These settings are intended to provide behavior similar to the digital I O triggers Lan trigger mode values mode Number Trigger packets detected as input LAN trigger packet gen...

Страница 436: ...Not applicable Not applicable Usage overrun lan trigger N overrun overrun The trigger overrun state for the specified LAN packet true or false N The LAN event number 1 to 8 Details This attribute indicates whether an event has been ignored because the event detector was already in the detected state when the event occurred This is an indication of the state of the event detector built into the syn...

Страница 437: ...protocol for sending outgoing messages After changing this setting lan trigger N connect must be called before outgoing event messages can be sent When the lan MULTICAST protocol is selected the lan trigger N ipaddress attribute is ignored and event messages are sent to the multicast address 224 0 23 159 Example print lan trigger 1 protocol Get LAN protocol to use for sending trigger messages for ...

Страница 438: ...igger N stimulus lan trigger N stimulus triggerStimulus triggerStimulus The LAN event identifier used to trigger the event N A number specifying the trigger packet over the LAN for which to set or query the trigger source 1 to 8 Details This attribute specifies which event causes a LAN trigger packet to be sent for this trigger Set triggerStimulus to one of the existing trigger event IDs shown in ...

Страница 439: ...mmand device_trigger Reference the VXI 11 standard for additional details on the device trigger operation trigger blender N EVENT_ID Occurs after a collection of events is detected trigger timer N EVENT_ID Occurs when a delay expires Use the name of the trigger event ID to set the stimulus value rather than the numeric value Using the name makes the code compatible for future upgrades for example ...

Страница 440: ... page 7 123 lan trigger N overrun on page 7 128 lan trigger N stimulus on page 7 130 localnode autolinefreq This attribute enables or disables automatic line frequency detection at start up Type TSP Link accessible Affected by Where saved Default value Attribute RW Yes Not applicable Nonvolatile memory true enabled Usage flag localnode autolinefreq localnode autolinefreq flag flag The auto line fr...

Страница 441: ... is the instrument s four digit model number and SSSSSSSS is the instrument s eight digit serial number You can change it to a value that makes sense for your system When using this command from a remote node localnode should be replaced with the node reference for example node 5 description Example description System in Lab 05 localnode description description Set description equal to System in L...

Страница 442: ... the instrument power is turned on by setting the localnode autolinefreq attribute to true Example 1 frequency localnode linefreq Reads line frequency setting Example 2 localnode linefreq 60 Sets the line frequency to 60 Hz Also see localnode autolinefreq on page 7 132 localnode model This attribute stores the model number Type TSP Link accessible Affected by Where saved Default value Attribute R ...

Страница 443: ...s command from a remote node localnode should be replaced with the node reference for example node 5 password Example localnode password N3wpa55w0rd Changes the remote interface password to N3wpa55w0rd Also see None localnode passwordmode This attribute stores the remote access password enable mode Type TSP Link accessible Affected by Where saved Default value Attribute RW Yes Not applicable Nonvo...

Страница 444: ... to command messages There are three prompts that might be generated TSP is the standard prompt This prompt indicates that everything is normal and the command is done processing TSP is issued if there are entries in the error queue when the prompt is issued Like the TSP prompt it indicates the command is done processing It does not mean the previous command generated an error only that there are ...

Страница 445: ...e If set to 1 limit the number of trg commands sent to a running script to 50 regardless of the setting of the localnode prompts attribute When set to 0 IEEE Std 488 2 common commands will not generate prompts When using the trg command with a script that executes trigger wait repeatedly set localnode prompts4882 to 0 to avoid problems associated with the command interface input queue filling This...

Страница 446: ... on page 7 209 localnode revision This attribute stores the firmware revision level Type TSP Link accessible Affected by Where saved Default value Attribute R Yes Not applicable Not applicable Not applicable Usage revision localnode revision revision Firmware revision level Details This attribute indicates the firmware revision number currently running in the instrument Example print localnode rev...

Страница 447: ...rated errors Type TSP Link accessible Affected by Where saved Default value Attribute RW Yes Power cycle Not saved 0 disabled Usage errorMode localnode showerrors localnode showerrors errorMode errorMode Enables 1 or disables 0 show errors state Details If this attribute is set to 1 the instrument automatically sends any generated errors stored in the error queue and then clears the queue Errors a...

Страница 448: ...faster than accessing the attribute directly Creating a getter function is only useful if it is going to be called several times Otherwise the overhead of creating the getter function outweighs the overhead of accessing the attribute directly Example getlevel makegetter smua source levelv v getlevel Creates a getter function called getlevel When getlevel is called it returns the value of smua sour...

Страница 449: ...er function called setlevel Using setlevel in the loop sets the value of smua source levelv performing a source sweep Also see makegetter on page 7 140 meminfo This function returns the current amount of available memory and the total amount of memory in the instrument Type TSP Link accessible Affected by Where saved Default value Function No Usage freeMem totalMem meminfo freeMem The amount of fr...

Страница 450: ... be called when the group number of the node is different than the node of the master This function will not wait for the script to finish execution This function cannot be used from the local node This command should only be used from a remote master when controlling this instrument over a TSP link Example 1 node 2 execute sourcecode Runs script code on node 2 Example 2 node 3 execute x 5 Runs sc...

Страница 451: ...lobal variable named test_val from node 5 Also see TSP advanced features on page 6 53 node N setglobal on page 7 143 node N setglobal This function sets the value of a global variable Type TSP Link accessible Affected by Where saved Default value Function Yes see Details Usage node N setglobal name value N The node number of this instrument name The global variable name to set value The value to a...

Страница 452: ...l set their own bits as they complete their own overlapped commands Also see waitcomplete on page 7 374 Status Model on page E 1 print This function generates a response message Type TSP Link accessible Affected by Where saved Default value Function No Usage print value1 print value1 value2 print value1 valueN value1 The first argument to output value2 The second argument to output valueN The last...

Страница 453: ...r2 printbuffer startIndex endIndex buffer1 bufferN startIndex Beginning index of the buffer to print endIndex Ending index of the buffer to print buffer1 First table or reading buffer subtable to print buffer2 Second table or reading buffer subtable to print bufferN The last table or reading buffer subtable to print One or more tables or reading buffer subtables separated with commas Details The c...

Страница 454: ...e runtime environment Example of output data rb1 readings 4 07205e 05 4 10966e 05 4 06867e 05 4 08865e 05 4 08220e 05 4 08988e 05 4 08250e 05 4 09741e 05 4 07174e 05 4 07881e 05 Also see format asciiprecision on page 7 86 format byteorder on page 7 87 format data on page 7 87 print on page 7 144 printnumber on page 7 146 printnumber This function prints numbers using the configured format Type TSP...

Страница 455: ... PulseIMeasureV smu bias level ton toff points smu System SourceMeter instrument channel set to smua bias Bias level in amperes level Pulse level in amperes ton Pulse on time in seconds toff Pulse off time in seconds points Number of pulse measure cycles Details Data for pulsed voltage measurements current levels and timestamps are stored in smuX nvbuffer1 If any parameters are omitted or nil the ...

Страница 456: ...ods After the measurement the output will return to 1 mA and dwell for 40 ms This pulse measure process will repeat nine more times Also see None PulseVMeasureI This KIPulse factory script on page 5 23 function performs a specified number of pulse V measure I cycles Type TSP Link accessible Affected by Where saved Default value Function No Usage PulseVMeasureI smu bias level ton toff points smu Sy...

Страница 457: ...onds 5 Repeats steps 2 through 4 for the remaining points pulse measure cycles Figure 105 PulseVMeasureI level bias ton bias toff toff Current measurement Example 1 smua measure nplc 0 001 PulseVMeasureI smua 1 1 1E 3 2E 3 20 SMU A will output 1 V and dwell for 2 ms output 1 V and dwell for 1 ms The current measurement occurs during the dwell period After the measurement the output will return to ...

Страница 458: ...unction that returns most elements in a string convenient for printing tag Identifying tag for this pulse train smu The SMU configured for pulsing func Pulse function smuX OUTPUT_DCAMPS or smuX OUTPUT_DCVOLTS bias Pulse bias level level Pulse level for non sweeping pulses start Starting level for sweep pulses stop Ending level for sweep pulses limit Limit value ton On time in seconds toff Off time...

Страница 459: ... level of 0 V to a pulse level of 5 V The pulse level will be present for 2 ms and the bias level for 200 ms with a 1 A limit setting A total of 10 pulses will be generated and the measurement data will be stored in smua nvbuffer1 This pulse train will be assigned to tag 1 Output tag 1 smu smua func volts type pulse bias 0 level 5 limit 1 time on 0 002 time off 0 2 points 10 measure yes sync_in 0 ...

Страница 460: ...set true is permitted only if the node is the master If the node is not the master node executing this command generates an error Example reset true If the node is the master node the entire system is reset if the node is not the master node an error is generated Also see localnode reset on page 7 137 savebuffer This KISavebuffer factory script on page 5 24 function saves reading buffers as either...

Страница 461: ...s a reference to the anonymous script Type TSP Link accessible Affected by Where saved Default value Attribute R No See Details See Details Not applicable Usage scriptVar script anonymous scriptVar The name of the variable that references the script Details You can use the script anonymous script like any other script Also you can save the anonymous script as a user script by giving it a name This...

Страница 462: ... Function No Usage script delete scriptName scriptName The string that represents the name of the script Example script delete test8 Deletes a user script named test8 from nonvolatile memory Also see Delete user scripts on page 6 11 Delete user scripts from the instrument on page 6 45 scriptVar save on page 7 162 script load This function creates a script from a specified file Type TSP Link access...

Страница 463: ...ipt If name is absent or nil the command attempts to extract the name of the script from the file Any conflict between the extracted name and that of an existing script in the scripts table generates an error If the script name cannot be extracted the created script s name attribute is initialized to the empty string and must be set to a valid nonempty string before saving the script to nonvolatil...

Страница 464: ...new display clear display settext Hello from myTest8 myTest8 myTest8 Creates a new script referenced by the variable myTest8 with the name myTest8 Runs the script The instrument displays Hello from myTest8 Example 2 Create new autoexec script autoexec script new display clear display settext Hello from autoexec autoexec Creates a new script that clears the display when the instrument is turned on ...

Страница 465: ... identical to the script new function except that the autorun attribute of the script is set to yes Also see Create a script using the script new command on page 6 40 Global variables and the script user scripts table on page 6 39 Named scripts on page 6 4 scriptVar save on page 7 162 script new on page 7 155 script restore This function restores a script that was removed from the runtime environm...

Страница 466: ... script user catalog This function returns an iterator that can be used in a for loop to iterate over all the scripts stored in nonvolatile memory Type TSP Link accessible Affected by Where saved Default value Function No Usage for name in script user catalog do body end name String representing the name of the script body Code that implements the body of the for loop to process the names in the c...

Страница 467: ...s script runs automatically no script does not run automatically Details Autorun scripts run automatically when the instrument is turned on You can set any number of scripts to autorun The run order for autorun scripts is arbitrary so make sure the run order is not important The default value for scriptVar autorun depends on how the script was loaded The default is no if the script was loaded with...

Страница 468: ...over the remote interface on page 6 4 Retrieve source code one line at a time on page 6 8 scriptVar name This attribute contains the name of a script in the runtime environment Type TSP Link accessible Affected by Where saved Default value Attribute RW No Not applicable Not applicable Not applicable Usage scriptVar name scriptName scriptName scriptVar name scriptVar Name of the variable that refer...

Страница 469: ...ot match Example Create a new script with no name and then rename it test7 script new display clear display settext Hello from my test test7 print test7 name test7 name test7 print test7 name test7 save Use script new to create a script with no name and then run the script Name the script test7 and then save the script in nonvolatile memory Also see script new on page 7 155 scriptVar save on page ...

Страница 470: ...atile memory or a USB flash drive You are not required to qualify the path to the USB flash drive but if you would like to add usb1 before the fileName see Example 2 You are not required to add the file extension but if you would like to the only allowed extension is tsp see Example 2 Example 1 test8 save Saves the script referenced by the variable test8 to nonvolatile memory Example 2 test8 save ...

Страница 471: ...though this attribute is writable it can only be set to the nil value Example print test1 source Gets source code for a script named test1 Also see scriptVar list on page 7 160 serial baud This attribute configures the baud rate for the RS 232 port Type TSP Link accessible Affected by Where saved Default value Attribute RW Yes Not applicable Nonvolatile memory 9600 Usage baud serial baud serial ba...

Страница 472: ...haracter width 7 or 8 Details A new data width setting takes effect when the command to change it is processed NOTE Allow ample time for the command to be processed before attempting to communicate with the instrument again If possible set the character width from one of the other command interfaces or from the front panel The reset function has no effect on data bits Example serial databits 8 Set...

Страница 473: ...rol from one of the other command interfaces or from the front panel The reset function has no effect on flow control Example serial flowcontrol serial FLOW_NONE Sets flow control to none Also see serial baud on page 7 163 serial databits on page 7 164 serial parity on page 7 165 serial parity This attribute configures parity for the RS 232 port Type TSP Link accessible Affected by Where saved Def...

Страница 474: ...ata read from the serial port Details This function will read available characters from the serial port It will not wait for new characters to arrive As long as maxchars is less than 200 characters all characters received by the serial port before the serial read command is executed are returned If too many characters are received between calls to this function the RS 232 buffers will overflow and...

Страница 475: ... characters are added to the data and data is written exactly as specified by the data parameter Example serial write 1 2 3 4 Write data string 1 2 3 4 to the serial port Also see serial read on page 7 166 settime This function sets the real time clock sets current time of the system Type TSP Link accessible Affected by Where saved Default value Function Yes Usage settime time time The time in sec...

Страница 476: ... which are mandatory the rest are optional If the other parameters are not used they default to noon for that day Set the time zone before calling the os time function Example systemTime os time year 2010 month 3 day 31 hour 14 min 25 settime systemTime Sets the date and time to Mar 31 2010 at 2 25 pm Also see gettimezone on page 7 92 settimezone on page 7 168 settimezone This function sets the lo...

Страница 477: ...are strings of the form MM w dw hh mm ss that indicate when daylight savings time begins and ends respectively MM is a number between 1 and 12 that represents the month w is a number between 1 and 5 that represents the week within the month dw is a number between 0 and 6 that represents the day of the week where 0 is Sunday The rest of the fields represent the time of day that the change takes eff...

Страница 478: ...etup on a USB flash drive path filename Details When the id parameter is an integer n it is interpreted as the setup number to restore from the instrument s nonvolatile memory When n 0 the unit recalls the factory default setup when n 1 to 5 the instrument recalls a user saved setup from nonvolatile memory When the id parameter is a string it is interpreted as the path and file name of the setup t...

Страница 479: ...in nonvolatile memory the previous setup at that same location is overwritten When the id parameter is a string it is interpreted as the path and file name of the location to save the present setup on a USB flash drive The path may be absolute or relative to the current working directory Example setup save 5 Saves the present setup at location 5 Also see User setup on page 2 39 smuX abort This fun...

Страница 480: ...ing buffer When the reading buffer is configured to wrap around and overwrite older data with new data the buffer statistics will include the data that was overwritten The table returned from this function is a snapshot Although the SMU continues to update the statistics the table returned will not be updated To get fresh statistics call this function again The statistics parameter has the followi...

Страница 481: ...mestamp in seconds between when the reading was acquired and when the first reading in the buffer was acquired adding this value to the base timestamp will give the actual time the measurement was acquired Also see smuX buffer recalculatestats on page 7 173 smuX buffer recalculatestats This function recalculates the specified reading buffer s statistics Type TSP Link accessible Affected by Where s...

Страница 482: ...annot change the adjust date without first making a change to the calibration constants Once you change any calibration constants you must set the adjustment date before being allowed to save the calibration data to the SMU s nonvolatile memory This attribute is stored with the active calibration set If a different calibration set is restored this attribute will reflect the date stored with that s...

Страница 483: ... unlock function This attribute is stored with the active calibration set If a different calibration set is restored this attribute will reflect the date stored with that set smuX cal date must be set to the date the calibration was done using the UTC time and date The date is stored as the number of seconds since UTC 12 00 am Jan 1 1970 Due to the internal storage format smuX cal date is accurate...

Страница 484: ...nds since UTC 12 00 am Jan 1 1970 Due to the internal storage format smuX cal due is only accurate to within a few minutes of the value set Example smua cal due os time 365 24 60 60 Sets the SMU channel A calibration due date equal to one year from the current time set on the instrument Also see smuX cal adjustdate on page 7 174 smuX cal date on page 7 175 smuX cal lock on page 7 177 smuX cal rest...

Страница 485: ...bration settings The calibration constants must be written to nonvolatile memory or a previous calibration set must be restored prior to locking calibration Error number 5012 will result if this function is called when the calibration state is smuX CALSTATE_CALIBRATING Example smua cal lock Disables calibration functions for SMU Channel A Also see smuX cal restore on page 7 179 smuX cal save on pa...

Страница 486: ...r example smua cal polarity applies to SMU channel A Details This attribute controls which polarity calibration constants are used to make all subsequent measurements This attribute does not affect the smuX measure calibrateY or smuX source calibrateY commands The polarity for those commands are dictated by the range parameter given to the command The measurement calibration commands require the m...

Страница 487: ...t calset to one of the following values 0 or smuX CALSET_NOMINAL A set of calibration constants that are uncalibrated but set to nominal values to allow rudimentary functioning of the instrument 1 or smuX CALSET_FACTORY The calibration constants when the instrument left the factory 2 or smuX CALSET_DEFAULT The normal calibration set 3 or smuX CALSET_PREVIOUS The calibration set that was used befor...

Страница 488: ..._PREVIOUS prior to overwriting the default calibration set This function will be disabled until a successful call to smuX cal unlock is made If any of the calibration constants have been changed this function will be disabled unless the calibration date the calibration due date and the calibration adjust date have been assigned new values Example smua cal save Stores calibration constants for SMU ...

Страница 489: ... read only attribute indicates the calibration state of the instrument locked unlocked or calibrating Example calstate smua cal state print calstate Reads calibration state for SMU Channel A Output 0 000000e 00 The above output indicates that calibration is locked Also see smuX cal lock on page 7 177 smuX cal restore on page 7 179 smuX cal save on page 7 180 smuX cal unlock on page 7 181 Adjustmen...

Страница 490: ...ement for calibration point 1 as measured externally cp2Measured The value measured by this SMU for calibration point 2 cp2Reference The reference measurement for calibration point 2 as measured externally Details Contact check measurement calibration does not require range information Typically calibration points one and two will be near 0 Ω and 50 Ω respectively All four measurements cp1Measured...

Страница 491: ...s contact check LO calibration command Send contact check HI calibration command Also see smuX cal restore on page 7 179 smuX cal save on page 7 180 smuX cal unlock on page 7 181 smuX contact calibratelo on page 7 183 Adjustment on page B 16 smuX contact calibratelo This function calibrates the low sense low contact check measurement Type TSP Link accessible Affected by Where saved Default value F...

Страница 492: ...d and cp2Reference must be made with the active calibration set If not corruption of the calibration constants may result The new calibration constants will be activated immediately but are not written to nonvolatile storage Use smuX cal save to save the new constants to nonvolatile storage The active calibration constants will stay in effect until the instrument is power cycled or a calibration s...

Страница 493: ...sistor between sense HI and output HI Allow readings to settle then get measurements r50_hi r50_lo smua contact r smua contact calibratelo r0_lo Z_actual_lo r50_lo 50_ohm_actual_lo smua contact calibratehi r0_hi Z_actual_hi r50_hi 50_ohm_actual_hi Performs contact check on SMU channel A Install and measure two resisters Sends contact check LO calibration command Send contact check HI calibration c...

Страница 494: ...nerate errors When output is on and any of the following SMU is a current source with current range set to less than 1 mA error number 5065 SMU is a voltage source with current limit set to less than 1 mA error number 5050 When output is off and any of the following The output off mode is High Z error number 5048 The output off mode is Normal with the smuX source offfunc attribute set to smuX OUTP...

Страница 495: ... 1 mA error number 5065 SMU is a voltage source with current limit set to less than 1 mA error number 5050 When output is off and any of the following The output off mode is High Z error number 5048 The output off mode is Normal with the smuX source offfunc attribute set to smuX OUTPUT_DCVOLTS and the off current limit set to less than 1 mA error number 5066 The output off mode is Normal with the ...

Страница 496: ...wing 0 or smuX CONTACT_FAST 1 or smuX CONTACT_MEDIUM 2 or smuX CONTACT_SLOW X SMU channel for example smua contact speed applies to SMU Channel A Details This setting controls the aperture of measurements made for contact check It does not affect the smuX measure nplc aperture setting The speed setting can have a dramatic effect on the accuracy of the measurement see specifications Example smua co...

Страница 497: ... example smua contact threshold applies to SMU Channel A Details The threshold should be set to less than 1 kΩ Example smua contact threshold 5 Set the contact check threshold for SMU Channel A to 5 Ω Also see reset on page 7 151 smuX contact check on page 7 186 smuX reset on page 7 209 Contact check connections on page 2 45 Contact check measurements on page 2 37 smuX makebuffer This function cre...

Страница 498: ... Working with reading buffers in the remote state see Remote reading buffer programming on page 3 10 smuX measure adc This attribute contains the analog to digital converter selection Type TSP Link accessible Affected by Where saved Default value Attribute RW Yes Instrument reset SMU reset Recall Saved setups smuX ADC_INTEGRATE Usage adc smuX measure adc smuX measure adc adc adc The analog to digi...

Страница 499: ...nnel A Y SMU measure function v voltage i current Details This attribute indicates the measurement autorange state Its value will be smuX AUTORANGE_OFF when the SMU measure circuit is on a fixed range and smuX AUTORANGE_ON when it is in autorange mode Setting this attribute to smuX AUTORANGE_OFF puts the SMU on a fixed range The fixed range will be the present SMU measure range Setting this attrib...

Страница 500: ...he instrument will automatically take two more A D conversions one for the reference and one for the zero before returning the result Thus occasionally a measurement takes longer than normal This additional time can cause problems in sweeps and other test sequences in which measurement timing is critical To avoid the extra time for the reference measurements in these situations the smuX measure au...

Страница 501: ...r the given range The positive and negative polarities of the instrument must be calibrated separately Use a positive value for range to calibrate the positive polarity and a negative value for range to calibrate the negative polarity Typically the two calibration points used will be near zero for calibration point 1 and 90 of full scale for calibration point 2 All four measurements cp1Measured cp...

Страница 502: ... of measurements X SMU channel for example smua measure count applies to SMU Channel A Details This attribute controls the number of measurements taken any time a measurement is requested When using a reading buffer with a measure command this attribute also controls the number of readings to be stored If smuX measure count is set to a value greater than 1 any measurement delay set by smuX measure...

Страница 503: ...l A Details This attribute allows for additional delay settling time before taking a measurement You can set mDelay to smuX DELAY_OFF smuX DELAY_AUTO or to a user defined value in seconds A user defined value will set the delay used regardless of range The smuX DELAY_AUTO setting also causes a current range dependent delay to be inserted when a current measurement is requested This happens when a ...

Страница 504: ...5 to decrease the automatic delay This attribute can be set to a value greater than 1 for example 1 5 or 2 0 to increase the automatic delay Setting this attribute to zero disables delays when smuX measure delay smuX DELAY_AUTO Example smua measure delayfactor 2 0 Doubles the measure delay for SMU channel A Also see Measure auto delay on page 2 66 reset on page 7 151 smuX measure delay on page 7 1...

Страница 505: ...fected by Where saved Default value Attribute RW Yes Instrument reset SMU reset Recall Saved setups smuX FILTER_OFF Usage filterState smuX measure filter enable smuX measure filter enable filterState filterState The filter status Set to one of the following values 0 or smuX FILTER_OFF Disables the filter 1 or smuX FILTER_ON Enables the filter X SMU channel for example smua measure filter enable ap...

Страница 506: ...For the repeating filter which is the power on default the stack filter count is filled and the conversions are averaged to yield a reading The stack is then cleared and the process starts over The moving average filter uses a first in first out stack When the stack filter count becomes full the measurement conversions are averaged yielding a reading For each subsequent conversion placed into the ...

Страница 507: ...easure highcrangedelayfactor applies to SMU Channel A Details This delay multiplier is only active when High C mode is active Example smua measure highcrangedelayfactor 5 Increases the delay for SMU channel A by a factor if 5 Also see reset on page 7 151 setup recall on page 7 170 smuX reset on page 7 209 smuX source highc on page 7 215 High capacitance mode on page 3 65 smuX measure interval This...

Страница 508: ...tup recall on page 7 170 smuX reset on page 7 209 smuX measure lowrangeY This attribute sets the lowest measure range that will be used during autoranging Type TSP Link accessible Affected by Where saved Default value Attribute RW Yes Instrument reset SMU reset Recall Saved setups Current 100e 9 100 nA Voltage 100e 3 100 mV Usage lowRange smuX measure lowrangeY smuX measure lowrangeY lowRange lowR...

Страница 509: ...l for example smua measure nplc applies to SMU Channel A Details When making measurements the SMU uses one of two types of analog to digital converters This attribute controls the integration aperture for the integrating ADC This attribute is not used when the fast ADC is selected The integration aperture is based on the number of power line cycles NPLC where 1 PLC for 60 Hz is 16 67 ms 1 60 and 1...

Страница 510: ...lts i amperes r ohms p watts The smuX measure overlappediv function stores current readings in ibuffer and voltage readings in vbuffer This function is an overlapped command Script execution will continue while the measurement s is made in the background Attempts to access result values that have not yet been generated will cause the script to block and wait for the data to become available The wa...

Страница 511: ...e However the setting for the measure range is retained If the source function is changed for example from sourcing voltage to sourcing current the retained measurement range will be used Model 2651A example Assume the source function is voltage The source range is 1 V and you set the measure range for 10 V Since the source range is 1 V the SMU will perform voltage measurements on the 1 V range If...

Страница 512: ...ative measurements X SMU channel for example smua measure rel enablev applies to SMU Channel A Y SMU measurement function v voltage i current r resistance p power Details This attribute enables or disables relative measurements When relative measurements are enabled all subsequent measured readings will be offset by the relative offset value specified by smuX measure rel levelY Specifically each r...

Страница 513: ...p power Details This attribute specifies the offset value used for relative measurements When relative measurements are enabled see smuX measure rel enableY all subsequent measured readings will be offset by the value of this attribute Specifically each returned measured relative reading will be the result of the following calculation Relative reading Actual measured reading Relative offset value ...

Страница 514: ...ement or to return multiple readings specify a reading buffer If the instrument is configured to return multiple readings for a measurement and readingBuffer is specified all readings will be available in readingBuffer but only the last measurement will be returned as reading Measurements are in the following units of measure v volts i amperes r ohms p watts The smuX measure iv function returns th...

Страница 515: ...nt i and one for voltage v Measurements are in the following units of measure v volts i amperes r ohms p watts The specified source value should be appropriate for the selected source function For example if the source voltage function is selected then sourceValue is expected to be a new voltage level Both source and measure autorange must be disabled before using this function This function canno...

Страница 516: ...ted reading buffers smuX nvbuffer1 and smuX nvbuffer2 All routines that return measurements can also store them in either reading buffer Overlapped measurements are always stored in a reading buffer Synchronous measurements return either a single point measurement or can be stored in a reading buffer if passed to the measurement command The dedicated reading buffers can be saved to internal nonvol...

Страница 517: ...urns off the output and resets SMU channel A to its default settings Also see reset on page 7 151 smuX savebuffer This function saves one source measure unit SMU dedicated reading buffer to internal memory there are two dedicated reading buffers per SMU Type TSP Link accessible Affected by Where saved Default value Function Yes Usage smuX savebuffer smuX nvbufferY X SMU channel for example smua sa...

Страница 518: ...E Selects remote sense 4 wire 3 or smuX SENSE_CALA Selects calibration sense mode X SMU channel for example smua sense applies to SMU Channel A Details Source measure operations are performed using either 2 wire local sense connections or 4 wire remote sense connections Writing to this attribute selects the sense mode The smuX SENSE_CALA mode is only used for calibration and may only be selected w...

Страница 519: ...SMU source circuit is on a fixed range and smuX AUTORANGE_ON when it is in autorange mode Setting this attribute to smuX AUTORANGE_OFF puts the SMU on a fixed source range The fixed range used will be the present SMU source circuit range Setting this attribute to smuX AUTORANGE_ON puts the SMU source circuit into autorange mode If the source output is on the SMU will immediately change range to th...

Страница 520: ...tion points used will be near zero for calibration point 1 and 90 of full scale for calibration point 2 Full scale for calibration point 2 should be avoided if the SMU s source is substantially out of calibration The two reference measurements must be made with the source using the active calibration set For example source a value measure it and do not change the active calibration set before issu...

Страница 521: ...of the source source in compliance false indicates that the source function is in control of the output source not in compliance Writing to this attribute will generate an error Reading this attribute also updates the status model and the front panel with generated compliance information Example compliance smua source compliance print compliance Reads the source compliance state for SMU channel A ...

Страница 522: ...t delay to be inserted when the source is changed Range dependent delays are based on the output settling time values in the instrument s specifications Example smua source delay smua DELAY_AUTO Sets the delay for SMU Channel A to automatic a range dependent delay is inserted when ever the source is changed Also see reset on page 7 151 smuX measure count on page 7 194 smuX measure delay on page 7 ...

Страница 523: ...s smuX DISABLE Usage highC smuX source highc smuX source highc highC highC The state of the high capacitance mode Set to one of the following values 0 or smuX DISABLE Disables high capacitance mode 1 or smuX ENABLE Enables high capacitance mode X SMU channel for example smua source highc applies to SMU Channel A Details Turning on High C mode has the following effects on the SMU settings smuX meas...

Страница 524: ...ff or the source is configured as a current source the voltage level will be sourced when the source is configured as a voltage source and the output is turned on If the source is configured as a current source and the output is on the new smuX source leveli setting will be sourced immediately If the output is off or the source is configured as a voltage source the current level will be sourced wh...

Страница 525: ...source The SMU will always choose autorange the source range for the limit setting Use the smuX source limitp attribute to limit the output power of the source This attribute should be set in the test sequence before the turning the source on Using a limit value of 0 will result in a Parameter Too Small error message error 1102 for v and i Setting this attribute to zero disables power compliance f...

Страница 526: ...is used with source autoranging to put a lower bound on the range used Lower ranges generally require greater settling times By setting a low range value sourcing small values might be able to be made with less settling time If the instrument is set to autorange and it is on a range lower than the one specified by sourceRangeLow the source range will be changed to the range specified by sourceRang...

Страница 527: ...fmode attribute is set to smuX OUTPUT_NORMAL Example smua source offfunc smua OUTPUT_DCVOLTS Sets the normal output off mode to source 0 V when the output is turned off for SMU channel A Also see Output off modes see Output off states on page 2 59 smuX source offlimitY on page 7 219 smuX source offmode on page 7 220 smuX source output on page 7 221 smuX source offlimitY This attribute sets the lim...

Страница 528: ...t value Attribute RW Yes SMU reset Instrument reset Recall Saved setups smuX OUTPUT_NORMAL Usage sourceOffMode smuX source offmode smuX source offmode sourceOffMode sourceOffMode The output off setting set to one of the following values 0 or smuX OUTPUT_NORMAL Configures the source function according to smuX source offfunc attribute 1 or smuX OUTPUT_ZERO Configures source to output 0 V as smuX OUT...

Страница 529: ...mit will be set to the current source level or 10 percent of the current source range whichever is greater When offmode is set to smuX OUTPUT_HIGH_Z the SMU will open the output relay when the output is turned off Example smua source offmode smua OUTPUT_HIGH_Z Sets the output off operation for SMU channel A to open the output relay when the output is turned off Also see Output off modes see Output...

Страница 530: ... RW Yes SMU reset Instrument reset Recall Saved setups smuX OE_NONE Usage outputAction smuX source outputenableaction smuX source outputenableaction outputAction outputAction The source s output enable action Set to one of the following values 0 or smuX OE_NONE No action 1 or smuX OE_OUTPUT_OFF Turns the source output off X SMU channel for example smua source outputenableaction applies to SMU Chan...

Страница 531: ...tribute contains a value that sets the source measure unit SMU to a fixed range large enough to source the value When read the attribute contains the range the instrument is presently on when in autorange Assigning a value to this attribute sets the SMU to a fixed range large enough to source the assigned value The instrument will select the best range for sourcing a value of rangeValue Reading th...

Страница 532: ... a faster procedure when changing ranges 2 or smuX SETTLE_FAST_POLARITY Instructs the SMU to change polarity without going to zero 3 or smuX SETTLE_DIRECT_IRANGE Instructs the SMU to change the current range directly 4 or smuX SETTLE_SMOOTH_100NA Enables the use of range rampers for the 100 nA range 128 or smuX SETTLE_FAST_ALL Enables all smuX SETTLE_FAST_ operations X SMU channel for example smua...

Страница 533: ...smuX source sink sinkMode sinkMode Set to the source settling mode Set to one of the following values 0 or smuX ENABLE Turns on sink mode 1 or smuX DISABLE Turns off sink mode X SMU channel for example smua source sink applies to SMU Channel A Details This attribute enables or disables sink mode When enabled sink mode reduces the source limit inaccuracy seen when operating in quadrants II and IV q...

Страница 534: ...el indefinitely until aborted Example smua trigger arm count 5 Sets the SMU Channel A to iterate through the arm layer of the trigger model five times and then return to the idle state Also see smuX trigger count on page 7 230 smuX trigger arm set This function sets the arm event detector to the detected state Type TSP Link accessible Affected by Where saved Default value Function Yes Usage smuX t...

Страница 535: ... event detector the SMU continues uninterrupted through the remote trigger model Set eventID to one of the existing trigger event IDs shown in the following table Trigger event IDs Event ID Event description smuX trigger SWEEPING_EVENT_ID Occurs when the SMU transitions from the idle state to the arm layer of the trigger model smuX trigger ARMED_EVENT_ID Occurs when the SMU moves from the arm laye...

Страница 536: ...s the code compatible for future upgrades for example if the numeric values must change when enhancements are added to the instrument Example smua trigger arm stimulus trigger timer 1 EVENT_ID trigger timer 1 EVENT_ID causes the arm event detector to enter the detected state Also see Triggering on page 3 32 smuX trigger ARMED_EVENT_ID This constant contains the armed event number Type TSP Link acc...

Страница 537: ... 0 or smuX DISABLE Turns off automatic clearing of the event detectors 1 or smuX ENABLE Turns on automatic clearing of the event detectors X SMU channel for example smua trigger autoclear applies to SMU Channel A Details This attribute is used to enable or disable automatic clearing of the trigger model state machine event detectors when the SMU transitions from the arm layer to the trigger layer ...

Страница 538: ...rn to the arm layer If this count is set to zero 0 the SMU will stay in the trigger model indefinitely until aborted Also see Triggering on page 3 32 smuX trigger endpulse action This attribute enables or disables pulse mode sweeps Type TSP Link accessible Affected by Where saved Default value Attribute RW Yes SMU reset Instrument reset Not saved smuX SOURCE_HOLD Usage pulseAction smuX trigger end...

Страница 539: ...se set applies to SMU channel A Details This function sets the end pulse event detector to the detected state The SMU will automatically clear all the event detectors when the smuX trigger initiate function is executed This function should be called after the sweep is initiated Make sure that if the event detectors are configured to automatically clear because the smuX trigger autoclear attribute ...

Страница 540: ...ETE_EVENT_ID Occurs when the SMU completes a sweep smuX trigger IDLE_EVENT_ID Occurs when the SMU returns to the idle state digio trigger N EVENT_ID Occurs when an edge is detected on a digital I O line tsplink trigger N EVENT_ID Occurs when an edge is detected on a TSP Link line lan trigger N EVENT_ID Occurs when the appropriate LXI trigger packet is received on LAN trigger object N display trigg...

Страница 541: ...the end of the sweep 1 or smuX SOURCE_HOLD Set to have the source stay at the level of the last step X SMU channel for example smua trigger endsweep action applies to SMU channel A Details Use this attribute to configure the source action at the end of the sweep The SMU can be programmed to return to the idle source level or hold the last value of the sweep Example smua trigger endsweep action smu...

Страница 542: ...MU to clear the four trigger model event detectors and enter its trigger model state machine moves the SMU from the idle state into the arm layer To perform source actions during the sweep it is necessary to configure and enable one of the sweep source actions smuX trigger source linearY smuX trigger source listY or smuX trigger source logY and measure actions smuX trigger measure Y prior to calli...

Страница 543: ...32 smuX trigger measure action This attribute controls measurement actions during a sweep Type TSP Link accessible Affected by Where saved Default value Attribute RW Yes SMU reset Instrument reset Not saved smuX DISABLE Usage action smuX trigger measure action smuX trigger measure action action action The sweep measure action set to one of the following values 0 or smuX DISABLE Do not make measure...

Страница 544: ...ion sets the measure event detector to the detected state Type TSP Link accessible Affected by Where saved Default value Function Yes Usage smuX trigger measure set X Source measure unit SMU channel for example smua trigger measure set applies to SMU channel A Details This function is useful whenever you want the SMU to continue operation without waiting for a programmed trigger event When called ...

Страница 545: ...ss waiting for an event the SMU continues uninterrupted through the remote trigger model Set eventID to one of the existing trigger event IDs shown in the following table Trigger event IDs Event ID Event description smuX trigger SWEEPING_EVENT_ID Occurs when the SMU transitions from the idle state to the arm layer of the trigger model smuX trigger ARMED_EVENT_ID Occurs when the SMU moves from the ...

Страница 546: ...the code compatible for future upgrades for example if the numeric values must change when enhancements are added to the instrument Example smua trigger measure stimulus trigger timer 1 EVENT_ID Sets delay before measurement begins on SMU channel A Also see Triggering on page 3 32 smuX trigger measure Y This function configures the measurements to be made in a subsequent sweep Type TSP Link access...

Страница 547: ... with this function remember to enable the measure action by setting smuX trigger measure action smuX ENABLE Example smua trigger measure v vbuffername smua trigger measure action smua ENABLE Stores voltage readings during the sweep for SMU channel A in buffer vbuffername Also see smuX measure Y on page 7 205 smuX nvbufferY on page 7 208 smuX trigger measure action on page 7 235 waitcomplete on pa...

Страница 548: ...ype TSP Link accessible Affected by Where saved Default value Constant Yes Usage eventID smuX trigger PULSE_COMPLETE_EVENT_ID eventID The pulse complete event number X SMU channel for example smua trigger PULSE_COMPLETE_EVENT_ID applies to SMU channel A Details Set the stimulus of any trigger event detector to the value of this constant to have it respond to pulse complete events from this SMU Als...

Страница 549: ...he source 1 or smuX ENABLE Sweep the source X SMU channel for example smua trigger source action applies to SMU channel A Details This attribute is used to enable or disable source level changes during a sweep In addition to enabling the action before initiating the sweep make sure to configure it using smuX trigger source linearY smuX trigger source listY or smuX trigger source logY Example smua ...

Страница 550: ...ted in accordance with the desired limit value During sweeping however the limit range is fixed in order to avoid the delays associated with changing range This fixed limit range is determined by the maximum limit value needed during the sweep that is the greater of either the normal limit value as specified by smuX source limitY or the sweep limit value as specified by smuX trigger source limitY ...

Страница 551: ...at if the trigger count is greater than the number of points in a sweep as configured the SMU will satisfy the trigger count by restarting the sweep values from the beginning If the subsequent sweep has fewer points than specified in points endValue will not be reached during the sweep This means that if the trigger count is less than the number of source values configured the SMU will satisfy the...

Страница 552: ...estart at the beginning This means that if the trigger count is greater than the number of points in a sweep as configured the SMU will satisfy the trigger count by restarting the sweep values from the beginning If the subsequent sweep has fewer points than specified in sweepList the extra values will be ignored This means that if the trigger count is less than the number of source values configur...

Страница 553: ... does not set the number of steps in a sweep but rather is used to calculate source values within a subsequent sweep If the subsequent sweep has more points than specified in points the source will restart at the beginning This means that if the trigger count is greater than the number of points in a sweep as configured the SMU will satisfy the trigger count by restarting the sweep values from the...

Страница 554: ...muX trigger source set This function sets the source event detector to the detected state Type TSP Link accessible Affected by Where saved Default value Function Yes Usage smuX trigger source set X Source measure unit SMU channel for example smua trigger source set applies to SMU channel A Details This function sets the source event detector to the detected state The SMU will automatically clear a...

Страница 555: ...ntID to one of the existing trigger event IDs shown in the following table Trigger event IDs Event ID Event description smuX trigger SWEEPING_EVENT_ID Occurs when the SMU transitions from the idle state to the arm layer of the trigger model smuX trigger ARMED_EVENT_ID Occurs when the SMU moves from the arm layer to the trigger layer of the trigger model smuX trigger SOURCE_COMPLETE_EVENT_ID Occurs...

Страница 556: ... makes the code compatible for future upgrades for example if the numeric values must change when enhancements are added to the instrument Example smua trigger source stimulus digio trigger 2 EVENT_ID Configure SMU channel A to start its source action when a trigger event occurs on digital I O line 2 Also see Triggering on page 3 32 smuX trigger SOURCE_COMPLETE_EVENT_ID This constant contains the ...

Страница 557: ...channel A Details Set the stimulus of any trigger event detector to the value of this constant to have it respond to sweep complete events from this SMU Also see Triggering on page 3 32 smuX trigger SWEEPING_EVENT_ID This constant contains the sweeping event number Type TSP Link accessible Affected by Where saved Default value Constant Yes Usage eventID smuX trigger SWEEPING_EVENT_ID eventID The s...

Страница 558: ...used to read the status byte which is returned as a numeric value The binary equivalent of the value of this attribute indicates which register bits are set In the binary equivalent the least significant bit is bit B0 and the most significant bit is bit B7 For example if a value of 1 29000e 02 which is 129 is read as the value of this register the binary equivalent is 1000 0001 This value indicate...

Страница 559: ...w it is used Bit B6 of the status byte register is either the Request for Service RQS bit or the Master Summary Status MSS bit When using the GPIB or VXI 11 serial poll sequence of the 2651A to obtain the status byte serial poll byte B6 is the RQS bit Set bit indicates that the Request Service RQS bit of the status byte serial poll byte is set and a serial poll SRQ has occurred When using the stat...

Страница 560: ...ster status measurement ptr measurementRegister measurementRegister The measurement event register s status A zero 0 indicates no bits set also send 0 to clear all bits other values indicate various bit settings Details These attributes are used to read or write to the measurement event registers Reading a status register returns a value The binary equivalent of the returned value indicates which ...

Страница 561: ...1 decimal value 2048 B12 Not used Not applicable B13 status measurement INSTRUMENT_SUMMARY status measurement INST Set bit indicates that a bit in the measurement instrument summary register is set Bit B13 decimal value 8192 B14 B15 Not used Not applicable As an example to set bit B8 of the measurement event enable register set status measurement enable status measurement BAV In addition to the ab...

Страница 562: ...ptr status measurement buffer_available enable measurementRegister status measurement buffer_available ntr measurementRegister status measurement buffer_available ptr measurementRegister measurementRegister The measurement event register s status A zero 0 indicates no bits set also send 0 to clear all bits the only valid value other than 0 is 2 Details These attributes are used to read or write to...

Страница 563: ...surement Event Registers on page E 23 status measurement current_limit This attribute contains the measurement event current limit summary registers Type TSP Link accessible Affected by Where saved Default value Attribute condition R Yes Not applicable Not saved Not applicable enable RW Yes Status reset Not saved 0 event R Yes Status reset Not saved 0 ntr RW Yes Status reset Not saved 0 ptr RW Yes...

Страница 564: ... current_limit SMUA In addition to the above constant measurementRegister can be set to the decimal equivalent of the bit to set Example status measurement current_limit enable status measurement current_limit SMUA Sets the SMUA bit of the measurement event current limit summary enable register Also see Measurement Event Registers on page E 23 status measurement instrument smuX on page 7 257 statu...

Страница 565: ...the following meanings Bit Value Description B0 Not used Not applicable B1 status measurement instrument SMUA Set bit indicates one or more enabled bits of the measurement event SMU A summary register is set Bit B1 decimal value 2 Binary value 0000 0010 B2 B15 Not used Not applicable As an example to set bit B1 of the measurement event instrument summary enable register set status measurement inst...

Страница 566: ...ndicate various bit settings X Source measure unit SMU channel for example status measurement instrument smua enable applies to SMU channel A Details These attributes are used to read or write to the measurement event SMU X summary registers Reading a status register returns a value The binary equivalent of the returned value indicates which register bits are set The least significant bit of the b...

Страница 567: ...5 Not used Not applicable This bit will be updated only when a measurement is taken or smuX source compliance is invoked As an example to set bit B0 of the measurement event SMU X summary enable register set status measurement instrument smua enable status measurement instrument smua VLMT In addition to the above constants measurementRegister can be set to the decimal equivalent of the bit to set ...

Страница 568: ...us measurement reading_overflow enable measurementRegister status measurement reading_overflow ntr measurementRegister status measurement reading_overflow ptr measurementRegister measurementRegister The measurement reading overflow summary register status A zero 0 indicates no bits set also send 0 to clear all bits the only valid value other than 0 is 2 Details These attributes are used to read or...

Страница 569: ...gisters on page E 23 status measurement voltage_limit This attribute contains the measurement event voltage limit summary register set Type TSP Link accessible Affected by Where saved Default value Attribute condition R Yes Not applicable Not saved Not applicable enable RW Yes Status reset Not saved 0 event R Yes Status reset Not saved 0 ntr RW Yes Status reset Not saved 0 ptr RW Yes Status reset ...

Страница 570: ...xceeded Bit B1 decimal value 2 Binary value 0000 0010 B2 B15 Not used Not applicable As an example to set bit B1 of the measurement event voltage limit summary enable register set status measurement voltage_limit enable status measurement voltage_limit SMUA In addition to the above constant measurementRegister can be set to the numeric equivalent of the bit to set Example status measurement voltag...

Страница 571: ...cription B0 status MEASUREMENT_SUMMARY_BIT status MSB Set summary bit indicates that an enabled measurement event has occurred Bit B0 decimal value 1 B1 Not used Not applicable B2 status ERROR_AVAILABLE status EAV Set summary bit indicates that an error or status message is present in the Error Queue Bit B2 decimal value 4 B3 status QUESTIONABLE_SUMMARY_BIT status QSB Set summary bit indicates tha...

Страница 572: ...ent This attribute stores the status node event register Type TSP Link accessible Affected by Where saved Default value Attribute R Yes Not applicable Not saved 0 Usage nodeEventRegister status node_event nodeEventRegister The node event register s status A zero 0 indicates no bits set other values indicate various bit settings Details This attribute is used to read the status node event register ...

Страница 573: ...it indicates that an enabled Master Summary Status MSS bit of the Status Byte register is set Bit B6 decimal value 64 B7 status OPERATION_SUMMARY_BIT status OSB Set summary bit indicates that an enabled operation event has occurred Bit B7 decimal value 128 In addition to the above constants nodeEventRegister can be set to the decimal equivalent of the bit s set When more than one bit of the regist...

Страница 574: ...perationRegister operationRegister The operation status register s status A zero 0 indicates no bits set also send 0 to clear all bits other values indicate various bit settings Details These attributes are used to read or write to the operation status registers Reading a status register returns a value The binary equivalent of the returned value indicates which register bits are set The least sig...

Страница 575: ...the status operation user register is set Bit B12 decimal value 4096 B13 status operation INSTRUMENT_SUMMARY status operation INST Set bit indicates that the summary bit from the status operation instrument register is set Bit B13 decimal value 8192 B14 status PROGRAM_RUNNING status PROG Set bit indicates that a command or program is running Bit B14 decimal value 16 384 B15 Not used Not applicable...

Страница 576: ...tatus operation calibrating ntr operationRegister status operation calibrating ptr status operation calibrating enable operationRegister status operation calibrating ntr operationRegister status operation calibrating ptr operationRegister operationRegister The operation calibrating event register s status A zero 0 indicates no bits set also send 0 to clear all bits the only valid value other than ...

Страница 577: ...tatus reset Not saved 0 ptr RW Yes Status reset Not saved 31 746 All bits set Usage operationRegister status operation instrument condition operationRegister status operation instrument enable operationRegister status operation instrument event operationRegister status operation instrument ntr operationRegister status operation instrument ptr status operation instrument enable operationRegister st...

Страница 578: ... bits for the operation status trigger timer summary register is set Bit B11 decimal value 2048 B12 status operation instrument DIGITAL_IO status operation instrument DIGIO Set bit indicates one or more enabled bits for the operation status digital I O summary register is set Bit B12 decimal value 4096 B13 status operation instrument TSPLINK Set bit indicates one or more enabled bits for the opera...

Страница 579: ...er Sets bit B1 and bit B10 of the operation status instrument summary enable register using a decimal value Also see status operation on page 7 266 Condition register sets of status operation instrument trigger_blender on page 7 283 status operation instrument trigger_timer on page 7 286 status operation instrument digio on page 7 271 status operation instrument tsplink on page 7 289 status operat...

Страница 580: ...e binary equivalent of the returned value indicates which register bits are set The least significant bit of the binary number is Bit B0 and the most significant bit is Bit B15 For information about condition enable event ntr and ptr registers refer to Status register sets on page E 2 and Enable and transition registers on page E 18 The individual bits of this register have the following meanings ...

Страница 581: ...ation instrument digio trigger_overrun ptr status operation instrument digio trigger_overrun enable operationRegister status operation instrument digio trigger_overrun ntr operationRegister status operation instrument digio trigger_overrun ptr operationRegister operationRegister The operation status digio I O overrun register s status A zero 0 indicates no bits set also send 0 to clear all bits ot...

Страница 582: ... Bit B10 decimal value 1024 B11 status operation instrument digio trigger_overrun LINE11 Bit B11 decimal value 2048 B12 status operation instrument digio trigger_overrun LINE12 Bit B12 decimal value 4096 B13 status operation instrument digio trigger_overrun LINE13 Bit B13 decimal value 8192 B14 status operation instrument digio trigger_overrun LINE14 Bit B14 decimal value 16 384 B15 Not used Not a...

Страница 583: ...status operation instrument lan ntr operationRegister status operation instrument lan ptr status operation instrument lan enable operationRegister status operation instrument lan ntr operationRegister status operation instrument lan ptr operationRegister operationRegister The operation status lan summary register s status A zero 0 indicates no bits set also send 0 to clear all bits other values in...

Страница 584: ...lue 1024 B11 B15 Not used Not applicable As an example to set bit B0 of the operation status LAN summary enable register set status operation instrument lan enable status operation instrument lan CON In addition to the above constants operationRegister can be set to the numeric equivalent of the bit to set To set more than one bit of the register set operationRegister to the sum of their decimal w...

Страница 585: ...ion instrument lan trigger_overrun ptr status operation instrument lan trigger_overrun enable operationRegister status operation instrument lan trigger_overrun ntr operationRegister status operation instrument lan trigger_overrun ptr operationRegister operationRegister The operation status lan trigger overrun register s status A zero 0 indicates no bits set also send 0 to clear all bits other valu...

Страница 586: ... instrument lan trigger_overrun LAN8 Bit B8 decimal value 256 B9 B15 Not used Not applicable As an example to set bit B1 of the operation status LAN trigger overrun enable register set status operation instrument lan trigger_overrun enable status operation instrument lan trigger_overrun LAN1 In addition to the above constants operationRegister can be set to the numeric equivalent of the bit to set...

Страница 587: ...tus A zero 0 indicates no bits set also send 0 to clear all bits other values indicate various bit settings X Source measure unit SMU channel for example status operation instrument smua enable applies to SMU channel A Details These attributes are used to read or write to the operation status SMU X summary registers Reading a status register returns a value The binary equivalent of the returned va...

Страница 588: ...ent register Bit B10 decimal value 1024 B11 B15 Not used Not applicable As an example to set bit B0 of the operation status SMU A summary enable register set status operation instrument smua enable status operation instrument smua CAL In addition to the above constants operationRegister can be set to the numeric equivalent of the bit to set To set more than one bit of the register set operationReg...

Страница 589: ...tionRegister status operation instrument smuX trigger_overrun ntr operationRegister status operation instrument smuX trigger_overrun ptr operationRegister operationRegister The operation status SMU X trigger overrun register s status A zero 0 indicates no bits set also send 0 to clear all bits other values indicate various bit settings Details These attributes are used to read or write to the oper...

Страница 590: ... decimal value 16 B5 B15 Not used Not applicable As an example to set bit B1 of the operation status SMU A trigger overrun enable register set status operation instrument smua trigger_overrun enable status operation instrument smua trigger_overrun ARM In addition to the above constants operationRegister can be set to the numeric equivalent of the bit to set To set more than one bit of the register...

Страница 591: ...trigger_blender ntr operationRegister status operation instrument trigger_blender ptr operationRegister operationRegister The operation status trigger blender summary register s status A zero 0 indicates no bits set also send 0 to clear all bits the only valid value other than 0 is 1024 Details These attributes are used to read or write to the operation status trigger blender summary registers Rea...

Страница 592: ...d Not applicable enable RW Yes Status reset Not saved 0 event R Yes Status reset Not saved 0 ntr RW Yes Status reset Not saved 0 ptr RW Yes Status reset Not saved 30 All bits set Usage operationRegister status operation instrument trigger_blender trigger_overrun condition operationRegister status operation instrument trigger_blender trigger_overrun enable operationRegister status operation instrum...

Страница 593: ...al value 2 B2 status operation instrument trigger_blender trigger_overrun BLND2 Bit B2 decimal value 4 B3 status operation instrument trigger_blender trigger_overrun BLND3 Bit B3 decimal value 8 B4 status operation instrument trigger_blender trigger_overrun BLND4 Bit B4 decimal value 16 B5 B15 Not used Not applicable As an example to set bit B1 of the operation status trigger blender overrun enabl...

Страница 594: ...able operationRegister status operation instrument trigger_timer ntr operationRegister status operation instrument trigger_timer ptr operationRegister operationRegister The operation status trigger timer summary register s status A zero 0 indicates no bits set also send 0 to clear all bits the only valid value other than 0 is 1024 Details These attributes are used to read or write to the operation...

Страница 595: ...saved Not applicable enable RW Yes Status reset Not saved 0 event R Yes Status reset Not saved 0 ntr RW Yes Status reset Not saved 0 ptr RW Yes Status reset Not saved 510 All bits set Usage operationRegister status operation instrument trigger_timer trigger_overrun condition operationRegister status operation instrument trigger_timer trigger_overrun enable operationRegister status operation instru...

Страница 596: ...us operation instrument trigger_timer trigger_overrun TMR1 Bit B1 decimal value 2 B2 status operation instrument trigger_timer trigger_overrun TMR2 Bit B2 decimal value 4 B3 status operation instrument trigger_timer trigger_overrun TMR3 Bit B3 decimal value 8 B4 status operation instrument trigger_timer trigger_overrun TMR4 Bit B4 decimal value 16 B5 status operation instrument trigger_timer trigg...

Страница 597: ... Not saved 0 event R Yes Status reset Not saved 0 ntr RW Yes Status reset Not saved 0 ptr RW Yes Status reset Not saved 1024 All bits set Usage operationRegister status operation instrument tsplink condition operationRegister status operation instrument tsplink enable operationRegister status operation instrument tsplink event operationRegister status operation instrument tsplink ntr operationRegi...

Страница 598: ...ed Not applicable In addition to the above constants operationRegister can be set to the numeric equivalent of the bit to set For example to set bit B10 set operationRegister to 1024 Example status operation instrument tsplink enable 1024 Sets the trigger overrun bit of the operation status TSP Link summary enable register using a decimal value Also see Operation Status Registers on page E 20 stat...

Страница 599: ...if a value of 10 is read as the value of the condition register the binary equivalent is 0000 0000 0000 1010 This value indicates that bit B1 and bit B3 are set B15 B14 B13 B12 B11 B10 B9 B8 B7 B6 B5 B4 B3 B2 B1 B0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 Least significant bit Most significant bit A set bit indicates that the specified line generated an action overrun when triggered to generate an output t...

Страница 600: ...tatus operation measuring This attribute contains the operation status measuring summary register set Type TSP Link accessible Affected by Where saved Default value Attribute condition R Yes Not applicable Not saved Not applicable enable RW Yes Status reset Not saved 0 event R Yes Status reset Not saved 0 ntr RW Yes Status reset Not saved 0 ptr RW Yes Status reset Not saved 2 All bits set Usage op...

Страница 601: ...easuring SMUA Bit will be set when taking an overlapped measurement but it will not set when taking a normal synchronous measurement Bit B1 decimal value 2 Binary value 0000 0010 B2 B15 Not used Not applicable In addition to the above constant operationRegister can be set to the decimal equivalent of the bit to set Example status operation measuring enable status operation measuring SMUA Sets the ...

Страница 602: ...ister sets on page E 2 and Enable and transition registers on page E 18 The individual bits of this register have the following meanings Bit Value Description B0 Not used Not applicable B1 status operation remote COMMAND_AVAILABLE status operation remote CAV Set bit indicates there is a command available in the execution queue Bit B1 decimal value 2 Binary value 0000 0000 0000 0010 B2 B10 Not used...

Страница 603: ...s A zero 0 indicates no bits set also send 0 to clear all bits the only valid value other than zero 0 is 2 Details These attributes are used to read or write to the operation status sweeping summary registers Reading a status register returns a value The binary equivalent of the returned value indicates which register bits are set The least significant bit of the binary number is Bit B0 and the mo...

Страница 604: ...ter The operation status trigger overrun summary register s status A zero 0 indicates no bits set also send 0 to clear all bits other values indicate various bit settings Details These attributes are used to read or write to the operation status trigger overrun summary registers Reading a status register returns a value The binary equivalent of the returned value indicates which register bits are ...

Страница 605: ...O Set bit indicates one of the enabled bits in the operation status digital I O overrun event register is set Bit B12 decimal value 4096 B13 status operation trigger_overrun TSPLINK Set bit indicates one of the enabled bits in the operation status TSP Link overrun event register is set Bit B13 decimal value 8192 B14 status operation trigger_overrun LAN Set bit indicates one of the enabled bits in ...

Страница 606: ...tatus reset Not saved 0 ptr RW Yes Status reset Not saved 32 767 All bits set Usage operationRegister status operation user condition operationRegister status operation user enable operationRegister status operation user event operationRegister status operation user ntr operationRegister status operation user ptr status operation user condition operationRegister status operation user enable operat...

Страница 607: ... BIT10 Bit B10 decimal value 1024 B11 status operation user BIT11 Bit B11 decimal value 2048 B12 status operation user BIT12 Bit B12 decimal value 4096 B13 status operation user BIT13 Bit B13 decimal value 8192 B14 status operation user BIT14 Bit B14 decimal value 16 384 B15 Not used Not applicable As an example to set bit B0 of the operation status user enable register set status operation user e...

Страница 608: ...nt quesRegister status questionable ntr quesRegister status questionable ptr status questionable enable quesRegister status questionable ntr quesRegister status questionable ptr quesRegister quesRegister The questionable status register s status A zero 0 indicates no bits set also send 0 to clear all bits other values indicate various bit settings Details These attributes are used to read or write...

Страница 609: ...set bit B9 of the questionable status enable register set status questionable enable status questionable UO In addition to the above constants quesRegister can be set to the numeric equivalent of the bit to set To set more than one bit of the register set quesRegister to the sum of their decimal weights For example to set bits B12 and B13 set quesRegister to 12 288 which is the sum of 4096 8192 Bi...

Страница 610: ...us register returns a value The binary equivalent of the returned value indicates which register bits are set The least significant bit of the binary number is Bit B0 and the most significant bit is Bit B15 For information about condition enable event ntr and ptr registers refer to Status register sets on page E 2 and Enable and transition registers on page E 18 The individual bits of this registe...

Страница 611: ...strument summary register s status A zero 0 indicates no bits set also send 0 to clear all bits the only valid value other than zero 0 is 2 Details These attributes are used to read or write to the questionable status instrument summary registers Reading a status register returns a value The binary equivalent of the returned value indicates which register bits are set The least significant bit of ...

Страница 612: ... ptr status questionable instrument smuX enable questionableRegister status questionable instrument smuX ntr questionableRegister status questionable instrument smuX ptr questionableRegister questionableRegister The questionable status SMU X summary register s status A zero 0 indicates no bits set also send 0 to clear all bits other values indicate various bit settings X Source measure unit SMU ch...

Страница 613: ... condition was detected Bit B12 decimal value 4096 B13 B15 Not used Not applicable As an example to set bit B8 of the questionable status SMU A summary enable register set status questionable instrument smua enable status questionable instrument smua CAL In addition to the above constants questionableRegister can be set to the numeric equivalent of the bit to set To set more than one bit of the re...

Страница 614: ...ter The questionable status over temperature summary register s status A zero 0 indicates no bits set also send 0 to clear all bits the only valid value other than zero 0 is 2 Details These attributes are used to read or write to the questionable status over temperature summary registers Reading a status register returns a value The binary equivalent of the returned value indicates which register ...

Страница 615: ... reset Not saved 0 ptr RW Yes Status reset Not saved 2 All bits set Usage questionableRegister status questionable unstable_output condition questionableRegister status questionable unstable_output enable questionableRegister status questionable unstable_output event questionableRegister status questionable unstable_output ntr questionableRegister status questionable unstable_output ptr status que...

Страница 616: ... questionable unstable_output enable status questionable unstable_output SMUA Sets the SMU A bit in the questionable status unstable output summary enable register bit using a constant Also see Questionable Status Registers on page E 21 status questionable on page 7 300 status request_enable This attribute stores the service request SRQ enable register Type TSP Link accessible Affected by Where sa...

Страница 617: ...has occurred Bit B3 decimal value 8 B4 status MESSAGE_AVAILABLE status MAV Set summary bit indicates that a response message is present in the Output Queue Bit B4 decimal value 16 B5 status EVENT_SUMMARY_BIT status ESB Set summary bit indicates that an enabled event in the Standard Event Status Register has occurred Bit B5 decimal value 32 B6 Not used Not applicable B7 status OPERATION_SUMMARY_BIT...

Страница 618: ...le Not saved 0 Usage requestSRQEventRegister status request_event requestSRQEventRegister The request event register s status A zero 0 indicates no bits set other values indicate various bit settings Details This attribute is used to read the service request event register which is returned as a numeric value Reading this register returns a value The binary equivalent of the value of this attribut...

Страница 619: ...present in the Output Queue Bit B4 decimal value 16 B5 status EVENT_SUMMARY_BIT status ESB Set summary bit indicates that an enabled event in the Standard Event Status Register has occurred Bit B5 decimal value 32 B6 Not used Not applicable B7 status OPERATION_SUMMARY_BIT status OSB Set summary bit indicates that an enabled event in the Operation Status Register has occurred Bit B7 decimal value 1...

Страница 620: ...atus standard These attributes manage the status model s standard event status register set Type TSP Link accessible Affected by Where saved Default value Attribute condition R Yes Not applicable Not saved Not applicable enable RW Yes Status reset Not saved 0 event R Yes Status reset Not saved 0 ntr RW Yes Status reset Not saved 0 ptr RW Yes Status reset Not saved 253 All bits set Usage standardRe...

Страница 621: ...instrument is ready to accept new commands The bit is set in response to an OPC command The opc function can be used in place of the OPC command Bit B0 decimal value 1 B1 Not used Not applicable B2 status standard QUERY_ERROR status standard QYE Set bit indicates that you attempted to read data from an empty Output Queue Bit B2 decimal value 4 B3 status standard DEVICE_DEPENDENT_ERROR status stand...

Страница 622: ...f 1 16 Bit B7 B6 B5 B4 B3 B2 B1 B0 Binary value 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 Decimal 128 64 32 16 8 4 2 1 Weights 2 7 2 6 2 5 2 4 2 3 2 2 2 1 2 0 Example 1 standardRegister status standard OPC status standard EXE status standard enable standardRegister Sets the OPC and EXE bits of the standard event status enable register using constants Example 2 decimal 17 binary 0001 0001 standardRegister 17...

Страница 623: ...nt is 0000 0000 1000 0001 This value indicates that bit B0 and bit B7 are set B15 B14 B13 B12 B11 B10 B9 B8 B7 B6 B5 B4 B3 B2 B1 B0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 Least significant bit Most significant bit For information about condition enable event ntr and ptr registers refer to Status register sets on page E 2 and Enable and transition registers on page E 18 The individual bits of this registe...

Страница 624: ... 1 Decimal 32 768 16 384 8 192 4 096 2 048 1024 512 256 Weights 2 15 2 14 2 13 2 12 2 11 2 10 2 9 2 8 Example 1 enableRegister status system NODE11 status system NODE14 status system enable enableRegister Sets bits B11 and B14 of the system summary enable register using constants Example 2 decimal 18432 binary 0100 1000 0000 0000 enableRegister 18432 status system enable enableRegister Sets bits B...

Страница 625: ...000 0000 1000 0001 This value indicates that bit B0 and bit B7 are set B15 B14 B13 B12 B11 B10 B9 B8 B7 B6 B5 B4 B3 B2 B1 B0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 Least significant bit Most significant bit For information about condition enable event ntr and ptr registers refer to Status register sets on page E 2 and Enable and transition registers on page E 18 The individual bits of this register have ...

Страница 626: ...4 8 192 4 096 2 048 1024 512 256 Weights 2 15 2 14 2 13 2 12 2 11 2 10 2 9 2 8 Example 1 enableRegister status system2 NODE25 status system2 NODE28 status system2 enable enableRegister Sets bits B11 and B14 of the system summary 2 enable register using constants Example 2 decimal 18432 binary 0100 1000 0000 0000 enableRegister 18432 status system2 enable enableRegister Sets bits B11 and B14 of the...

Страница 627: ...000 0000 1000 0001 This value indicates that bit B0 and bit B7 are set B15 B14 B13 B12 B11 B10 B9 B8 B7 B6 B5 B4 B3 B2 B1 B0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 Least significant bit Most significant bit For information about condition enable event ntr and ptr registers refer to Status register sets on page E 2 and Enable and transition registers on page E 18 The individual bits of this register have ...

Страница 628: ...4 8 192 4 096 2 048 1024 512 256 Weights 2 15 2 14 2 13 2 12 2 11 2 10 2 9 2 8 Example 1 enableRegister status system3 NODE39 status system3 NODE42 status system3 enable enableRegister Sets bits B11 and B14 of the system summary 3 enable register using constants Example 2 decimal 18432 binary 0100 1000 0000 0000 enableRegister 18432 status system3 enable enableRegister Sets bits B11 and B14 of the...

Страница 629: ...000 0000 1000 0001 This value indicates that bit B0 and bit B7 are set B15 B14 B13 B12 B11 B10 B9 B8 B7 B6 B5 B4 B3 B2 B1 B0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 Least significant bit Most significant bit For information about condition enable event ntr and ptr registers refer to Status register sets on page E 2 and Enable and transition registers on page E 18 The individual bits of this register have ...

Страница 630: ...384 8 192 4 096 2 048 1024 512 256 Weights 2 15 2 14 2 13 2 12 2 11 2 10 2 9 2 8 Example 1 enableRegister status system4 NODE53 status system4 NODE56 status system2 enable enableRegister Sets bit B11 and bit B14 of the system summary 4 enable register using constants Example 2 decimal 18432 binary 0100 1000 0000 0000 enableRegister 18432 status system4 enable enableRegister Sets bit B11 and bit B1...

Страница 631: ...is value indicates that bit B1 and bit B7 are set B15 B14 B13 B12 B11 B10 B9 B8 B7 B6 B5 B4 B3 B2 B1 B0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 Least significant bit Most significant bit For information about condition enable event ntr and ptr registers refer to Status register sets on page E 2 and Enable and transition registers on page E 18 The individual bits of this register have the following meaning...

Страница 632: ...constants Example 2 decimal 18 binary 0000 0000 0001 0010 enableRegister 18 status system5 enable enableRegister Sets bits B1 and B4 of the system summary 5 enable register using a decimal value Also see status system4 on page 7 320 System summary and standard event registers on page E 6 SweepILinMeasureV This KISweep factory script on page 5 22 function performs a linear current sweep with voltag...

Страница 633: ...settle for stime seconds and then performs a voltage measurement 3 Repeats the above sequence until the voltage is measured on the stopi amperes step The linear step size is automatically calculated as follows step stopi starti points 1 Figure 106 SweepILinMeasureV starti Voltage measurement stopi stime stime stime Example SweepILinMeasureV smua 1E 3 1E 3 0 100 This function performs a 100 point l...

Страница 634: ...s the smu to output ilist amperes value allows the source to settle for stime seconds and then performs a voltage measurement 2 Sets the smu to output the next ilist step allows the source to settle for stime seconds and then performs a voltage measurement 3 Repeats the above sequence until the voltage is measured for the last amperes value The last point in the list to be measured is points Examp...

Страница 635: ...fault values Performs a logarithmic current sweep with voltage measured at every step point 1 Sets the smu to output starti amperes value allows the source to settle for stime seconds and then performs a voltage measurement 2 Sets the smu to output the next amperes step allows the source to settle for stime seconds and then performs a voltage measurement 3 Repeats the above sequence until the volt...

Страница 636: ...logarithmic sweep MeasurePoint LogStepSize LogStep SourceStepLevel 1 0 25 0 0 0 01 A 2 0 25 0 25 0 017783 A 3 0 25 0 5 0 031623 A 4 0 25 0 75 0 056234 A 5 0 25 1 0 0 1 A Also see None SweepVLinMeasureI This KISweep factory script on page 5 22 function performs a linear voltage sweep with current measured at every step point Type TSP Link accessible Affected by Where saved Default value Function No...

Страница 637: ...mperes step allows the source to settle for stime seconds and then performs a voltage measurement 3 Repeats the above sequence until the voltage is measured on the stopv amperes step The linear step size is automatically calculated as follows step stopv startv points 1 Figure 108 SweepVLinMeasureI startv Current measurement stopv stime stime stime Example SweepVLinMeasureI smua 1 1 1E 3 1000 This ...

Страница 638: ...Sets the smu to output vlist volts value allows the source to settle for stime seconds and then performs a current measurement 2 Sets the smu to output the next vlist volts value allows the source to settle for stime seconds and then performs a current measurement 3 Repeats the above sequence until the current is measured for the last volts value The last point in the list to be measured is points...

Страница 639: ... default values Performs a logarithmic voltage sweep with current measured at every step point 1 Sets the smu to output startv amperes allows the source to settle for stime seconds and then performs a current measurement 2 Sets the smu to output the next volts step allows the source to settle for stime seconds and then performs a current measurement 3 Repeats the above sequence until the voltage i...

Страница 640: ...weep MeasurePoin t LogStepSize LogStep SourceStepLevel 1 0 25 0 0 1 0000 V 2 0 25 0 25 1 7783 V 3 0 25 0 5 3 1623 V 4 0 25 0 75 5 6234 V 5 0 25 1 0 10 000 V Also see None timer measure t This function measures the elapsed time since the timer was last reset Type TSP Link accessible Affected by Where saved Default value Function Yes Usage time timer measure t time The elapsed time in seconds 1 μs r...

Страница 641: ...er reset This function resets the timer to zero 0 seconds Type TSP Link accessible Affected by Where saved Default value Function Yes Usage timer reset Example timer reset intervening code time timer measure t print time Resets the timer and then measures the time since the reset Output 1 469077e 01 The above output indicates that timer measure t was executed 14 69077 seconds after timer reset Als...

Страница 642: ...etails Set the stimulus of any trigger event detector to the value of this constant to have it respond to trigger events from this trigger blender Also see None trigger blender N orenable This attribute selects whether the blender operates in OR mode or AND mode Type TSP Link accessible Affected by Where saved Default value Attribute RW Yes Instrument reset Trigger blender N reset Not saved false ...

Страница 643: ... ignored because the event detector was already in the detected state when the event occurred This is an indication of the state of the event detector that is built into the event blender itself This attribute does not indicate if an overrun occurred in any other part of the trigger model or in any other trigger object that is monitoring the event It also is not an indication of an action overrun ...

Страница 644: ... trigger blender N stimulus M eventID eventID The event that triggers the blender action see Details N An integer representing the trigger event blender 1 to 4 M An integer representing the stimulus index 1 to 4 Details There are four acceptors that can each select a different event The eventID parameter can be the event ID of any trigger event Use zero to disable the blender input The eventID par...

Страница 645: ...or additional details on the device trigger operation trigger blender N EVENT_ID Occurs after a collection of events is detected trigger timer N EVENT_ID Occurs when a delay expires Use the name of the trigger event ID to set the stimulus value rather than the numeric value Using the name makes the code compatible for future upgrades for example if the numeric values must change when enhancements ...

Страница 646: ... trigger blender 1 stimulus 2 digio trigger 5 EVENT_ID print trigger blender 1 wait 3 Generate a trigger blender 1 event when a digital I O trigger happens either on line 3 or 5 Wait three seconds while checking if trigger blender 1 event has occurred If the blender trigger event has happened then true is output If the trigger event has not happened then false is output after the timeout expires A...

Страница 647: ...terface trigger events Also see None 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 Yes Usage trigger timer N clear N Trigger timer number to clear 1 to 4 Details This function sets the timer event detector to the undetected state and resets the ...

Страница 648: ...er timer N clear on page 7 339 trigger timer N reset on page 7 343 trigger timer N delay This attribute sets and reads the timer delay Type TSP Link accessible Affected by Where saved Default value Attribute RW Yes Instrument reset Trigger timer N reset Not saved 10e 6 Usage interval trigger timer N delay trigger timer N delay interval interval Delay interval in seconds N Trigger timer number 1 to...

Страница 649: ...the next delay period from the array After all elements in the array have been used the delays restart at the beginning of the list If the array contains more than one element the average of the delay intervals in the list must be 50 µs Example trigger timer 3 delaylist 50e 6 100e 6 150e 6 DelayList trigger timer 3 delaylist for x 1 table getn DelayList do print DelayList x end Set a delay list on...

Страница 650: ...k accessible Affected by Where saved Default value Attribute R Yes Instrument reset Trigger timer N clear Trigger timer N reset Not applicable false Usage overrun trigger timer N overrun overrun Trigger overrun state N Trigger timer value 1 to 4 Details This attribute indicates if an event was ignored because the event detector was already in the detected state when the event occurred This is an i...

Страница 651: ... passthrough passthrough The state of pass through mode Set to to one of the following values true Enabled false Disabled N Trigger timer number 1 to 4 Details When enabled triggers are passed through immediately and initiate the delay When disabled a trigger only initiates a delay Example trigger timer 1 passthrough true Enables pass through mode on trigger timer 1 Also see trigger timer N reset ...

Страница 652: ...fies which event starts the timer Type TSP Link accessible Affected by Where saved Default value Attribute RW Yes Instrument reset Trigger timer N reset Not saved 0 Usage eventID trigger timer N stimulus trigger timer N stimulus eventID eventID The event that triggers the timer delay N A number representing a trigger timer number 1 to 4 Details The eventID parameter may be one of the trigger event...

Страница 653: ... 11 only Occurs with the VXI 11 command device_trigger Reference the VXI 11 standard for additional details on the device trigger operation trigger blender N EVENT_ID Occurs after a collection of events is detected trigger timer N EVENT_ID Occurs when a delay expires Use the name of the trigger event ID to set the stimulus value rather than the numeric value Using the name makes the code compatibl...

Страница 654: ...ink accessible Affected by Where saved Default value Function No Usage triggered trigger wait timeout triggered true A trigger was detected during the timeout period false No triggers were detected during the timeout period timeout Maximum amount of time in seconds to wait for the trigger Details This function waits up to timeout seconds for a trigger on the active command interface A command inte...

Страница 655: ...TSP Link node 0 to 64 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 Also see None tsplink master This attribute reads the node number assigned to the master node Type TSP Link accessible Affected by Where saved Default value Attribute R Yes Not applicable Not applicable Not applicable Usage masterNode...

Страница 656: ...igned a different node number Example tsplink node 2 Sets the TSP Link node to number 2 Also see tsplink reset on page 7 349 tsplink state on page 7 350 tsplink readbit This function reads the state of a TSP Link synchronization line Type TSP Link accessible Affected by Where saved Default value Function Yes Usage data tsplink readbit N data A custom variable that stores the state of the synchroni...

Страница 657: ...1 and Bit B3 corresponds to Line 3 For example a returned value of 2 has a binary equivalent of 010 Line 2 is high 1 and the other 2 lines are low 0 Example data tsplink readport print data Reads state of all three TSP lines Assuming Line 2 is set high the output is 2 000000e 00 binary 010 Also see tsplink readbit on page 7 348 tsplink writebit on page 7 359 tsplink writeport on page 7 359 tsplink...

Страница 658: ... will not generate any errors even if there are no other nodes on the TSP Link network Also returns the number of nodes found Also see tsplink node on page 7 347 tsplink state on page 7 350 tsplink state This attribute describes the TSP Link online state Type TSP Link accessible Affected by Where saved Default value Attribute R Yes Not applicable Not applicable Not applicable Usage state tsplink s...

Страница 659: ...er N wait on page 7 358 tsplink trigger N clear This function clears the event detector for a trigger Type TSP Link accessible Affected by Where saved Default value Function Yes Usage tsplink trigger N clear N The trigger line 1 to 3 Details The event detector for a trigger recalls if a trigger event has been detected since the last tsplink trigger N wait call This function clears a trigger event ...

Страница 660: ...when it detects an input trigger Set the stimulus of any trigger event detector to the value of this constant to have it respond to trigger events from this line Also see None tsplink trigger N mode This attribute defines the trigger operation and detection mode Type TSP Link accessible Affected by Where saved Default value Attribute RW Yes Instrument reset TSP Link trigger N reset Not saved tspli...

Страница 661: ...iggers and automatically latches and drives the trigger line low Asserts a TTL low pulse as an output trigger tsplink TRIG_SYNCHRONOUSM 6 Detects rising edge triggers as an input Asserts a TTL low pulse for output tsplink TRIG_RISINGA 7 Detects rising edge triggers as input Asserts a TTL low pulse for output tsplink TRIG_RISINGM 8 Edge detection as an input is not available Generates a TTL high pu...

Страница 662: ...state Type TSP Link accessible Affected by Where saved Default value Attribute R Yes Instrument reset TSP Link trigger N clear TSP Link trigger N reset Not applicable Not applicable Usage overrun tsplink trigger N overrun overrun Trigger overrun state N The trigger line 1 to 3 Details Indicates that an event was ignored because the event detector was in the detected state when the event was detect...

Страница 663: ...ers Type TSP Link accessible Affected by Where saved Default value Attribute RW Yes Instrument reset TSP Link trigger N reset Not saved 10 e6 Usage width tsplink trigger N pulsewidth tsplink trigger N pulsewidth width width The pulse width in seconds N The trigger line 1 to 3 Details Setting the pulse width to 0 seconds asserts the trigger indefinitely Example tsplink trigger 3 pulsewidth 20e 6 Se...

Страница 664: ... pulsewidth on page 7 355 tsplink trigger N stimulus on page 7 357 tsplink trigger N wait on page 7 358 tsplink trigger N reset This function resets some of the TSP Link trigger settings to their factory defaults Type TSP Link accessible Affected by Where saved Default value Function Yes Usage tsplink trigger N reset N The trigger line 1 to 3 Details The tsplink trigger N reset function resets the...

Страница 665: ...owing table Trigger event IDs Event ID Event description smuX trigger SWEEPING_EVENT_ID Occurs when the SMU transitions from the idle state to the arm layer of the trigger model smuX trigger ARMED_EVENT_ID Occurs when the SMU moves from the arm layer to the trigger layer of the trigger model smuX trigger SOURCE_COMPLETE_EVENT_ID Occurs when the SMU completes a source action smuX trigger MEASURE_CO...

Страница 666: ...k trigger N reset on page 7 356 tsplink trigger N wait This function waits for a trigger Type TSP Link accessible Affected by Where saved Default value Function Yes Usage triggered tsplink trigger N wait timeout triggered Trigger detection indication Set to one of the following values true A trigger is detected during the timeout period false A trigger is not detected during the timeout period N T...

Страница 667: ...ntrol the output state of the synchronization line when trigger operation is set to tsplink TRIG_BYPASS If the output line is write protected by the tsplink writeprotect attribute this command is ignored The reset function does not affect the present states of the digital I O lines Example tsplink writebit 3 0 Sets synchronization Line 3 low 0 Also see tsplink readbit on page 7 348 tsplink readpor...

Страница 668: ...k readport on page 7 349 tsplink writebit on page 7 359 tsplink writeprotect on page 7 360 tsplink writeprotect This attribute contains the write protect mask that protects bits from changes by the tsplink writebit and tsplink writeport functions Type TSP Link accessible Affected by Where saved Default value Attribute RW Yes Instrument reset Recall Saved setups 0 Usage mask tsplink writeprotect ts...

Страница 669: ...the device No data is returned to the caller and no data is processed Example tspnet write mydevice print hello print tspnet readavailable mydevice tspnet clear mydevice print tspnet readavailable mydevice Write data to device print how much is available Output 6 00000e 000 Clear data and print how much data is available again Output 0 00000e 000 Also see tspnet connect on page 7 361 tspnet readav...

Страница 670: ...umber nor an initString is provided the remote device is assumed to be a Keithley Instruments TSP enabled device Depending on the state of tspnet tsp abortonconnect the Model 2651A sends an abort command to the remote device on connection The Model 2651A also enables TSP prompts on the remote device and error management The Model 2651A places remote errors from the TSP enabled device in its own er...

Страница 671: ...t session Close the session Also see tspnet connect on page 7 361 tspnet execute This function executes a command string on the remote device Type TSP Link accessible Affected by Where saved Default value Function Yes Usage tspnet execute connectionID commandString value1 tspnet execute connectionID commandString formatString value1 value2 tspnet execute connectionID commandString formatString val...

Страница 672: ...away The Model 2651A places any remotely generated errors into its error queue When the optional format string is not specified this command is equivalent to tspnet write except that a termination is automatically added to the end of the command Example 1 tspnet execute myID runScript Command remote device to run script named runScript Example 2 tspnet termination myID tspnet TERM_CRLF tspnet exec...

Страница 673: ...cified number of arguments The format string can contain the following identifiers width s Read data until the specific length max width t Read data until the specific length or delimited by punctuation max width n Read data until a newline or carriage return d Read a number delimited by punctuation A maximum of 10 format specifiers can be used for a maximum of 10 return values If formatString is ...

Страница 674: ...ailable to be read from the connection connectionID The connection ID returned from tspnet connect Details This command checks to see if any output data is available from the device No data is read from the instrument This allows TSP scripts to continue to run without waiting on a remote command to finish Example ID tspnet connect 192 0 2 1 tspnet write ID idn r n repeat bytes tspnet readavailable...

Страница 675: ...M_CR 2 or tspnet TERM_CRLF 3 or tspnet TERM_LFCR connectionID The connection ID returned from tspnet connect termSequence The termination sequence Details This function sets and gets the termination character sequence that is used to indicate the end of a line for a TSP Net connection Using the termSequence parameter sets the termination sequence The present termination sequence is always returned...

Страница 676: ...0 000 s Details This attribute sets the amount of time the tspnet connect tspnet execute and tspnet read commands will wait for a response The time is specified in seconds The timeout may be specified to millisecond resolution but is only accurate to the nearest 10 ms Example tspnet timeout 2 0 Sets the timeout duration to two seconds Also see tspnet connect on page 7 361 tspnet execute on page 7 ...

Страница 677: ...n When you send the abort command on an interface it causes any other active interface on that instrument to close If you do not issue an abort command or if tspnet tsp abortonconnect is set to 0 and another interface is active connecting to a TSP enabled remote instrument results in a connection However the instrument will not respond to subsequent reads or executes because control of the instrum...

Страница 678: ...s command is limited to transferring 50 000 readings at a time Example t tspnet tsp rbtablecopy testConnection testRemotebuffername readings 1 3 print t 1 t 2 t 3 Copies the specified readings table for buffer items 1 through 3 then displays the first three readings Sample output 4 56534e 01 4 52675e 01 4 57535e 01 Also see None tspnet tsp runscript This function loads and runs a script on a remot...

Страница 679: ... remote instrument Type TSP Link accessible Affected by Where saved Default value Function Yes Usage tspnet write connectionID inputString connectionID The connection ID returned from tspnet connect inputString The string to be written Details The tspnet write function sends inputString to the remote instrument It does not wait for command completion on the remote instrument The Model 2651A sends ...

Страница 680: ...n to retrieve the value associated with the specified name Example userstring add assetnumber 236 userstring add product Widgets userstring add contact John Doe Stores user defined strings in nonvolatile memory Also see userstring catalog on page 7 372 userstring delete on page 7 373 userstring get on page 7 374 userstring catalog This function creates an iterator for the user string catalog Type ...

Страница 681: ...in the order they were added Also see userstring add on page 7 372 userstring delete on page 7 373 userstring get on page 7 374 userstring delete This function deletes a user defined string from nonvolatile memory Type TSP Link accessible Affected by Where saved Default value Function Yes Usage userstring delete name name The name key of the key value pair of the userstring to delete Details This ...

Страница 682: ...ple value userstring get assetnumber print value Output 236 Also see userstring add on page 7 372 userstring catalog on page 7 372 userstring delete on page 7 373 waitcomplete This function waits for all overlapped commands in a specified group to complete Type TSP Link accessible Affected by Where saved Default value Function No Usage waitcomplete waitcomplete group group Specifies which TSP Link...

Страница 683: ...March 2011 7 375 NOTE Any nodes that are not assigned to a group group number is 0 are part of the master node s group Example 1 waitcomplete Waits for all nodes in the local group Example 2 waitcomplete G Waits for all nodes in group G Example 3 waitcomplete 0 Waits for all nodes on the TSP Link network Also see None ...

Страница 684: ...vels are supported NO_SEVERITY Informational status message only INFORMATIONAL Informational status message only RECOVERABLE Error not serious can be recovered SERIOUS Error serious but unit still operational by correcting error FATAL Unit nonoperational Error effects on scripts Most errors will not abort a running script The only time a script is aborted is when a Lua run time error error number ...

Страница 685: ...t print message Error summary list Error summary Error number Error level Error Message 430 RECOVERABLE Query Deadlocked 420 RECOVERABLE Query Unterminated 410 RECOVERABLE Query Interrupted 363 RECOVERABLE Input Buffer Over run 350 RECOVERABLE Queue Overflow 315 RECOVERABLE Configuration Memory Lost 314 RECOVERABLE Save Recall Memory Lost 292 RECOVERABLE Referenced name does not exist 286 RECOVERA...

Страница 686: ...Menu name already exists 1110 FATAL Catastrophic analog supply failure 1200 RECOVERABLE TSPlink initialization failed 1201 RECOVERABLE TSPlink initialization failed 1202 RECOVERABLE TSPlink initialization failed 1203 RECOVERABLE TSPlink initialization failed possible loop in node chain 1204 RECOVERABLE TSPlink initialization failed 1205 RECOVERABLE TSPlink initialization failed no remote nodes fou...

Страница 687: ...ablished 2200 RECOVERABLE File write error 2201 RECOVERABLE File read error 2202 RECOVERABLE Cannot close file 2203 RECOVERABLE Cannot open file 2204 RECOVERABLE Directory not found 2205 RECOVERABLE File not found 2206 RECOVERABLE Cannot read current working directory 2207 RECOVERABLE Cannot change directory 2208 RECOVERABLE Cannot create directory 2209 RECOVERABLE Cannot remove directory 2210 REC...

Страница 688: ... SERIOUS Unknown sourcing function 5010 SERIOUS No such SMU function 5011 SERIOUS Operation not permitted while cal is locked 5012 SERIOUS Cal data not saved save or restore before lock 5013 SERIOUS Cannot save cal data unlock before save 5014 SERIOUS Cannot restore cal data unlock before restore 5015 SERIOUS Save to cal set disallowed 5016 SERIOUS Cannot change cal date unlock before operation 50...

Страница 689: ...e action enabled without configuration 5061 SERIOUS Operation not permitted while OUTPUT is off 5063 SERIOUS Cannot perform requested operation while measure autozero is on 5064 SERIOUS Cannot use reading buffer that collects source values 5065 SERIOUS I range too low for contact check 5066 SERIOUS source offlimiti too low for contact check 5069 SERIOUS Autorange locked for HighC mode LAN troubles...

Страница 690: ... accuracy see Setting speed on page 9 1 Autozero Autozero can be disabled to increase speed at the expense of accuracy see Disabling autozero to increase speed on page 9 1 Setting speed To set speed from the front panel Press the SPEED key and then choose the setting based on your requirements Choose the FAST setting for the fastest measurements note that measurement accuracy will be reduced For b...

Страница 691: ...key or the navigation wheel 4 Press the EXIT LOCAL key as necessary to return to the normal display Refer to the Remote command autozero on page 2 23 topic for details about configuring autozero from a remote interface How do I upgrade the firmware For information on upgrading the firmware see Upgrading the firmware on page A 4 How do I use the Digital I O port For information on the Model 2651A d...

Страница 692: ...mode to falling edge digio trigger 2 mode digio TRIG_FALLING Assert trigger on line 1 digio trigger 1 assert When complete Wait for trigger on line 2 digio trigger 2 wait timeout More information on triggering For additional information see Triggering on page 3 32 How do I generate a service request NOTE For detailed information on this topic see the Status Model on page E 1 section of this manual...

Страница 693: ...easurement ILMT Enable status SRQ MSB status request_enable status MSB Polling for SRQs To determine if the Model 2651A is the GPIB device that generated the SRQ serial poll the unit for the status byte and test to see if the corresponding summary bits are set How do I store measurements in nonvolatile memory After the measurements are complete you can save the reading buffer data to the nonvolati...

Страница 694: ...y a 0 V source connected across its terminals when the output is turned off However connecting a 0 V source to the terminals of a battery causes the battery to discharge Therefore thoughtful selection of the proper output off state is important in order to prevent damage to devices and instruments This is especially true when the device can deliver energy to the Model 2651A such as a battery capac...

Страница 695: ... up to date information from the website you can access The Knowledge Center which contains the following handbooks The Low Level Measurements Handbook Precision DC Current Voltage and Resistance Measurements Switching Handbook A Guide to Signal Switching in Automated Test Systems Application notes Updated drivers Information on related products including The Model 4200 SCS Semiconductor Character...

Страница 696: ...operator Line fuse replacement A fuse located on the Model 2651A rear panel protects the power line input of the High Power System SourceMeter Instrument WARNING 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...

Страница 697: ...his tab away from the AC receptacle 3 Slide the fuse drawer out to gain access to the fuse the fuse drawer does not pull completely out of the power module 4 Snap the fuse out of the drawer and replace it with the same type the fuse is specified in the table below CAUTION To prevent instrument damage use only the correct fuse type see table 5 Push the fuse drawer back into the module If the power ...

Страница 698: ...de 2 Press the MENU key 3 Navigate through the menus by turning the navigation wheel and then pressing the ENTER key to select the items as follows DISPLAY TEST DISPLAY TESTS 4 Turn the navigation wheel until the KEYS menu item is highlighted 5 To start the test press the ENTER key While testing when a key is pressed the label name for that key will be displayed to indicate that it is functioning ...

Страница 699: ...three parts of the test sequence are as follows Checkerboard pattern and the indicators that are on during normal operation Checkerboard pattern alternate pixels on and all the numeric indicators which are not used are illuminated Each digit and adjacent indicators is sequenced all of the pixels of the selected digit are on 6 When finished abort the display test by pressing the EXIT LOCAL key The ...

Страница 700: ...ains the appropriate version of firmware 9 Press the ENTER key to upgrade the firmware CAUTION Do not turn the Model 2651A off while an upgrade is in progress Firmware upgrade using the instrument web interface To upgrade the firmware from the web interface 1 From the left navigation area select Flash Upgrade 2 Log in if necessary 3 Click Upgrade Firmware 4 A file selection dialog box is shown 5 S...

Страница 701: ...quired Following calibration to make sure it was performed properly NOTE If the instrument is still under warranty and its performance is outside specified limits contact your Keithley Instruments representative or the factory to determine the correct course of action Verification test requirements Be sure that you perform the verification tests Under the proper environmental conditions After the ...

Страница 702: ...urs before conducting the verification procedures If the instrument has been subjected to temperature extremes those outside the ranges stated above allow additional time for the instrument s internal temperature to stabilize Typically allow one extra hour to stabilize a unit that is 10 C 18 F outside the specified temperature range Also allow the test equipment to warm up for the minimum time spe...

Страница 703: ...es DC level and 50 A range pulse Before use characterize the resistor to the uncertainty shown Verification limits The verification limits stated in this section have been calculated using only the Model 2651A one year accuracy specifications and they do not include test equipment uncertainty If a particular measurement falls outside the allowable range recalculate new limits based both on the Mod...

Страница 704: ...mits 8 9945 V to 9 0041 V Measurement limits for current are calculated in the same way but using the Model 2651A instrument s current measurement specifications Restoring factory defaults Before performing the verification procedures restore the instrument to its factory front panel bench defaults as follows 1 Press the MENU key 2 Scroll to the SETUP menu item by turning the navigation wheel and ...

Страница 705: ... connect the Model 2651A terminals to CAT II CAT III or CAT IV circuits Connection of the Model 2651A terminals to circuits higher than CAT I can cause damage to the equipment or expose the operator to hazardous voltage Hazardous voltages may be present on the output and guard terminals To prevent electrical shock that could cause injury or death NEVER make or break connections to the Model 2651A ...

Страница 706: ... of the currents for the 100 nA through 100 mA ranges using the values listed in the following table For each test point Select the correct source range Set the Model 2651A output current to the correct value Verify that the multimeter reading is within the limits given in the table below Output current accuracy limits Source range Output current setting 1 Output current limits 1 year 18 C to 28 C...

Страница 707: ...ative output currents with the same magnitudes as those listed 6 Turn the output off and change connections as shown in Connections for current verification 1 A range and above on page B 8 use the 0 1 Ω resistor as shown 7 Select the DMM DC volts function 8 Repeat steps 4 through 6 for the 1 A through 20 A ranges and the 20 0000 A DC level output setting for the 50 A pulse range Calculate the curr...

Страница 708: ...UT 40V 50A MAX Input HI Characterized resistor Digital multimeter 0 1 Ω 250 W Current measurement accuracy Follow the steps below to verify that Model 2651A current measurement accuracy is within specified limits The procedure involves applying accurate currents from the Model 2651A current source and then verifying that Model 2651A current measurements are within required limits 1 With the power ...

Страница 709: ...0 nA 89 428 nA to 90 572 nA 1 μA 0 5000 μA 497 60 nA to 502 40 nA 0 9000 μA 897 28 nA to 902 72 nA 10 μA 5 0000 μA 4 9880 μA to 5 0120 μA 9 0000 μA 89 848 μA to 9 0152 μA 100 μA 50 000 μA 49 965 μA to 50 035 μA 90 000 μA 89 957 μA to 90 043 μA 1 mA 0 5000 mA 499 70 μA to 500 30 μA 0 9000 mA 899 62 μA to 900 38 μA 10 mA 5 0000 mA 4 9965 mA to 5 0035 mA 9 0000 mA 8 9957 mA to 9 0043 mA 100 mA 50 000...

Страница 710: ...es and characterized 0 1 Ω resistor shunt as used for other 1 A and above ranges However there is an additional requirement that the external DMM must be capable of synchronizing to and measuring the short duration shunt voltage pulse with the required precision 10 The 45 A high speed ADC pulse verification script on page B 11 provides an example for setting up a single 1 ms pulse on the 50 A rang...

Страница 711: ...e sure that the source idle value has the same polarity as the pulse value to avoid a 100 uS polarity change time delay during the pulse smua source leveli 000001 PulseLevel Set up single 1 mS pulse using timer 1 PulseTimer trigger timer 1 PulseTimer delay 001 PulseTimer stimulus smua trigger ARMED_EVENT_ID PulseTimer count 1 Set up source pulse parameters smua trigger endpulse stimulus PulseTimer...

Страница 712: ...h 10e 6 digio trigger 8 stimulus MeasStartTimer EVENT_ID Set up trigger model state machine for one pulse when smua trigger arm set command is sent smua trigger arm stimulus trigger EVENT_ID smua trigger arm count 1 smua trigger count 1 Enable output initially at idle level smua source output smua OUTPUT_ON Enter trigger model state machine smua trigger initiate Start pulse smua trigger arm set wa...

Страница 713: ...nnections as shown below Figure 114 Connections for voltage verification LO S LO S HI HI Input LO Model 2651A Digital multimeter LINE RATING 100 240 VAC 50 60 Hz 500VA MAX LINE FUSE SLOWBLOW 5 0 A 250 V NO INTERNAL OPERATOR SERVICEABLE PARTS SERVICE BY QUALIFIED PERSONNEL ONLY REPLACE FUSE WITH SAME TYPE AND RATING WARNING CHANNEL A RS 232 DIGITAL I O LAN IEEE 488 G G G G S LO SENSE GUARD S HI LO ...

Страница 714: ... V 8 9932 V to 9 0068 V 20 V 10 000 V 9 993 V to 10 007 V 18 000 V 17 991 V to 18 009 V 40 V 20 000 V 19 984 V to 20 016 V 36 000 V 35 981 V to 36 019 V Modify voltage limits if necessary See Source limits calculations on page B 3 Voltage measurement accuracy Follow the steps below to verify that the Model 2651A voltage measurement accuracy is within specified limits The test involves setting the ...

Страница 715: ...18 009 V 40 V 20 000 V 19 984 V to 20 016 V 36 000 V 35 981 V to 36 019 V 1 Measure range coupled to source range when simultaneously sourcing and measuring voltage 2 As measured by precision digital multimeter Use closest possible value and modify reading limits accordingly if necessary See Measurement limits calculations on page B 4 7 Repeat the procedure for negative source voltages with the sa...

Страница 716: ...cedures at an ambient temperature of 18 C to 28 C 65 F to 82 F with relative humidity of less than 70 percent unless otherwise noted NOTE Product specifications that are listed as 18º C to 28º C assume adjustment has been done at 23º C If the Model 2651A is adjusted at a different temperature the specifications apply to 5º C of that adjustment temperature Line power The Model 2651A requires a line...

Страница 717: ...personal injury or death The Input Output terminals of the Model 2651As are rated for connection to circuits rated Installation Category I only with transients rated less than 1500V peak Do not connect the Model 2651A terminals to CAT II CAT III or CAT IV circuits Connection of the Model 2651A terminals to circuits higher than CAT I can cause damage to the equipment or expose the operator to hazar...

Страница 718: ...200 ppm 0 9 V 130 ppm 5 V 200 ppm 9 V 130 ppm 10 V 170 ppm 18 V 110 ppm 20 V 200 ppm 36 V 130 ppm DC current 50 nA 2700 ppm 90 nA 1500 ppm 500 nA 1200 ppm 900 nA 750 ppm 5 μA 600 ppm 9 μA 420 ppm 50 μA 170 ppm 90 μA 110 ppm 0 5 mA 150 ppm 0 9 mA 100 ppm 5 mA 170 ppm 9 mA 110 ppm 50 mA 150 ppm 90 mA 100 ppm 500 mA 1600 ppm 900 mA 950 ppm 2 5 A 420 ppm 4 5 A 290 ppm 5 A 600 ppm 9 A 460 ppm 10 A 400 ...

Страница 719: ...steps in Model 2651A step sequence on page B 19 lists the sense modes for the calibration steps Note that each source and measure range is calibrated using the LOCAL sense mode In addition the 1 V through 40 V ranges are calibrated using the REMOTE sense mode and the 1 V 1 mA and 5 A source ranges are calibrated using the CALA sense mode Model 2651A step sequence Calibration steps must be performe...

Страница 720: ... 30 0 9 mA smua SENSE_LOCAL 1 mA 1e 30 0 9 mA smua SENSE_CALA 10 mA 1e 30 9 mA smua SENSE_LOCAL 100 mA 1e 30 90 mA smua SENSE_LOCAL 1 A 1e 30 0 9 A smua SENSE_LOCAL 5 A 1e 30 4 5 A smua SENSE_LOCAL 5 A 1e 30 4 5 A smua SENSE_CALA 10 A 1e 30 9 A smua SENSE_LOCAL 20 A 1e 30 18 A smua SENSE_LOCAL 50 A 1e 30 20 A 5 smua SENSE_LOCAL 100 A 6 1e 30 20 A 5 smua SENSE_LOCAL Fast ADC See Step 4 Fast ADC cal...

Страница 721: ...rity polarity Set polarity smua CAL_AUTO automatic polarity smua CAL_NEGATIVE negative polarity smua CAL_POSITIVE positive polarity smua cal restore calset Load calibration set of constants smua CALSET_NOMINAL nominal constants smua CALSET_FACTORY factory constants smua CALSET_DEFAULT normal constants smua CALSET_PREVIOUS previous constants smua cal save Store constants in nonvolatile memory as DE...

Страница 722: ...rate the low sense low contact check measurement cp1measured value measured by SMU for cal point 1 cp1reference reference measurement for cal point 1 cp2measured value measured by SMU for cal point 2 cp2reference reference measurement for cal point 2 smua contact calibratehi cp1measured cp1reference cp2measured cp2reference Calibrate the high sense high contact check measurement cp1measured value ...

Страница 723: ...odel 2651A Digital multimeter LINE RATING 100 240 VAC 50 60 Hz 500VA MAX LINE FUSE SLOWBLOW 5 0 A 250 V NO INTERNAL OPERATOR SERVICEABLE PARTS SERVICE BY QUALIFIED PERSONNEL ONLY REPLACE FUSE WITH SAME TYPE AND RATING WARNING CHANNEL A RS 232 DIGITAL I O LAN IEEE 488 G G G G S LO SENSE GUARD S HI LO HI OUTPUT 40V 50A MAX Input HI C Perform each calibration step listed for the voltage source and me...

Страница 724: ...ua source levelv 0 9 8 Turn on the output smua source output smua OUTPUT_ON 9 Allow the readings to settle then get both the multimeter and Model 2651A voltage readings at the positive full scale output value the Model 2651A measurement is not necessary if this calibration step is being done on the CALA sense mode The two measurements should be made as close as possible in time Use this command fo...

Страница 725: ...a measure v 16 Turn off the output smua source output smua OUTPUT_OFF 17 Set the source output to the negative full scale value for example smua source levelv 0 9 18 Turn on the output smua source output smua OUTPUT_ON 19 Allow the readings to settle then get both the multimeter and Model 2651A voltage readings at the negative full scale output value the Model 2651A measurement is not necessary if...

Страница 726: ...2651A 1 V range values smua measure calibratev 1 1e 4 1e 6 0 89 0 896 D Be sure to complete each of the 22 steps of C for all 11 voltage source and measure function steps in the Model 2651A step sequence on page B 19 before continuing to the current calibration E Select automatic polarity mode smua cal polarity smua CAL_AUTO Step 3 Current calibration adjustment Figure 116 Connections for current ...

Страница 727: ...Select positive polarity then set the source output to the positive zero value smua cal polarity smua CAL_POSITIVE smua source leveli 1e 30 4 Turn on the output smua source output smua OUTPUT_ON 5 Allow the readings to settle then get both the multimeter and Model 2651A current readings at the positive zero value the Model 2651A measurement is not necessary if this calibration step is being done o...

Страница 728: ...ng the multimeter and Model 2651A readings and range setting for the parameters smua measure calibratei range Z_rdg DMM_Z_rdg FS_rdg DMM_FS_rdg Where range The present calibration range Z_rdg zero Model 2651A measurement DMM_Z_rdg The zero DMM measurement FS_rdg FS Model 2651A measurement DMM_FS_rdg The FS DMM measurement Typical 100 mA range values smua measure calibratei 100e 3 1e 6 1e 5 0 089 0...

Страница 729: ...ommand using the range zero and FS multimeter readings and zero and FS source values for the parameters smua source calibratei range src_Z DMM_Z_rdg src_FS DMM_FS_rdg Where range The negative of the present calibration range src_Z The zero Model 2651A source output value DMM_Z_rdg The zero DMM measurement src_FS The FS Model 2651A source output value DMM_FS_rdg The FS DMM measurement Typical value...

Страница 730: ...LOWBLOW 5 0 A 250 V NO INTERNAL OPERATOR SERVICEABLE PARTS SERVICE BY QUALIFIED PERSONNEL ONLY REPLACE FUSE WITH SAME TYPE AND RATING WARNING CHANNEL A RS 232 DIGITAL I O LAN IEEE 488 G G G G S LO SENSE GUARD S HI LO HI OUTPUT 40V 50A MAX Input HI Characterized resistor Digital multimeter 0 1 Ω 250 W F Select the DMM DC volts function G Repeat the 22 steps of C for the 1 A 5 A 10 A 20 A 50 A and 1...

Страница 731: ...488 G G G G S LO SENSE GUARD S HI LO HI OUTPUT 40V 50A MAX OUTPUT HI B Allow the readings to settle then get the Model 2651A readings r0_hi r0_lo smua contact r C As illustrated in the following figure Characterize both 50 Ω resistors using the resistance function of the digital multimeter Connect a 50 Ω resistor between the SENSE LO and OUTPUT LO terminals Connect the second 50 Ω resistor between...

Страница 732: ...s the same value as measured in step D F Send the contact check high calibration command smua contact calibratehi r0_hi Z_actual r50_hi 50_ohm_actual Where r0_hi Model 2651A 0 Ω high measurement Z_actual Actual zero value the resistance of the short between the SENSE HI anD OUTPUT HI terminals r50_hi Model 2651A 50 Ω high measurement 50_ohm_actual Actual 50 Ω resistor value the value of the resist...

Страница 733: ...will essentially be ignored due to the precision of the internal date storage format The allowable range for the year is from 2005 to 2037 the month is from 1 to 12 and the day is from 1 to 31 Step 7 Save calibration constants Calibration is now complete so you can store the calibration constants in nonvolatile memory by sending the following command smua cal save NOTE Unless you send the save com...

Страница 734: ... 3 and supports full connectivity on a 10 Mbps or 100 Mpbs network The LAN interface is an alternative solution to GPIB that can be used to build test systems with a large degree of flexibility including web accessibility NOTE Please read this entire section before you connect the Model 2651A to the LAN Establishing a point to point connection A one to one LAN connection to set up a static IP addr...

Страница 735: ...nnecting the host computer to a corporate network particularly if DHCP Enabled NO disabled Be sure to return all settings to their original configuration before reconnecting the host computer to a corporate network Failure to do this could result in damage to the equipment and loss of data Contact your system administrator for more information Step 1 Identify and record the existing IP configurati...

Страница 736: ...tion for the Ethernet adapter displays Media Disconnected close the command prompt and go to Step 2 Disable DHCP to use the computer s existing IP address on page C 4 3 When the information is displayed record the following information for the correct network card DHCP mode _______________________________ IP address ________________________________ Subnet mask ______________________________ Defaul...

Страница 737: ...ol TCP IP in the items list The Internet Protocol TCP IP Properties dialog box is displayed see the figure titled Internet protocol TCP IP Properties dialog box below a Click Start Settings Control Panel b Open Network Connections c Right click Local Area Connection and select Properties The Local Area Connection Properties dialog box is displayed d Double click Internet Protocol TCP IP in the ite...

Страница 738: ...cord the IP address subnet mask default gateway and DNS servers to use in Step 3 Configure the Instrument s LAN settings on page C 6 No If blank enter the IP address 192 168 1 100 in the IP address field and 255 255 255 0 in the subnet mask field These will be used to configure the instrument s LAN settings b After recording or entering the IP address click OK 4 Click OK to close the Local Area Co...

Страница 739: ...2 168 1 100 see the figure titled Internet protocol TCP IP Properties dialog box in Step 2 Disable DHCP to use the computer s existing IP address on page C 4 A unique IP address for the instrument is 192 168 001 101 NOTE The instrument s IP address can have leading zeros but the computer s cannot c Use the navigation wheel to select and enter an appropriate IP address for the instrument Be sure to...

Страница 740: ...his will ensure that the system is using the correct network card Figure 122 LAN connection LINE RATING 100 240 VAC 50 60 Hz 500VA MAX LINE FUSE SLOWBLOW 5 0 A 250 V WARNIN RS 232 DIGITAL I O LAN IEEE 488 Controller 3 2 1 1 Model 2651A LAN connection port 2 Crossover cable 3 Ethernet port located on the host PC Step 5 Access the instrument s internal web page 1 Open a web browser on the host compu...

Страница 741: ...d to set the LAN options manually The DHCP server automatically configures the IP address subnet mask and the default gateway A DHCP server must be available on the LAN in order to use this option MANUAL Use the Manual setting to manually configure the communication parameters The MANUAL setting requires you to configure the following IP address Gateway Subnet mask To select a LAN configuration me...

Страница 742: ...uration method is set to MANUAL 1 From the front panel press the MENU key and then select LAN CONFIG GATEWAY 2 Turn the navigation wheel to select and enter a valid gateway address for the instrument 3 Press the ENTER key to confirm the changes 4 Press the EXIT LOCAL key once to return to the LAN CONFIG menu 5 Select APPLY_SETTINGS YES then press the ENTER key Setting the subnet mask NOTE Contact ...

Страница 743: ... select LAN CONFIG DNS VERIFY 2 Turn the navigation wheel to select either ENABLE or DISABLE When enabled the instrument performs a DNS lookup to verify the DNS host name matches the value specified in the command lan config dns hostname on page 7 107 3 Press the ENTER key 4 Press the EXIT LOCAL key twice to return to the LAN CONFIG menu 5 Select APPLY_SETTINGS YES then press the ENTER key To enab...

Страница 744: ...ible LAN speeds must be configured to match the speed of the other instruments on the network To set the LAN speed 1 From the front panel press the MENU key and then select LAN CONFIG SPEED 2 Turn the navigation wheel to select either 10 Mbps or 100 Mbps 3 Press the ENTER key 4 Press the EXIT LOCAL key once to return to the LAN CONFIG menu 5 Select APPLY_SETTINGS YES and then press the ENTER key D...

Страница 745: ...N T E R Lan Configuration AUTO ARM Closed There are two types of LAN status messages LAN fault messages Communicates issues related to physical connectivity LAN configuration messages Communicates issues or events related to configuration The following table displays possible fault and configuration messages LAN CONFIG FAULT messages LAN message type Possible messages LAN fault Could not acquire I...

Страница 746: ...e active setting 4 Press the EXIT LOCAL key once to return to the STATUS menu Confirming the active speed and duplex negotiation The Model 2651A automatically detects the speed and duplex negotiation active on the LAN Once the speed and duplex negotiation is detected the instrument automatically adjusts its own settings to match the LAN settings To confirm the active LAN speed and duplex mode 1 Fr...

Страница 747: ...d interface This section provides details on how to select a remote command interface to connect to the Model 2651A VXI 11 connection This remote interface is similar to GPIB and supports message boundaries serial poll and service requests SRQs A VXI 11 driver or VISA software is required Test Script Builder TSB uses VISA and can be used with the VXI 11 interface You can expect a slower connection...

Страница 748: ...ation port is closed Telnet connection Telnet is similar to raw socket and is used when the user needs to interact directly with the instrument typically for debugging and troubleshooting Telnet requires a separate telnet program The Model 2651A supports the Telnet protocol that you can use over a TCP IP connection to issue commands to the instrument You can use a Telnet connection to interact wit...

Страница 749: ...OK 3 In the Connect To dialog box click the Connect using drop down list and then select TCP IP Winsock Figure 125 Connect To dialog box My Instrument 192 168 1 101 TCP IP Winsock 23 4 In the Host address field type the instrument s IP address for example 192 168 1 101 5 Type 23 in the Port number field and then click OK The HyperTerminal program window displays 6 From the HyperTerminal program wi...

Страница 750: ... 01 Rev A March 2011 C 17 7 In the properties dialog box click the Settings tab Figure 126 Properties dialog box My Instrument Properties 8 Click ASCII Setup The ASCII Setup dialog box is displayed 9 From the ASCII Setup window select the following options Send line ends with line feeds Echo typed characters locally ...

Страница 751: ... Instrument Reference Manual C 18 2651A 901 01 Rev A March 2011 Figure 127 ASCII Setup window 10 Click OK in the ASCII Setup dialog box The Properties window displays 11 Click OK in the Properties dialog box 12 Use the HyperTerminal window to interact directly with the instrument ...

Страница 752: ...ers generated and received by the Model 2651A and can be viewed over any command interface The event log can also be viewed using the embedded web interface The following figure shows the view of the LXI event log from the embedded web interface Figure 129 Event log LXI Event Log 15 26 41 000 26 Jan 2011 The timestamp event identifier the IP address and the domain name identify the incoming and ou...

Страница 753: ...Fractional seconds The Model 2651A does not support the IEEE Std 1588 standard The values in this field are always 0 zero HWDetect Identifies a valid LXI trigger packet LXI Sequence Each instrument maintains independent sequence counters One for each combination of UDP multicast network interface and UDP multicast destination port One for each TCP connection Domain Displays the LXI domain number T...

Страница 754: ... 000 17 Jun 2008 LAN0 10 80 64 191 LXI 0 1213712000 not available 0 0x10 0x00 The string displays the same information as the web interface Commas separate the different fields The fields output in the following order UTC time Event Id Sender HwDetect version Domain sequence number ptp time epoch from 1588 flags Data See the table in Logging LAN trigger events in the event log on page C 19 for det...

Страница 755: ... ESR Event status register query Read clear the Standard Event Enable Register For status commands details see Status model on page E 1 IDN Identification query Returns the manufacturer model number serial number and firmware revision levels of the unit For detailed information see Identification query IDN on page D 3 OPC Operation complete command Set the Operation Complete bit in the Standard Ev...

Страница 756: ...mmand equivalents Script command equivalents for the common commands are defined in the table below Common command Script command equivalent CLS status reset ESE print tostring status standard enable ESE mask status standard enable mask ESR print tostring status standard event IDN print Keithley Instruments Inc Model localnode model localnode serialno localnode revision OPC waitcomplete print 1 OP...

Страница 757: ...e When OPC is sent the OPC bit in the Standard Event Register see Status model on page E 1 will set when all overlapped commands complete An ASCII 1 is also placed in the Output Queue to be read by the OPC query when overlapped commands complete Reset RST RST This command returns the instrument to defaults When the RST command is sent the instrument returns to the default conditions see reset on p...

Страница 758: ...l commands A command whose operations are allowed to finish before the next command is executed Overlapped commands A command that allows the execution of subsequent commands while device operations of the overlapped command are still in progress The WAI command is used to suspend the execution of subsequent commands until the device operations of all previous overlapped commands are finished The ...

Страница 759: ...event has occurred and the cause of the event The heart of the status model is the Status Byte Register All status model registers and queues eventually flow into the Status Byte Register As a programmer you are in full control of all enable registers while the High Power System SourceMeter Instrument has full control of all event status registers In order for an event to be accounted for in the r...

Страница 760: ...event occurs and the appropriate NTR or PTR bit is set the matching event register bit is set to 1 The event bit remains latched to 1 until the register is read or the status model is reset When an event register bit is set and its corresponding enable bit is set the output summary bit of the register will set to 1 This in turn sets a bit in a higher level register cascading to the associated summ...

Страница 761: ... measurement instrument status measurement instrument smua status measurement reading_overflow status measurement voltage_limit Operation status status operation status operation calibrating status operation instrument status operation instrument digio status operation instrument digio trigger_overrun status operation instrument lan status operation instrument lan trigger_overrun status operation ...

Страница 762: ...e_output Standard event status standard System summary status system status system2 status system3 status system4 status system5 condition event ntr ptr and enable Status model diagrams The following figures graphically describe the status model Status model overview on page E 4 Measurement event registers on page E 5 System summary and standard event registers on page E 6 Operation status registe...

Страница 763: ...em Summary Register 2 system2 Error Event Queue Output Queue Queue Not Empty Queue Not Empty This register is available on all TSP Link nodes status system 0 X 5 3 4 2 1 7 Service Request Enable request_enable SRE status request_enable Measurement Summary Bit MSB System Summary Bit SSB Error Available EAV Questionable Summary Bit QSB Message Available MAV Event Summary Bit ESB Master Summary Statu...

Страница 764: ...SMU A SMUA To Measurement Summary Bit MSB in Status Byte status condition STB 0 6 5 3 4 2 1 7 14 13 12 11 10 9 8 15 Measurement Event SMU A Summary Register Current Limit ILMT Buffer Available BAV Reading Overflow ROF Similar registers exist for Voltage Limit Reading Overflow and Buffer Available Voltage Limit VLMT status measurement instrument smua status measurement instrument status measurement...

Страница 765: ...us4 system4 status standard event status standard enable Extension Bit EXT Node 29 NODE29 Node 42 NODE42 Node 41 NODE42 Node 40 NODE40 Node 39 NODE39 Node 38 NODE38 Node 37 NODE37 Node 36 NODE36 Node 35 NODE35 Node 34 NODE34 Node 33 NODE33 Node 32 NODE32 Node 31 NODE31 Node 30 NODE30 Extension Bit EXT Node 15 NODE15 Node 28 NODE29 Node 27 NODE27 Node 26 NODE26 Node 25 NODE25 Node 24 NODE24 Node 23...

Страница 766: ... 2 1 7 14 13 12 11 10 9 8 15 Operation Status User Register Similar registers exists for Measuring and Sweeping status operation status operation calibrating status operation measuring status operation sweeping status operation instrument status operation instrument smua status operation user Bit 0 BIT0 Bit 1 BIT1 Bit 6 BIT6 Bit 3 BIT3 4 BIT4 Bit 5 BIT5 Bit 2 BIT2 Bit 7 BIT7 Bit 8 BIT8 Bit 9 BIT9 ...

Страница 767: ... operation instrument lan trigger_overrun LAN1 LAN1 LAN2 LAN2 LAN3 LAN3 LAN4 LAN4 LAN5 LAN5 LAN6 LAN6 LAN7 LAN7 LAN8 LAN8 0 6 5 3 4 2 1 7 14 13 12 11 10 9 8 15 Operation Status Trigger Overrun Summary status operation trigger_overrun SMU A SMUA LAN LAN To Trigger Overrun Bit TRGOVR in Operation Status Register status operation TSP Link TSPLINK Digital I O DIGIO 0 6 5 3 4 2 1 7 14 13 12 11 10 9 8 1...

Страница 768: ... 14 13 12 11 10 9 8 15 Operation Status Trigger Timer Overrun Register status operation instrument trigger_timer trigger_overrun Timer 1 TMR1 Timer 2 TMR2 Timer 3 TMR3 Timer 4 TMR4 Timer 5 TMR5 Timer 6 TMR6 Timer 7 TMR7 Timer 8 TMR8 0 6 5 3 4 2 1 7 14 13 12 11 10 9 8 15 Operation Status Trigger Blender Summary Register status operation instrument trigger_blender To Trigger Blender Bit TRGBLND in O...

Страница 769: ...ine 3 LINE3 Line 4 LINE4 To Digital I O Bit DIGIO in Operation Status Trigger Overrun Summary Register status operation trigger_overrun 0 6 5 3 4 2 1 7 14 13 12 11 10 9 8 15 Operation Status TSP Link Summary Register status operation instrument tsplink To TSP Link Bit TSPLINK in Operation Status Instrument Summary Register status operation instrument Trigger Overrun TRGOVR 0 6 5 3 4 2 1 7 14 13 12...

Страница 770: ...perature OTEMP status questionable instrument smua status questionable calibration status questionable instrument status questionable status questionable over_temperature Unstable Output UO status questionable unstable_output Unstable Output UO Clearing registers and queues Commands to reset the status registers and the error queue are listed in the table below In addition to these commands any pr...

Страница 771: ...e register see the following figure indicate the binary parameter value and decimal equivalent To program one of the registers send the decimal value for the bits to be set The registers are discussed further in Enable and transition registers on page E 18 Figure 138 16 bit status register 27 26 25 24 23 22 21 20 215 214 213 212 211 210 29 28 32768 16384 Bit position Binary value Decimal Weights B...

Страница 772: ... value can be converted to its binary equivalent using the information in Programming enable and transition registers on page E 13 For example for a decimal value of 37 binary value of 100101 bits B5 B2 and B0 are set Status byte and service request SRQ Two 8 bit registers control service requests The Status Byte Register and the Service Request Enable Register The Status Byte Register on page E 1...

Страница 773: ...Operation Summary Bit RQS Request for Service MSS Master Summary Status Mav Message Available ESB Event Summary Bit EAV Error Available QSB Questionable Summary Bit MSB Measurement Summary Bit Logical AND OR Logical OR OR SRE or OSB B5 B6 B7 MAV B4 QSB B3 EAV B2 B1 B0 __ MSB STB Serial Poll Service Request Generation B5 MAV B4 QSB B3 EAV B2 B1 MSB B0 Status Byte Register OSB B6 RQS B7 SSB SSB MSS ...

Страница 774: ...TB common command or status condition Status byte and service request commands on page E 17 to read the status byte B6 is the MSS bit Bit B7 Operation Summary OSB Set summary bit indicates that an enabled operation event has occurred Service Request Enable Register The Service Request Enable Register controls the generation of a service request This register is programmed by the user and is used t...

Страница 775: ...t B6 for an SRQ occurrence generated by other event types For common and script commands B6 is the MSS Message Summary Status bit The serial poll does not clear the MSS bit The MSS bit stays set until all Status Byte Register summary bits are reset SPE SPD serial polling For the GPIB interface only the SPE and SPD general bus commands are used to serial poll the High Power System SourceMeter Instr...

Страница 776: ...mary bit for the register Negative transition register identified as ntr in each attributes command listing A particular bit in the event register will be set when the corresponding bit in the NTR is set and the corresponding bit in the condition register transitions from 1 to 0 Positive transition register identified as ptr in each attributes command listing A particular bit in the event register...

Страница 777: ...meric value is returned The binary equivalent of this value indicates which bits in the register are set For details see Reading registers on page E 14 For example the following command will read the System Enable Register print status system enable The used bits of the system event registers are described as follows Bit B0 Extension Bit EXT Set bit indicates that an extension bit from a another s...

Страница 778: ...t commands Command Description ESR or print status standard event Read Standard Event Status Register ESE mask or status standard enable mask Program the Event Status Enable Register mask 0 to 255 See Status register sets on page E 18 ESE or print status standard enable Read Event Status Enable Register Operation Status Registers As shown in the status model s Operation status registers on page E ...

Страница 779: ... Instrument Summary Register is set Bit B14 Program Running PROG Set bit indicates that a program is running For more information on the Operation Status Registers refer to Status register sets on page E 2 and the charts in this appendix Questionable Status Registers As shown in the status model s Operation event I O and TSP Link registers on page E 10 there are seven register sets associated with...

Страница 780: ... Calibration CAL Set bit indicates that calibration is questionable Bit B9 Unstable Output UO Set bit indicates that an unstable output condition was detected Bit B12 Over Temperature OTEMP Set bit indicates that an over temperature condition was detected Bit B13 Instrument Summary INST Set bit indicates that a bit in the Questionable Instrument Summary Register is set For more information on the ...

Страница 781: ...ble This register set feeds to bit B0 MSB of the Status Byte The bits used in the Measurement Event Registers are described as follows Bit B0 Voltage Limit VLMT Set bit indicates that the voltage limit was exceeded This bit will be updated only when 1 a measurement is taken or 2 the smuX source compliance command is invoked Bit B1 Current Limit ILMT Set bit indicates that the current limit was exc...

Страница 782: ... system summary bit in all TSP Link nodes when the current limit on channel A is exceeded Clear all registers status reset Enable current limit bit in current limit register status measurement current_limit enable status measurement current_limit SMUA Enable status measure current limit bit status measurement enable status measurement ILMT Set system summary enable MSB status node_enable status MS...

Страница 783: ... error or status is placed in the error queue When a message is placed in the error queue the error available EAV bit in the Status Byte Register is set An error or status message is cleared from the error queue when it is read The error queue is considered cleared when it is empty An empty error queue clears the EAV bit in the Status Byte Register The commands to control the error queue are liste...

Страница 784: ...nds on page E 27 there is an example illustrating the status model configuration for a TSP Link system In this example a current limit compliance event in SMU A of node 15 will set the RQS bit of the Status Byte of the master node The commands to configure the status model for this example are provided in Status configuration enable commands on page E 27 When a current limit compliance condition o...

Страница 785: ... the current limit events for SMU A of node 15 node 15 status measurement current_limit enable 6 node 15 status measurement enable 2 node 15 status node_enable 1 The affected status registers for the above commands are indicated by labels A B and C see following figure System summary registers The following commands enable the required system summary bits for node 15 status system2 enable 2 status...

Страница 786: ...MT Measurement Event Register B1 A BitB1 enabled B Bit B1 enabled Status Byte B0 Measurement Summary Bit MSB Status Node Enable B0 C Bit B0 enabled Node 15 System Summary Register 2 B1 D Bit B1 enabled Extension Bit System Summary Register B0 E Bit B0 enabled Status Byte B0 B6 Measurement Summary Bit MSB Request for Service RQS Service Request Enable B0 F Bit B0 enabled Shared system summary regis...

Страница 787: ...Appendix F Display character codes In this appendix Model 2651A display character codes F 2 Display character dot patterns F 5 ...

Страница 788: ...1 selftest2 059 004 reserved 032 space 060 005 reserved 033 061 006 reserved 034 062 007 reserved 035 063 008 reserved 036 064 009 reserved 037 065 A 010 reserved 038 066 B 011 reserved 039 apostrophe 067 C 012 reserved 040 068 D 013 reserved 041 069 E 014 reserved 042 070 F 015 reserved 043 071 G 016 μ 044 comma 072 H 017 045 073 I 018 Ω 046 074 J 019 047 075 K 020 leftflagbar 048 0 076 L 021 rig...

Страница 789: ...162 2 095 _ 129 dot1 163 3 096 open single quote 130 dot2 164 4 097 a 131 dot12 165 5 098 b 132 dot3 166 6 099 c 133 dot13 167 7 100 d 134 dot23 168 8 101 e 135 dot123 169 9 102 f 136 dot4 170 α 103 g 137 dot14 171 β 104 h 138 dot24 172 γ 105 i 139 dot124 173 δ 106 j 140 dot34 174 ε 107 k 141 dot134 175 η 108 l 142 dot234 176 θ 109 m 143 dot1234 177 λ 110 n 144 selftest3 178 π 111 o 145 selftest4 ...

Страница 790: ...2 á 236 ù 189 213 à 37 Ü 190 214 å 238 ñ 191 215 239 Ñ 192 216 Ä 240 ÿ 193 217 Å 241 lightning bolt 194 218 ê 242 KI 195 219 ë 243 box3 196 220 é 244 box4 197 221 è 245 box5 198 222 É 246 box6 199 223 î 247 box7 200 i 224 ï 248 box8 201 225 í 249 box9 202 226 ì 250 tombstone 203 227 ô 251 204 P 228 ö 252 205 ƒ 229 ó 253 206 Ç 230 ò 254 207 ç 231 255 208 æ 232 Ö 209 Æ 233 û The dot patterns for thi...

Страница 791: ...ce Manual Appendix F Display character codes 2651A 901 01 Rev A March 2011 F 5 Display character dot patterns Figure 141 Display character dot patterns 1 of 4 selftest7 selftest9 dot34 selftest8 selftest6 dot134 selftest4 selftest3 dot234 selftest5 dot124 dot13 ...

Страница 792: ... High Power System SourceMeter Instrument Reference Manual F 6 2651A 901 01 Rev A March 2011 Figure 142 Display character dot patterns 2 of 4 dot23 dot123 dot4 dot14 dot24 selftest2 left flag bar right bar full flag bar right flag bar dot1234 dot3 ...

Страница 793: ...strument Reference Manual Appendix F Display character codes 2651A 901 01 Rev A March 2011 F 7 Figure 143 Display character dot patterns 3 of 4 dot12 dot1 selftest1 left bar fullbar dot2 selftest11 selftest12 selftest13 selftest14 selftest10 box1 ...

Страница 794: ... 2651A High Power System SourceMeter Instrument Reference Manual F 8 2651A 901 01 Rev A March 2011 Figure 144 Display character dot patterns 4 of 4 one half lightning bolt Keithley Instruments box3 box4 box2 box5 box6 box7 box8 box9 tombstone ...

Страница 795: ...ar 7 55 7 362 bit clear See bit clear command Command programming Time and date values 7 4 queries 5 3 Compliance Limit 4 2 connecting multiple units 6 48 6 49 Contact check Circuit configuration 4 16 Measurements 2 37 Overview 2 37 Programming example 2 39 contact information 1 1 Continuous power operating boundaries 4 5 Current accuracy B 14 Output B 6 B 14 Current measurement accuracy B 6 B 8 c...

Страница 796: ...mat attributes format asciiprecision 7 87 format byteorder 7 88 format data 7 88 front panel Source measure procedure 2 24 2 27 Tests A 2 functions 6 18 Fuse Line replacement A 1 G get 7 12 7 13 7 55 7 57 7 59 7 93 7 143 gpib attribute gpib address 7 95 groups assigning 6 57 coordinating remote 6 58 different test scripts 6 56 reassigning 6 57 H High capacitance mode 3 65 Enabling 3 68 Overview 3 ...

Страница 797: ...acy B 13 Limits B 13 Overheating protection 4 3 equations 4 3 overlapped operations in remote groups coordinating 6 58 overwrite a bit field 7 15 P parallel test scripts 6 57 power blinking 7 57 Calculations 2 36 4 3 Equations 4 3 Measurement procedure 2 37 Measurements 2 35 Programming example 2 37 Remote programming 2 36 Power on setup 2 40 2 41 Precedence 6 22 print functions print 7 145 printb...

Страница 798: ...llel test running 6 57 restoring in run time environment 6 43 running 6 6 6 57 Script Editor 6 37 test scripts across the TSP Link network 6 59 unnamed 6 6 user 6 3 6 6 6 8 Sensing Ohms 2 32 serial number 1 3 serial polling E 17 Setups Power on 2 40 Sink 4 5 Operation 2 27 sound 7 9 Source 4 5 Source I measure I 4 13 Source V measure V 4 13 Source measure Capabilities 2 11 Front panel operation 2 ...

Страница 799: ...89 Remote commands 3 90 Triggering 6 53 U unnamed scripts 6 6 USB Saving the reading buffer to 3 9 user scripts creating alternative 6 3 modifying 6 8 running 6 6 User setups Recalling 2 40 Saving 2 39 Saving from a command interface 2 41 userstring functions 6 56 UTC 7 168 V variables 6 16 verification Limits B 3 Test considerations B 5 Test equipment B 2 Test procedures B 4 Test requirements B 1...

Страница 800: ... of Keithley Instruments Inc All other trademarks and trade names are the property of their respective companies A G R E A T E R M E A S U R E O F C O N F I D E N C E Keithley Instruments Inc Corporate Headquarters 28775 Aurora Road Cleveland Ohio 44139 440 248 0400 Fax 440 248 6168 1 888 KEITHLEY www keithley com ...

Отзывы: