SME FORMat
1038.6002.02 3.25 E-13
3.6.7 FORMat-System
This system contains the commands determining the format of the data the SME returns to the
controller. All queries returning a list of numeric data or block data are concerned. With each of these
commands, this connection is pointed to in the description.
Command Parameter Default
Unit
Remark
:FORMat
[:DATA]
:BORDer
ASCii | PACKed
NORMal | SWAPped
:FORMat[:DATA] ASCii | PACKed
The command specifies the data format, that the SME uses for returning the data. When data are
transmitted from the controller to the SME, the SME recognizes the data format automatically. In
this case, the value specified here has no significance.
Note: Settings using the FORMat:DATA command are only effective for commands with
which this is stated in the command description.
ASCii Numeric data are transmitted in plain text, separated by commas.
PACKed Numerical data are transmitted as binary block data. The format of the binary data
itself is command-specific. Its description can be found in Section 3.5.5.
Example: :FORM:DATA ASC *RST value is ASCii
:FORMat:BORDer NORMal | SWAPped
This command defines the order of bytes inside a binary block. This concerns only blocks which
use the IEEE754 format internally (see section 3.5.5, paragraph "Block Data").
NORMal: The SME expects (for setting commands) and sends (for queries) first the most
significant byte of each IEEE-754 floating point number, last the least significant
byte. For hosts based on a 80x86 processor this corresponds to the configuration of
bytes in the main memory. Thus, no further conversion is required.
SWAPped: The SME expects (for setting commands) and sends (for queries) first the least
significant byte of each IEEE754 floating point number, last the most significant byte.
Example: :FORMat:BORDer:NORMal *RST-value is NORMal