7½ Digit Graphical Sampling Multimeter Reference Manual Section 8:
DMM7510-901-01 Rev. B / May 2015 8-215
format.byteorder
This attribute sets the binary byte order for the data that is printed using the printnumber() and
printbuffer() functions.
Type TSP-Link accessible Affected by Where saved Default value
Instrument reset
Usage
order = format.byteorder
format.byteorder = order
Byte order value as follows:
• Most significant byte first: format.BIGENDIAN
• Least significant byte first:
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.REAL32 and format.REAL64 data formats.
If you are sending data to a computer with a Microsoft Windows operating system, select the
format.LITTLEENDIAN byte order.
Example
format.data = format.REAL32
format.byteorder = format.LITTLEENDIAN
printnumber(x)
format.byteorder = format.BIGENDIAN
Output depends on the terminal program
you use, but will look something like:
#0¤p??
#0??p¤
Also see
format.asciiprecision (on page 8-214)
format.data (on page 8-216)
printbuffer() (on page 8-232)
printnumber() (on page 8-234)