Agilent Technologies 35670A Manual page 771

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

Advertisement

Comments for GETWATR (continued)
Read the X-axis values in the block into the array in binary.
920
Read the line feed character.
930
Tell the analyzer to output the Y-axis values for the waterfall.
970
Read the header of the Y-axis values data block.
1000 - 1010
Read the "#n" to determine how many digits are in the byte count.
1000
Read the number of bytes.
1010
Use the number of bytes to determine the number of data points. Divide the number of bytes by
1030
8.
Re-dimension the array so it is the same size as the data block being read. This allows the data
1060
to be read in the fastest possible manner.
Read all the Y-axis values in the block into the array in binary.
1090
Read the line feed character.
1100
Limits the range of values. When an octave band has no energy, the value is
1160 - 1180
- ◊ dB and the large negative number (-3.40E38) appears in the data block.
These statements restrict the image statements to the ± 1000 range.
Start the array at 0.
1160
Any values < -99, set to -99. This sets a minimum level.
1170
Any values > -99, set to -99. This sets a minimum level.
1180
If running the program in Instrument BASIC, open a display window.
1210
Example Programs
GETWATR
F-33

Advertisement

Table of Contents
loading

Table of Contents