Section 7: Command reference Model 2651A High Power System SourceMeter® Instrument Reference Manual
7-146 2651A-901-01 Rev. A / March 2011
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.
Example
format.data = format.ASCII
format.asciiprecision = 6
printbuffer(1, rb1.n, rb1)
This assumes that rb1 is a valid reading buffer in the runtime environment.
Example of output data (rb1.readings):
4.07205e-05, 4.10966e-05, 4.06867e-05, 4.08865e-05, 4.08220e-05, 4.08988e-05,
4.08250e-05, 4.09741e-05, 4.07174e-05, 4.07881e-05
Also see
format.asciiprecision (on page 7-86)
format.byteorder
(on page 7-87)
format.data
(on page 7-87)
print()
(on page 7-144)
printnumber()
(on page 7-146)
printnumber()
This function prints numbers using the configured format.
Type TSP-Link accessible
Affected by Where saved Default value
Function No
Usage
printnumber(value1)
printnumber(value1, value2)
printnumber(value1, ..., valueN)
value1
First value to print in the configured format
value2
Second value to print in the configured format
valueN
Last value to print in the configured format
...
One or more values separated with commas
Details
There are multiple ways to use this function, depending on how many numbers are to be printed.
This function prints the given numbers using the data format specified by format.data and
format.asciiprecision.