Keithley SourceMeter 2600 Series Reference Manual page 318

Table of Contents

Advertisement

12-44 Instrument Control Library
format.byteorder
Attribute
The binary byte order for data printed using the
functions.
Usage
order = format.byteorder
format.byteorder = order
Set
or
0
or
0
or
0
or
1
or
1
• This attribute selects the byte order that data is written when printing data values
Remarks
with the
only used with the SREAL, REAL, REAL32, and REAL64 data formats.
• NORMAL, BIGENDIAN, and NETWORK select the same byte order. SWAPPED
and LITTLEENDIAN select the same byte order. They are alternative identifiers.
Selecting which to use is a matter of preference.
• Select the SWAPPED or LITTLEENDIAN byte order when sending data to an IBM
PC compatible computer.
Also see
format.asciiprecision, format.data, printbuffer,
Example
Selects the SWAPPED byte order:
format.byteorder = format.SWAPPED
2600S-901-01 Rev. A / May 2006
to one of the following values:
order
format.NORMAL
format.BIGENDIAN
format.NETWORK
format.SWAPPED
format.LITTLEENDIAN
and the
printnumber
Return to
Series 2600 System SourceMeters Reference Manual
printnumber
-- Reads byte order.
-- Writes byte order.
Most significant byte first.
Most significant byte first.
Most significant byte first.
Least significant byte first.
Least significant byte first.
functions. The byte order attribute is
printbuffer
printnumber
Section 12 topics
and
printbuffer

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents