EasyManuals Logo

Keithley 2450 User Manual

Keithley 2450
878 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #175 background imageLoading...
Page #175 background image
Section
3: Functions and features Model 2450 Interactive SourceMeter® Instrument
Reference Manual
3-30 2450-901-01 Rev. B/September 2013
Using TSP commands:
A reading buffer is based on a Lua table. When you use TSP commands, the measurements
themselves are accessed by ordinary array notation. If rb is a reading buffer, the first measurement is
accessed as rb[1], the ninth measurement as rb[9], and so on. The additional information in the
table is accessed as additional members of the table.
To access a buffer, include the buffer name in the respective command. For example, the following
commands return five readings (including the measurement, source value, and relative time) from a
user-defined buffer named testData:
-- Create a buffer named testData to store 100 readings.
testData = buffer.make(100)
-- Set the instrument to make 5 readings and store them in the buffer.
trigger.model.load("SimpleLoop", 5, 0, testData)
-- Make the readings
trigger.model.initiate()
waitcomplete()
-- Read the 5 readings and print them including the measurement, source value, and
relative time for each reading.
printbuffer(1, 5, testData.readings,
testData.sourcevalues,testData.relativetimestamps)
Buffer read-only attributes
Use buffer read-only attributes to access the information contained in an existing buffer.
Using SCPI commands:
The following attributes are available for each reading buffer.
Attribute Description
:TRACe:ACTual?
This attribute contains the number of readings in the specified
buffer. See :TRACe:ACTual? (on page 6-107)
:TRACe:DATA
This attribute contains the readings stored in a specified
reading buffer. See .:TRACe:DATA? (on page 6-109).
:TRACe:STATistics:AVERage
This command returns average of all readings added to the
buffer. See :TRACe:STATistics:AVERage? (on page 6-119)
:TRACe:STATistics:MAXimum?
This command returns the maximum reading value added to
the buffer. See :TRACe:STATistics:MAXimum? (on page 6-
121)
:TRACe:STATistics:MINimum?
This command returns the minimum reading value added to
the buffer. :TRACe:STATistics:MINimum? (on page 6-121)
:TRACe:STATistics:PK2Pk?
This command returns the peak-to-peak value of all readings
(samples) added to the buffer. See
:TRACe:STATistics:PK2Pk? (on page 6-122).
:TRACe:STATistics:STDDev?
This command returns the standard deviation of all readings
(samples) added to the buffer. See
:TRACe:STATistics:STDDev? (on page 6-123).

Table of Contents

Other manuals for Keithley 2450

Questions and Answers:

Question and Answer IconNeed help?

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

Keithley 2450 Specifications

General IconGeneral
Model2450
CategorySourceMeter
Voltage Source Range±200 V
Current Source Range±1 A
DC Voltage200 V
DC Current1 A
Power Output20 W
Resolution6.5 digits
Display5-inch capacitive touchscreen
Operating Temperature0°C to 50°C
ConnectivityUSB, LAN, GPIB
Dimensions213 mm × 88 mm × 370 mm

Related product manuals