Last updated: January 16, 2009
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 Audio Analyzer Measurement Description .
10 OUTPUT 714;"SETup:AFANalyzer:CONTinuous OFF" !Set the audio analyzer 20 !measurements to single trigger mode. 30 ! OUTPUT 714;"SETup:AFANalyzer:PEAK:VOLTage 3V" !Set the Expected peak voltage 40 !for the audio input level in Vpeak. 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 !in case the measurement cannot be made. 110 OUTPUT 714;"INITiate:AFANalyzer" !Start the AF Analyzer measurement. 120 OUTPUT 714;"FETCh:AFANalyzer:FREQuency?" !Fetch the Audio Frequency result. 130 ENTER 714;Audio_frequency !Enter the returned value into a variable. 140 END