EasyManuals Logo
Home>Keithley>Measuring Instruments>2651A

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 #396 background imageLoading...
Page #396 background image
Section 7: Command reference Model 2651A High Power System SourceMeter® Instrument Reference Manual
7-88 2651A-901-01 Rev. A / March 2011
Usage
value = format.data
format.data = value
value
The format to use for data, set to one of the following values:
ASCII format: 1 or format.ASCII
Single-precision IEEE Std 754 binary format: 2, format.SREAL, or format.REAL32
Double-precision IEEE Std 754 binary format: 3, format.REAL, format.REAL64, or
format.DREAL
Details
The precision of numeric values can be controlled with the format.asciiprecision attribute. The byte order
of format.SREAL, format.REAL, format.REAL32, and format.REAL64 can be selected with the
format.byteorder attribute.
REAL32 and SREAL select the same single precision format. REAL and REAL64 select the same double
precision format. They are alternative identifiers. Selecting which to use is a matter of preference.
The IEEE Std 754 binary formats use four bytes each for single-precision values and eight bytes each for
double-precision values.
When data is written with any of the binary formats, the response message starts with “#0” and ends with a new
line. When data is written with the ASCII format, elements are separated with a comma and space.
NOTE
Binary formats are not intended to be interpreted by humans.
Example
format.asciiprecision = 10
x = 3.14159265
format.data = format.ASCII
printnumber(x)
format.data = format.REAL64
printnumber(x)
Output:
3.141592650e+00
#0ñÔÈSû! @
Also see
format.asciiprecision (on page 7-86)
format.byteorder
(on page 7-87)
printbuffer()
(on page 7-145)
printnumber()
(on page 7-146)
fs.chdir()
This function sets the current working directory.
Type TSP-Link accessible Affected by Where saved Default value
Function Yes

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