Specifies format of the data samples that are returned in response to FETCH:SCALAR? and FETCH:ARRAY? queries.

Command syntax

:FORMat[:DATA] <format>

where <format> is one of ASCii, REAL or PACKed

Query syntax

:FORMat[:DATA]?

Query response

ASCII, REAL or PACKED

Default value: ASCII

Description

ASCii: Returned data samples are represented as floating point numbers in text, separated by comma (for FETCH:ARRAY? query).

REAL: Returned data samples are represented as binary data with “#18” header. Each sample or timestamp consists of 8 bytes.

PACKed: See REAL.

For more details, see :FETCh[:SCALar] query description.