Displaying multiple profiles as bargraps at the same time  

  RSS

Moderator
(@moderator)
Member Admin
Joined: 10 years ago
Posts: 1048
02/09/2010 11:50 am  

This code will show three profiles (GSM900, GSM1800 and UMTS) at the same time as 3 bargraphs (-100 to 0dBm).
This offers a very easy and fast site survey for those profiles.
Each profile will be measured once then the peak value will be shown as bargraph then the next profile will be selected etc.

Simply replace file number 150 with this code and press any hotkey afterwards to activate the code:

LOADSET PEAK1POW
 STOREVAR 0Eh
 LOADVAR 0Fh
 LDSHCO 01h
 JUMPLT LABEL-1
 LOADVAR 0Fh
 LDSHCO 02h
 JUMPLT LABEL-2
 LOADVAR 0Fh
 LDSHCO 03h
 JUMPLT LABEL-3
 LOADVAR 0Fh
 LDSHCO 04h
 JUMPLT LABEL-4
 LOADVAR 0Fh
 LDSHCO 05h
 JUMPLT LABEL-5
 LOADVAR 0Fh
 LDSHCO 06h
 JUMPLT LABEL-6
 LDSHCO 00h
 STOREVAR 0Fh
 STOP

LABEL-1:
 SETUP
    STARTFREQ:922 STOPFREQ:960
    RESBANDW:1 SWEEPTIME:1
 PRINTSTR 03h, "GSM900"
 LOADVAR 0Fh
 LDSHCO 01h
 ADD
 STOREVAR 0Fh
 STOP
LABEL-2:
 LOADVAR 0Eh
 LDCONST 100
 ADD
 LDCONST 100
 DIV
 PPIXBAR 00h
 LOADVAR 0Fh
 LDSHCO 01h
 ADD
 STOREVAR 0Fh
 STOP

LABEL-3:
 SETUP
    STARTFREQ:1800 STOPFREQ:1880
    RESBANDW:1 SWEEPTIME:50
 PRINTSTR 03h, "GSM18K"
 LOADVAR 0Fh
 LDSHCO 01h
 ADD
 STOREVAR 0Fh
 STOP
LABEL-4:
 LOADVAR 0Eh
 LDCONST 100
 ADD
 LDCONST 100
 DIV
 PPIXBAR 01h
 LOADVAR 0Fh
 LDSHCO 01h
 ADD
 STOREVAR 0Fh
 STOP

LABEL-5:
 SETUP
    STARTFREQ:2110 STOPFREQ:2170
    RESBANDW:103 SWEEPTIME:1
 PRINTSTR 03h, " UMTS"
 LOADVAR 0Fh
 LDSHCO 01h
 ADD
 STOREVAR 0Fh
 STOP
LABEL-6:
 LOADVAR 0Eh
 LDCONST 100
 ADD
 LDCONST 100
 DIV
 PPIXBAR 02h
 LOADVAR 0Fh
 LDSHCO 01h
 ADD
 STOREVAR 0Fh
 STOP

Its very simple to change the profiles or the profile settings (sampletime, RBW etc.)

Snip


Quote
Share: