Printnumber() - Keithley 2651A Reference Manual

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

Advertisement

Section 7: Command reference
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
format.byteorder
format.data
(on page 7-87)
print()
(on page 7-144)

printnumber()

printnumber()
This function prints numbers using the configured format.
Type
TSP-Link accessible
Function
No
Usage
printnumber(value1)
printnumber(value1, value2)
printnumber(value1, ..., valueN)
value1
value2
valueN
...
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.
7-146
Model 2651A High Power System SourceMeter® Instrument Reference Manual
(on page 7-86)
(on page 7-87)
(on page 7-146)
Affected by
Where saved
First value to print in the configured format
Second value to print in the configured format
Last value to print in the configured format
One or more values separated with commas
Default value
2651A-901-01 Rev. A / March 2011

Advertisement

Table of Contents
loading

Table of Contents