Programming an Audio Frequency Measurement
This section provides an example of how to make an audio frequency measurement with the Audio Analyzer
(AFANalyzer) via GPIB.
The following procedure assumes that an audio source is connected to the AUDIO IN connectors. See
Analyzer Measurement Description"
1. Configure audio analyzer measurement parameters using the SETup subsystem. When more than one
audio frequency signal may be present, use the 100 Hz bandpass filter to isolate the desired signal for
measurement (see the Programming Example below).
2. Start the audio analyzer measurement using the INITiate subsystem.
3. Use the FETCh? subsystem to obtain audio analyzer measurement results.
Programming Example
10
OUTPUT 714;"SETup:AFANalyzer:CONTinuous OFF" !Set the audio analyzer
20
30 ! OUTPUT 714;"SETup:AFANalyzer:PEAK:VOLTage 3V" !Set the Expected peak voltage
40
50
OUTPUT 714;"SETup:AFANalyzer:FREQuency:STATe ON" !Enable audio frequency meausurement.
60
OUTPUT 714;"SETup:AFANalyzer:FILTer TBPass" !Select the 100 Hz bandpass filter.
70
OUTPUT 714;"SETup:AFANalyzer:FILTer:TBPass 6000 Hz" !Set the 100 Hz bandpass
80
!filter's center frequency to 6 kHz (example; to measure SAT frequency).
90
OUTPUT 714;"SETup:AFANalyzer:TIMeout 3S" !Set a timeout value of 3 seconds
100
110 OUTPUT 714;"INITiate:AFANalyzer" !Start the AF Analyzer measurement.
120 OUTPUT 714;"FETCh:AFANalyzer:FREQuency?" !Fetch the Audio Frequency
130 ENTER 714;Audio_frequency !Enter the returned value into a variable.
140 END
Related Topics
"Audio Frequency Measurement Description" on page 36
"AFANalyzer Troubleshooting" on page 583
"Audio Analyzer Measurement Description" on page 33
"INITiate" on page 376
"SETup:AFANalyzer" on page 401
"FETCh:AFANalyzer" on page 315
"Control Program Example" on page 1
.
!measurements to single trigger mode.
!in case the measurement cannot be made.
S:\Hp8960\E1963A WCDMA\4.0 release\Reference Guide\Chapters\wcdma_prog_afan_freq.fm
Programming an Audio Frequency Measurement
!for the audio input level in Vpeak.
"Audio
result.
139