EasyManuals Logo

Keithley 2657A User Manual

Keithley 2657A
805 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 #361 background imageLoading...
Page #361 background image
Section 7: TSP command reference Model 2657A High Power System SourceMeter® Instrument Reference Manual
7-48 2657A-901-01 Rev. B/December 2012
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.
Example
dataqueue.clear()
for i = 1, 10 do
dataqueue.add(i)
end
print("There are " .. dataqueue.count
.. " items in the data queue")
while dataqueue.count > 0 do
x = dataqueue.next()
print(x)
end
print("There are " .. dataqueue.count
.. " items in the data queue")
Clears the data queue, adds ten entries, then
reads the entries from the data queue.
Output:
There are 10 items in the data
queue
1.00000e+00
2.00000e+00
3.00000e+00
4.00000e+00
5.00000e+00
6.00000e+00
7.00000e+00
8.00000e+00
9.00000e+00
1.00000e+01
There are 0 items in the data queue
Also see
dataqueue.add() (on page 7-45)
dataqueue.CAPACITY
(on page 7-45)
dataqueue.clear()
(on page 7-46)
dataqueue.count
(on page 7-47)
delay()
This function delays the execution of the commands that follow it.
Type TSP-Link accessible
Affected by Where saved Default value
Function No
Usage
delay(seconds)
seconds
The number of seconds to delay; maximum 100,000
Details
You cannot set a delay for zero seconds.
The instrument delays execution of the commands for at least the specified number of seconds and fractional
seconds. However, the processing time may cause the instrument to delay 5 μs to 10 μs (typical) more than the
requested delay.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

Keithley 2657A Specifications

General IconGeneral
BrandKeithley
Model2657A
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals