EasyManuals Logo

Keithley 2651A Reference Manual

Keithley 2651A
800 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #394 background imageLoading...
Page #394 background image
Section 7: Command reference Model 2651A High Power System SourceMeter® Instrument Reference Manual
7-86 2651A-901-01 Rev. A / March 2011
Also see
fileVar:close() (on page 7-82)
fileVar:flush()
(on page 7-83)
io.close()
(on page 7-99)
io.open()
(on page 7-100)
format.asciiprecision
This attribute sets the precision (number of digits) for all numbers printed with the ASCII format.
Type TSP-Link accessible Affected by Where saved Default value
Attribute (RW) No Instrument reset Not saved 6
Usage
precision = format.asciiprecision
format.asciiprecision = precision
precision
A number representing the number of digits to be printed for numbers printed with
the print(), printbuffer(), and printnumber() functions; must be a
number between 1 and 16
Details
This attribute specifies the precision (number of digits) for numeric data printed with the print(),
printbuffer(), and printnumber()functions. The format.asciiprecision attribute is only used with
the ASCII format. The precision value must be a number between 1 and 16.
Note that the precision is the number of significant digits printed. There is always one digit to the left of the
decimal point; be sure to include this digit when setting the precision.
Example
format.asciiprecision = 10
x = 2.54
printnumber(x)
format.asciiprecision = 3
printnumber(x)
Output:
2.540000000e+00
2.54e+00
Also see
format.byteorder (on page 7-87)
format.data
(on page 7-87)
print()
(on page 7-144)
printbuffer()
(on page 7-145)
printnumber()
(on page 7-146)

Table of Contents

Other manuals for Keithley 2651A

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Keithley 2651A and is the answer not in the manual?

Keithley 2651A Specifications

General IconGeneral
BrandKeithley
Model2651A
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals