Set The Receive Array; Set Data Transfer Format; Sample Program : To Get Measurement Trace Using Ieee 64-Bit Floating Point - Agilent Technologies 4396B Gpib Programming Manual

Network/spectrum/impedance analyzer
Hide thumbs Also See for 4396B:
Table of Contents

Advertisement

c
Figure 4-3. Sample Program : To Get Measurement Trace Using IEEE 64-bit Floating
This program is similar to the ASCII transfer program. However, you must set the data transfer
format OFF when using the binary data transfer format.

Set the Receive Array

Line 190 sets the array size to the analyzer's maximum number of measurement points (801).
In this example, it is assumed that the analyzer is in the network analyzer mode of operation,
in which each point has complex data. If you use the analyzer in the spectrum analyzer mode,
each measurement point has only real data, so you must set the data array
Lines 200 and 210 interrogate the analyzer to determine the number of measurement points.
Line 220 resizes the receive array to match the data.

Set Data Transfer Format

To use FORM3 the computer must be instructed to stop formatting the incoming data with the
statement. This is done by de ning an I/O path with ASCII formatting OFF. The I/O path
points to the analyzer. This path can be used to read or write data to the analyzer, as long as
that data is in binary rather than ASCII format.
What are other binary
data formats?
Point Format (For External Controller) (2/2)
You can use the following data transfer formats, by
changing the GPIB command

IEEE 32 bit oating point format

MS-DOS
personal computer format
R
as follows:
in line 200.
Reading Measurement Data
b
4-7

Advertisement

Table of Contents
loading

Table of Contents