Section 7: TSP command reference
Model 2657A High Power System SourceMeter® Instrument Reference Manual
7-150
2657A-901-01 Rev. B/December 2012
Example
format.data = format.ASCII
format.asciiprecision = 6
printbuffer(1, rb1.n, rb1)
This assumes that
rb1
is a valid reading buffer in the run-time environment. The use of
rb1.n
(
bufferVar
.n
) indicates that the instrument should output all readings in the reading buffer. In this example,
rb1.n
equals 10.
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
(on page 7-93)
(on page 7-148)
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
.
Summary of Contents for 2657A
Page 3: ......