Programming An Audio Level Measurement; Programming Example; Returned Values - Agilent Technologies 8960 Series Reference Manual

Hide thumbs Also See for 8960 Series:
Table of Contents

Advertisement

Programming an Audio Level Measurement

This section provides an example of how to make an audio level 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. Even though default
settings exist for each parameter, it is a good idea to deliberately set each parameter to make sure the
setting is correct for the specific audio analyzer measurement you are making.
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 Amplitude level for
40
50
OUTPUT 714;"SETup:AFANalyzer:SDIStortion:STATe OFF" !Turn off the SINAD and
60
70
80
OUTPUT 714;"SETup:AFANalyzer:FILTer NONE" !Bypass all audio filters.
90
OUTPUT 714;"SETup:AFANalyzer:DEMPhasis:STATe OFF" !Turn off de-emphasis.
100 OUTPUT 714;"SETup:AFANalyzer:EXPandor:STATe OFF" !Turn off the expandor.
110 OUTPUT 714;"SETup:AFANalyzer:DETector RMS" !Specify the RMS detector for the
120
130 OUTPUT 714;"SETup:AFANalyzer:TIMeout 3S" !Set a timeout value of 3 seconds
140
150 OUTPUT 714;"INITiate:AFANalyzer" !Start the AF Analyzer measurement.
160 OUTPUT 714;"FETCh:AFANalyzer:VOLTage?" !Fetch the Audio Level result.
170 ENTER 714;Audio_level
180 END

Returned Values

The results returned by this program are:
• Integrity returns the measurement integrity indicator (0 means a successful measurement with no
errors).
See"Integrity Indicator" on page
• Audio_level returns the analog audio level in volts rms.
.
!measurements to single trigger mode.
!in case the measurement cannot be made.
!Enter the returned value into a variable.
190.
S:\Hp8960\E1963A WCDMA\4.0 release\Reference Guide\Chapters\wcdma_prog_aaudio_lev.fm
Programming an Audio Level Measurement
!audio input voltage in Vpeak.
!distortion measurements since
!they are not being used.
!audio measurement.
"Audio
137

Advertisement

Table of Contents
loading

Table of Contents