
THM1176/TFM1186 Use
r’s Manual
v 2.0 r 1.0
– 02/20
Copyright © 2020 Metrolab Technology SA
www.metrolab.com
32
Command
Parameters
Description
:FORMat
[:DATA]?
[DEFault]
Query data output format
[:DATA]
ASCii | INTeger |
PACKed[,<length>] |
DEFault
Set format for returned flux
density measurement data.
– ASCii by default.
– INTeger returns an
IEEE488.2 definite-length
block, consisting of an 8-
byte header of the form
“#6nnnnnn” and followed by
nnnnnn bytes of binary data.
The data consists of a 32-bit
big-endian signed integer for
each flux density value,
containing the 16-bit big-
endian raw measurement
value if calibration correction
is disabled, or otherwise the
flux density value in
T
(THM1176-MF/HF/HFC),
mG (THM1176-LF) or nT
(TFM1186)
– PACKed,<length> returns
compressed data, where
<length> is the number of
bytes per sample: 1 or 2, 2
by default. The data will be
returned as an IEEE488.2
definite-length block,
consisting of a 7-byte
header of the form
“#5nnnnn” and followed by
nnnnn bytes of binary data.
The first byte is <length>,
encoded in ASCII; the
following four bytes are the
first field value, in the same
format as for INTeger; and
the following 8- or 16-bit
signed integers represent
the remaining data samples,
as a delta relative to the
previous sample.