Agilent Technologies 35670A Manual page 769

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

Advertisement

Comments for GETWATR (continued)
Turn on the source. The default type is a fixed sinusoidal waveform.
430
Set the source level.
440
Set the frequency of the sine source to 1000 Hz.
440
Turn on the waterfall display for trace A.
480
Display the weighted power band.
496
Specify Channel 1 power spectrum data in trace A waterfall display.
520
Label the transducer unit PA (Pascals) for Channel 1.
550
Enable the use of the transducer unit.
560
Start a measurement. Wait for the measurement to complete collecting data.
590
Pause the analyzer after the first measurement. This helps speed-up the execution of the program.
620
It also helps speed-up the transfer of data between the program and the analyzer.
Transfer the frequency and amplitude data to an array. Frequency data (X-axis values) and
640 - 1100
amplitude data (Y-axis values) are transferred separately. Frequency data is transferred
first.
Assign an I/O path for binary transfers.
680
Tell the analyzer to output block data in floating-point-binary representation (64-bit binary
720
transfer).
Tell the analyzer to output the X-axis values for trace A.
760
Read the header of the X-axis values data block.
810 - 830
Read the "#n" to determine how many digits are in the byte count.
810
Read the number of bytes.
830
Use the number of bytes to determine the number of data points. Divide the number of bytes by
840
8.
Re-dimension the array so it is the same size as the data block being read. This allows the data to
890
be read in the fastest possible manner.
Example Programs
GETWATR
F-31

Advertisement

Table of Contents
loading

Table of Contents