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 #462 background imageLoading...
Page #462 background image
Model 2657A High Power System SourceMeter® Instrument Reference Manual Section 7: TSP command reference
2657A-901-01 Rev. B/December 2012 7-149
Example 1
x = 10
print(x)
Example of an output response message:
1.00000e+01
Note that your output might be different if you set
your ASCII precision setting to a different value.
Example 2
x = 10
print(tostring(x))
Example of an output response message:
10
Also see
format.asciiprecision (on page 7-91)
printbuffer()
This function prints data from tables or reading buffer subtables.
Type TSP-Link accessible
Affected by Where saved Default value
Function No
Usage
printbuffer(startIndex, endIndex, buffer1)
printbuffer(startIndex, endIndex, buffer1, buffer2)
printbuffer(startIndex, endIndex, buffer1, ..., bufferN)
startIndex
Beginning index of the buffer to print
endIndex
Ending index of the buffer to print
buffer1
First table or reading buffer subtable to print
buffer2
Second table or reading buffer subtable to print
bufferN
The last table or reading buffer subtable to print
...
One or more tables or reading buffer subtables separated with
commas
Details
The correct usage of this function for a buffer containing n elements is:
1 ≤ startIndex ≤ endIndex ≤ n
Where n refers to the index of the last entry in the tables to be printed.
If endIndex < startIndex or n < startIndex, no data is printed. If startIndex ≤ 1, 1 is used as
startIndex. If n < endIndex, n is used as endIndex.
When any given reading buffers are used in overlapped commands that have not yet completed (at least to the
desired index), this function outputs data as it becomes available.
When there are outstanding overlapped commands to acquire data, n refers to the index that the last entry in the
table will have after all the measurements have completed.
If you pass a reading buffer instead of a reading buffer subtable, the default subtable for that reading buffer will
be used.
This command generates a single response message that contains all data. The response message is stored in
the output queue.
The format.data attribute controls the format of the response message.

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