EasyManuals Logo

Tektronix Keithley SourceMeter 2470 Reference Manual

Tektronix Keithley SourceMeter 2470
995 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 #688 background imageLoading...
Page #688 background image
Section
14: TSP command reference 2470 High Voltage SourceMeter Instrument
Reference Manual
14-48 2470-901-01 Rev. A / May 2019
dataqueue.CAPACITY
This constant is the maximum number of entries that you can store in the data queue.
Type TSP-Link accessible
Affected by Where saved Default value
Constant
Yes
Usage
count = dataqueue.CAPACITY
count
The variable that is assigned the value of
dataqueue.CAPACITY
Details
This constant always returns the maximum number of entries that can 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")
This example fills the data queue until it is full
and prints the number of items in the queue.
Output:
There are 128 items in the data queue
Also see
dataqueue.add() (on page 14-47)
dataqueue.clear() (on page 14-48)
dataqueue.count (on page 14-49)
dataqueue.next() (on page 14-50)
Using the data queue for real-time communication (on page 9-10)
dataqueue.clear()
This function clears the data queue.
Type TSP-Link accessible
Affected by Where saved Default value
Function Yes
Usage
dataqueue.clear()
Details
This function forces all dataqueue.add() commands that are in progress to time out and deletes all
data from the data queue.

Table of Contents

Other manuals for Tektronix Keithley SourceMeter 2470

Questions and Answers:

Question and Answer IconNeed help?

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

Tektronix Keithley SourceMeter 2470 Specifications

General IconGeneral
BrandTektronix
ModelKeithley SourceMeter 2470
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals