
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
Содержание 4294A
Страница 4: ...4 ...
Страница 18: ...18 Contents ...
Страница 24: ...24 Chapter1 To make effective use of this manual Other manuals attached to this unit ...
Страница 94: ...94 Chapter6 Reading Writing Measurement Data Reading Writing Data ...
Страница 110: ...110 Chapter7 Processing Measurement Results Analyzing Measurement Results ...
Страница 130: ...130 Chapter9 Communication with External Equipment Using the I O Ports Sample Program to Use the I O Port ...
Страница 136: ...136 Chapter10 Handling Errors Sample program for error handling ...
Страница 246: ...246 13 Application Sample Programs File Transfer Function ...
Страница 254: ...254 Chapter15 Setting the Display LCD Sample program for setting the LCD screen ...
Страница 507: ...Index Index 507 Index ...
Страница 508: ...508 Index Index ...
Страница 509: ...Index Index 509 Index ...
Страница 510: ...510 Index Index ...
Страница 511: ...Index Index 511 Index ...
Страница 512: ...512 Index Index ...
Страница 513: ...Index Index 513 Index ...
Страница 514: ...514 Index Index ...
Страница 515: ...Index Index 515 Index ...
Страница 516: ...516 Index Index ...
Страница 517: ...Index Index 517 Index ...
Страница 518: ...518 Index Index ...