EasyManuals Logo

Keithley 2600B User Manual

Keithley 2600B
897 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 #441 background imageLoading...
Page #441 background image
Section
7: TSP command reference Series 2600B System SourceMeter® Instrument
Reference Manual
7-102 2600BS-901-01 Rev. C / August 2016
Usage
order = format.byteorder
format.byteorder = order
order
Byte order value as follows:
• Most significant byte first: 0, format.NORMAL, format.NETWORK, or
format.BIGENDIAN
•
Least significant byte first: 1, format.SWAPPED or format.LITTLEENDIAN
Details
This attribute selects the byte order in which data is written when you are printing data values with the
printnumber() and printbuffer() functions. The byte order attribute is only used with the
format.SREAL, format.REAL, format.REAL32, and format.REAL64 data formats.
format.NORMAL, format.BIGENDIAN, and format.NETWORK select the same byte order.
format.SWAPPED and format.LITTLEENDIAN select the same byte order. Selecting which to use
is a matter of preference.
Select the format.SWAPPED or format.LITTLEENDIAN byte order when sending data to a
computer with a Microsoft Windows operating system.
Example
x = 1.23
format.data = format.REAL32
format.byteorder = format.LITTLEENDIAN
printnumber(x)
format.byteorder = format.BIGENDIAN
printnumber(x)
Output depends on the terminal program
you use, but will look something like:
#0¤p??
#0??p¤
Also see
format.asciiprecision (on page 7-101)
format.data (on page 7-102)
printbuffer() (on page 7-166)
printnumber() (on page 7-169)
format.data
This attribute sets the data format for data that is printed using the printnumber() and printbuffer()
functions.
Type TSP-Link accessible Affected by Where saved Default value
Attribute (RW)
No
Instrument reset
Recall setup
Not saved
1 (format.ASCII)
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

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Keithley 2600B and is the answer not in the manual?

Keithley 2600B Specifications

General IconGeneral
BrandKeithley
Model2600B
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals