
78
Chapter 6
Reading/Writing Measurement Data
Data Transfer Format
Data Transfer Format
The format applicable when you read measurement parameter settings from the
Agilent 4294A (as when you read the sweep start point with “STAR?”) is the ASCII
format, regardless of which data transfer format has been specified.
You can select either the ASCII format (default) or one of the binary formats for reading
measurement data, waveform analysis results and so on from the Agilent 4294A (as when
you read a data trace array with “OUTPDTRC?”). As for binary formats, you can select the
IEEE 32-bit floating point format, IEEE 64-bit floating point format, or MS-DOS personal
computer format as the appropriate format for your controller. Use the following
commands for selecting a desired data transfer format:
ASCII format (Form 4)
When you select the ASCII format as the data transfer format, numbers are transferred as
ASCII bytes, each of which corresponds to one of the formats shown below. Note that
numbers are separated from one another with a comma (“,”) in accordance with the IEEE
488.2 specification.
NOTE
Each numeric data character string is different in length from the others. Before extracting
each piece of data from character strings, therefore, you must remember that commas do
not always appear in the same locations.
•
Integer Format
Figure 6-1 shows this format. Numbers are expressed as integers. For example, 201 is
expressed as “+201” or “201.”
Figure 6-1
Integer Format
Data Transfer Format
Command
IEEE 32-bit floating point format
“FORM2” on page 316
IEEE 64-bit floating point format
“FORM3” on page 316
ASCII format (Default)
“FORM4” on page 317
MS-DOS personal computer format
“FORM5” on page 317
Summary of Contents for 4294A
Page 4: ...4 ...
Page 18: ...18 Contents ...
Page 24: ...24 Chapter1 To make effective use of this manual Other manuals attached to this unit ...
Page 94: ...94 Chapter6 Reading Writing Measurement Data Reading Writing Data ...
Page 110: ...110 Chapter7 Processing Measurement Results Analyzing Measurement Results ...
Page 136: ...136 Chapter10 Handling Errors Sample program for error handling ...
Page 246: ...246 13 Application Sample Programs File Transfer Function ...
Page 254: ...254 Chapter15 Setting the Display LCD Sample program for setting the LCD screen ...
Page 507: ...Index Index 507 Index ...
Page 508: ...508 Index Index ...
Page 509: ...Index Index 509 Index ...
Page 510: ...510 Index Index ...
Page 511: ...Index Index 511 Index ...
Page 512: ...512 Index Index ...
Page 513: ...Index Index 513 Index ...
Page 514: ...514 Index Index ...
Page 515: ...Index Index 515 Index ...
Page 516: ...516 Index Index ...
Page 517: ...Index Index 517 Index ...
Page 518: ...518 Index Index ...