Tektronix KEITHLEY SourceMeter 2606B Reference Manual page 544

Table of Contents

Advertisement

Model 2606B System SourceMeter® Instrument Reference Manual
Also see
bufferVar.n
(on page 15-28)
bufferVar.readings
format.asciiprecision
format.byteorder
format.data
(on page 15-102)
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.
Example
format.asciiprecision = 10
x = 2.54
printnumber(x)
format.asciiprecision = 3
printnumber(x, 2.54321, 3.1)
Configure the ASCII precision to 10 and set x to 2.54.
Read the value of x based on these settings.
Change the ASCII precision to 3.
View how the change affects the output of x and some numbers.
Output:
2.540000000e+00
2.54e+00, 2.54e+00, 3.10e+00
Also see
format.asciiprecision
format.byteorder
format.data
(on page 15-102)
print()
(on page 15-169)
printbuffer()
(on page 15-170)
2606B-901-01 Rev. C November 2021
(on page 15-29)
(on page 15-100)
(on page 15-100)
Affected by
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
(on page 15-100)
(on page 15-100)
Section 15: TSP command reference
Where saved
Default value
15-171

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the KEITHLEY SourceMeter 2606B and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents