EasyManuals Logo

Tektronix KEITHLEY 2600B Series User Manual

Tektronix KEITHLEY 2600B Series
834 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 #114 background imageLoading...
Page #114 background image
Section 3: Reading buffers Series 2600B System SourceMeter® instrument Reference Manual
3-12 2600BS-901-01 Rev. F/August 2021
Buffer storage control programming examples
The programming examples below illustrate the use of buffer storage control attributes.
Buffer control programming examples
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 timestamp resolution to 0.001024 s.
smua.nvbuffer1.fillcount = 50
Set 50 as the number of readings the buffer stores
before restarting at index 1.
smua.nvbuffer1.fillmode = 0
Set the reading buffer to fill once (do not overwrite
old data).
Buffer read-only attribute programming examples
The following programming examples illustrate use of buffer read-only attributes.
Buffer read-only attribute programming examples
Command
Description
number = smua.nvbuffer1.n
Request the number of readings in the buffer.
buffer_size = smua.nvbuffer1.capacity
Request buffer size.
Statistic attributes
Use the smuX.buffer.getstats() function to access the reading buffer data statistics. The table
below lists the attributes that you can use to access the reading buffer statistics.
Attributes for accessing reading buffer data
Attribute
When returned
Description
n
Always
The number of data points on which the statistics are based
mean
When n > 0
The average of all readings added to the buffer
stddev
When n > 1
The standard deviation of all readings (samples) added to the buffer
min
When n > 0
A table containing data about the minimum reading value added to
the buffer
max
When n > 0
A table containing data about the maximum reading value added to
the buffer

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Tektronix KEITHLEY 2600B Series and is the answer not in the manual?

Tektronix KEITHLEY 2600B Series Specifications

General IconGeneral
BrandTektronix
ModelKEITHLEY 2600B Series
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals