EasyManua.ls Logo

Aeroflex 9102 - Mode function key menus

Aeroflex 9102
416 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 17 Programming Examples
Application examples
348 9102 Handheld Spectrum Analyzer Software version 5.31
Application examples
The application examples below use three subroutines which transmit
a command (Output9100), read a result (Input9100) or send a
command and read the acknowledgement (OutAck9100). These
subroutines are not printed here but available from Aeroflex on
request. The program examples are written in BASIC.
Signal monitoring Task: Permanently monitor a signal and check, if it is still present. The
signal frequency is 97.3 MHz and the signal strength is around -40
dBm.
OutAck9100 ("SENS:FREQ:CENT 97300000")' set the center to the
frequency
OutAck9100 ("SENS:FREQ:SPAN 2E06")' set span to 2 MHz
OutAck9100 ("SENS:REFL -30") ' set a sensitive ref level
OutAck9100 ("INP:ATT 10") ' set a low attenuation
OutAck9100 ("SENS:TRAC:A ACT") ' activate an normal trace
OutAck9100 ("SENS:DET:FUNC POS") ' use only positive samples
OutAck9100 ("CALC:MARK:AOFF") ' switch all markers off
OutAck9100 ("CALC:MARK:A NORM") ' activate marker A
SIG_FLAG = True
While SIG_FLAG = True
OutAck9100 ("SENS:SWE:STAT SING")' do one measurement
OutAck9100 ("CALC:MARK:A:X 97.3E06")' set marker to the signal
Output9100 ("CALC:MARK:A:Y?") ' read the signal level
Lvl = Val(Input9100())
If Lvl < -45 Then SIG_FLAG = False ' signal lost
Wend
Print "Signal disappeared!!!"

Table of Contents