EasyManuals Logo
Home>Keithley>Measuring Instruments>2600B

Keithley 2600B User Manual

Keithley 2600B
897 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 #391 background imageLoading...
Page #391 background image
Section
7: TSP command reference Series 2600B System SourceMeter® Instrument
Reference Manual
7-52 2600BS-901-01 Rev. C / August 2016
Example
MaxCount = dataqueue.CAPACITY
while dataqueue.count < MaxCount do
dataqueue.add(1)
end
print("There are " .. dataqueue.count
.. " items in the data queue")
dataqueue.clear()
print("There are " .. dataqueue.count
.. " items in the data queue")
This example fills the data queue and prints the
number of items in the queue. It then clears the
queue and prints the number of items again.
Output:
There are 128 items in the data queue
There are 0 items in the data queue
Also see
dataqueue.add() (on page 7-49)
dataqueue.CAPACITY (on page 7-50)
dataqueue.clear() (on page 7-51)
dataqueue.next() (on page 7-52)
dataqueue.next()
This function removes the next entry from the data queue.
Type TSP-Link accessible
Affected by Where saved Default value
Function
Yes
Usage
value = dataqueue.next()
value = dataqueue.next(timeout)
value
The next entry in the data queue
timeout
The number of seconds to wait for data in the queue
Details
If the data queue is empty, the function waits up to the timeout value.
If data is not available in the data queue before the timeout expires, the return value is nil.
The entries in the data queue are removed in first-in, first-out (FIFO) order.
If the value is a table, a duplicate of the original table and any subtables is made. The duplicate table
does not contain any references to the original table or to any subtables.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

Keithley 2600B Specifications

General IconGeneral
BrandKeithley
Model2600B
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals