Byte Order - Keithley SourceMeter 2400 User Manual

Sourcemeter 2400 series source measure unit
Hide thumbs Also See for SourceMeter 2400:
Table of Contents

Advertisement

18-56
SCPI Command Reference

Byte order

BORDer <name>
:FORMat:BORDer <name>
Parameters
<name> =
Query
:BORDer?
Description
This command is used to control the byte order for the IEEE-754 binary
formats. For normal byte order, the data format for each element is sent
as follows:
Byte 1 Byte 2 Byte 3 Byte 4 (Single precision)
For reverse byte order, the data format for each element is sent as
follows:
Byte 4 Byte 3 Byte 2 Byte 1 (Single precision)
The "#0" Header is not affected by this command. The Header is always
sent at the beginning of the data string for each measurement
conversion.
The ASCII data format can only be sent in the normal byte order. The
SWAPped selection is simply ignored when the ASCII format is
selected.
NOTE
The SWAPped byte order must be used when transmitting binary data to any
IBM PC compatible computer.
Status register format
SREGister <name>
:FORMat:SREGister <name>
Parameters
<name> =
Query
:SREGister?
Description
Query commands are used to read the contents of the status event regis-
ters. This command is used to set the response message format for those
query commands.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
2400 Series SourceMeter
Specify binary byte order
NORMal
Normal byte order for binary formats
SWAPped
Reverse byte order for binary formats
Query byte order
Set data format for reading status registers
ASCii
Decimal format
Hexadecimal
Hexadecimal format
OCTal
Octal format
BINary
Binary format
Query format for reading status registers
®
User's Manual

Advertisement

Table of Contents
loading

Table of Contents