![background image](http://html1.mh-extra.com/html/keithley/sourcemeter-2600-series/sourcemeter-2600-series_reference-manual_4098633318.webp)
12-44 Instrument Control Library
Series 2600 System SourceMeters Reference Manual
2600S-901-01 Rev. A / May 2006
Return to
format.byteorder
Attribute
The binary byte order for data printed using the
printnumber
and
printbuffer
functions.
Usage
order = format.byteorder
-- Reads byte order.
format.byteorder = order
-- Writes byte order.
Set
order
to one of the following values:
0
or
format.NORMAL
Most significant byte first.
0
or
format.BIGENDIAN
Most significant byte first.
0
or
format.NETWORK
Most significant byte first.
1
or
format.SWAPPED
Least significant byte first.
1
or
format.LITTLEENDIAN
Least significant byte first.
Remarks
• This attribute selects the byte order that data is written when printing data values
with the
printnumber
and the
printbuffer
functions. The byte order attribute is
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
Example
Selects the SWAPPED byte order:
format.byteorder = format.SWAPPED
Содержание SourceMeter 2600 Series
Страница 507: ...AppendixA Specifications Appendix A topics Model 2600S Specifications page A 2 2600S 901 01 Rev A May 2006...
Страница 575: ...AppendixF DisplayCharacterCodes Appendix F topics Introduction page F 2...
Страница 592: ......
Страница 593: ......