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 #374 background imageLoading...
Page #374 background image
Series 2600B System SourceMeter® instrument Reference Manual Section 9: TSP command reference
2600BS-901-01 Rev. F/August 2021 9-53
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. Note that your output may
differ depending on the setting of format.asciiprecision.
Output:
There are 10 items in the data queue
1
2
3
4
5
6
7
8
9
10
There are 0 items in the data queue
Also see
dataqueue.add() (on page 9-49)
dataqueue.CAPACITY (on page 9-50)
dataqueue.clear() (on page 9-50)
dataqueue.count (on page 9-51)
format.asciiprecision (on page 9-100)
Using the data queue for real-time communication (on page 8-94)
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 (0 to 100 ks)
Details
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 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