Chapter 4 Command Reference

Introduction

:FORMat Subsystem

This subsystem sets the data format for transferring numeric information. This data format is used for response data by those commands that are specifically designated to be affected by the :FORMat subsystem.

:FORMat[:DATA] ASCii REAL

Query Response

Comments

Sets or queries the data format type. Valid types are ASCii and REAL.

When ASCii type is selected, numeric response data is transferred as ASCII bytes in <NR3> format. The numbers are separated by commas as specified in IEEE

488.2.To indicate that no response data exists, Not a Number 9.91E37 is returned.

When REAL type is selected, response data is transferred in a

<definite length block> as a 64-bit IEEE 754 floating point number. To indicate that no response data exists, Not a Number 9.91E37 is returned in the <definite length block>.

A sequence of ASCII-encoded bytes: ASC or REAL

*RST: ASCii

This command affects the response format of the following commands:

:CALCulate:DATA?

:CALCulate3:DATA?

:FETCh? :MEASure query :READ? [:SENSe]:DATA? :TRACe[:DATA] query

Programming Guide

4-41

Page 207
Image 207
HP 53131A, 132A manual FORMat Subsystem, FORMatDATA ASCii Real