Dataqueue.capacity; Dataqueue.clear() - Keithley 708B Reference Manual

Switching matrix
Hide thumbs Also See for 708B:
Table of Contents

Advertisement

Section 7: Command reference

dataqueue.CAPACITY

This constant is the maximum number of entries that you can store in the data queue.
Type
TSP-Link accessible
Constant
Yes
Usage
count = dataqueue.CAPACITY
count
Example
MaxCount = dataqueue.CAPACITY
while dataqueue.count < MaxCount do
dataqueue.add(1)
end
print("There are " .. dataqueue.count
.. " items in the data queue")
Also see
dataqueue.add()

dataqueue.clear()

dataqueue.count
dataqueue.next()
dataqueue.clear()
This function clears the data queue.
Type
TSP-Link accessible
Function
Yes
Usage
dataqueue.clear()
Details
This function forces all dataqueue.add() commands that are in progress to time out.
The function deletes all data from the data queue.
7-52
Affected by
The variable assigned the value of dataqueue.CAPACITY
(on page 7-51)
(on page 7-52)
(on page 7-53)
(on page 7-54)
Affected by
Models 707B and 708B Switching Matrix Reference Manual
Where saved
Default value
Add items to the data queue until it is at capacity.
Output:
There are 128 items in the data
queue
Where saved
Default value
707B-901-01 Rev. A / August 2010

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

707b

Table of Contents