SCPI Command Reference
17-51
Byte order
:BORDer <name>
:FORMat:BORDer <name>
Specify binary byte order
Parameters
<name> =
NORMal
Normal byte order for binary formats
SWAPped
Reverse byte order for binary formats
Query
:BORDer?
Query byte order
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>
Set data format for reading status registers
Parameters
<name> =
ASCii
Decimal format
Hexadecimal
Hexadecimal format
OCTal
Octal format
BINary
Binary format
Query
:SREGister?
Query format for reading status registers
Description
Query commands are used to read the contents of the status event registers.
This command is used to set the response message format for those query
commands.
When a status register is queried, the response message is a value that indi-
cates which bits in the register are set. For example, if bits B5, B4, B2, B1,
and B0 of a register are set (110111), the following values will be returned
for the selected data format:
ASCii
55
(decimal value)
Hexadecimal
#H37
(hexadecimal value)
OCTal
#Q67
(octal value)
BINary
#B110111
(binary value)
See Section 15 and
STATus subsystem
in this section for more information.
Содержание 6430
Страница 26: ......
Страница 32: ......
Страница 78: ...2 14 Connections ...
Страница 98: ...3 20 Basic Source Measure Operation ...
Страница 138: ...5 30 Source Measure Concepts ...
Страница 156: ...6 18 Range Digits Speed and Filters ...
Страница 168: ...7 12 Relative and Math ...
Страница 176: ...8 8 Data Store ...
Страница 202: ...9 26 Sweep Operation ...
Страница 248: ...11 22 Limit Testing ...
Страница 310: ...16 6 SCPI Signal Oriented Measurement Commands ...
Страница 418: ...17 108 SCPI Command Reference ...
Страница 450: ...18 32 Performance Verification ...
Страница 477: ...A Specifications ...
Страница 489: ...B StatusandErrorMessages ...
Страница 498: ...B 10 Status and Error Messages ...
Страница 499: ...C DataFlow ...
Страница 503: ...D IEEE 488BusOverview ...
Страница 518: ...D 16 IEEE 488 Bus Overview ...
Страница 519: ...E IEEE 488andSCPI ConformanceInformation ...
Страница 523: ...F MeasurementConsiderations ...
Страница 539: ...G GPIB488 1Protocol ...
Страница 557: ......