Printbuffer() - Keithley 2651A Reference Manual

High power system sourcemeter instrument
Hide thumbs Also See for 2651A:
Table of Contents

Advertisement

Model 2651A High Power System SourceMeter® Instrument Reference Manual
Example 1
x = 10
print(x)
Example 2
x = 10
print(tostring(x))
Also see
format.asciiprecision

printbuffer()

This function prints data from tables or reading buffer subtables.
Type
TSP-Link accessible
Function
No
Usage
printbuffer(startIndex, endIndex, buffer1)
printbuffer(startIndex, endIndex, buffer1, buffer2)
printbuffer(startIndex, endIndex, buffer1, ..., bufferN)
startIndex
endIndex
buffer1
buffer2
bufferN
...
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.
2651A-901-01 Rev. A / March 2011
(on page 7-86)
Affected by
Beginning index of the buffer to print
Ending index of the buffer to print
First table or reading buffer subtable to print
Second table or reading buffer subtable to print
The last table or reading buffer subtable to print
One or more tables or reading buffer subtables separated with
commas
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 of an output response message:
10
Where saved
Default value
Section 7: Command reference
7-145

Advertisement

Table of Contents
loading

Table of Contents