Set Up The Low-Resistance Application Using Tsp Commands - Tektronix Keithley SourceMeter 2450 User Manual

Hide thumbs Also See for Keithley SourceMeter 2450:
Table of Contents

Advertisement

Section 5: Measuring low-resistance devices
Model 2450 SourceMeter® Instrument User's Manual

Set up the low-resistance application using TSP commands

The following TSP code is designed to be run from Keithley Instruments Test Script Builder (TSB).
TSB is a software tool that is available from tek.com/keithley. You can install and use TSB to write
code and develop scripts for TSP-enabled instruments. Information on how to use TSB is in the online
help for TSB and in the "Introduction to TSP operation" section of the Model 2450 Reference Manual.
To use other programming environments, you may need to make changes to the example TSP code.
By default, the 2450 uses the SCPI command set. You must select the TSP command set before
sending TSP commands to the instrument.
To enable TSP commands:
1. Press the MENU key.
2. Under System, select Settings.
3. Set the Command Set to TSP.
4. At the prompt to reboot, select Yes.
This sequence of TSP commands makes 100 low-resistance measurements by sourcing current and
measuring resistance. In this example, the source current magnitude and limit voltage are set
automatically. It uses remote commands to change the front-panel display to show the GRAPH swipe
screen. This allows you to view numeric data at the top of the screen and graphic data at the bottom
of the screen. After the code executes, the data is displayed in the Instrument Console of Test Script
Builder.
Send the following commands for this example application:
-- Reset the instrument to the default settings
reset()
-- Configure the Simple Loop trigger model template to make 100 readings.
trigger.model.load("SimpleLoop", 100)
-- Change the view on the front panel to the GRAPH swipe screen.
display.changescreen(display.SCREEN_GRAPH_SWIPE)
-- Set to measure resistance, use 4-wire sense,
-- and offset compensation.
smu.measure.func = smu.FUNC_RESISTANCE
smu.measure.sense = smu.SENSE_4WIRE
smu.measure.offsetcompensation = smu.ON
-- Turn on the output
smu.source.output = smu.ON
-- Initiate trigger model and wait until finished.
trigger.model.initiate()
waitcomplete()
-- Turn off output
smu.source.output = smu.OFF
-- Read the resistance and time values from defbuffer1.
print("Resistance:\tTime:")
for i = 1, 100 do
print(string.format("%f\t%f", defbuffer1[i], defbuffer1.relativetimestamps[i]))
end
5-8
2450-900-01 Rev. E / August 2019

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Keithley SourceMeter 2450 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents

Save PDF