Agilent Technologies 35670A Manual page 752

Dynamic signal analyzer gpib programming
Hide thumbs Also See for 35670A:
Table of Contents

Advertisement

Example Programs
FREQRESP
Comments for FREQRESP (continued)
Display the frequency response data in trace A.
490
Store the frequency response data in data register D1.
520
Read the data from the data register D1. Since the data is being read with the TRAC:DATA
580
query, the data will be real and imaginary values from the analyzer—not the values shown on the
display.
Read the header of the data block. Read the "#n" to determine how many digits are in the byte
630
count.
Read the number of bytes.
640
Use the number of bytes to determine the number of data points. Divide the number of bytes by
660
8.
Re-dimension the array so it is the same size as the data block being read. This allows the data to
710
be read in the fastest possible manner.
Read all the numbers in the block into the array in binary.
730
Read the line feed character.
740
If running the program in Instrument BASIC, open a display window.
770
Print the first ten real and imaginary pairs.
800 - 840
F-14

Advertisement

Table of Contents
loading

Table of Contents