EasyManuals Logo
Home>Keithley>Test Equipment>2450

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 #554 background imageLoading...
Page #554 background image
Model 2450
Interactive SourceMeter® Instrument Reference Manual Section 8:
TSP command reference
2450-901-01 Rev. B/September 2013 8-23
Details
This command indicates whether the reading buffer should log informational events such as buffer full and buffer
cleared.
Example
reset()
MyBuffer = buffer.make(500)
print(defbuffer2.logstate)
defbuffer2.logstate = buffer.ON
print(defbuffer2.logstate)
print(defbuffer1.logstate)
print(MyBuffer.logstate)
Create the user-defined buffer MyBuffer.
Print the logstate of defbuffer2.
Output:
1
Set the default defbuffer2 to start logging
support information.
Print the logstate of both default buffers and
the user-created buffer MyBuffer.
Output:
1
1
0
Also see
buffer.delete() (on page 8-9)
buffer.make() (on page 8-11)
bufferVar.clear() (on page 8-17)
print() (on page 8-77)
printbuffer() (on page 8-78)
Reading buffers (on page 3-10)
Remote buffer operation (on page 3-27)
bufferVar.n
This attribute contains the number of readings in the specified buffer.
Type TSP-Link accessible Affected by Where saved Default value
Attribute (R)
Yes
Restore configuration
Instrument reset
Power cycle
Not applicable
Not applicable
Usage
numberOfReadings = bufferVar.n
numberOfReadings
The number of readings stored in the buffer
bufferVar
The name of the reading buffer, which may be a default buffer (defbuffer1 or
defbuffer2) or a user-defined buffer
Details
If you do not know how many readings are in a buffer, you can use the bufferVar.n attribute in other commands.
For example, to print all of the readings in a buffer, use the following command:
printbuffer(1, defbuffer1.n, defbuffer1.readings)
However, when you use the bufferVar.n command, be aware of how much data is returned because the
buffer in the receiving application (such as in LabView or VB net) needs to be big enough to receive all of the
data.

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
BrandKeithley
Model2450
CategoryTest Equipment
LanguageEnglish

Related product manuals