Author Topic: Some questions.  (Read 8354 times)

bramy

  • Newbie
  • *
  • Posts: 2
Some questions.
« on: March 26, 2012, 09:59:50 am »
Hi everybody.
My name is Marc, and I'm from Spain and I want to do some questions about this product.

In Bandscan, is there any possibility about making a list with frequency that you adquires with badnsacan? all in document like this   
frequency            level(db)                     Rds             deviation
107.0                    78                           Radio...               68
98.1                      80                            Radio..                56
......

In bandscan.exe aplication you can save the documents in excel?

Can you send me some examples in script that you have made?

Thank you everybody.

Jan

  • Hero Member
  • *****
  • Posts: 1139
Re: Some questions.
« Reply #1 on: March 26, 2012, 11:33:12 am »
In actual version all stations of interest must be known and entered before, ie. there's no possibility to assign the stations of interest dynamically from actual bandscan.

Jan

  • Hero Member
  • *****
  • Posts: 1139
Re: Some questions.
« Reply #2 on: March 27, 2012, 11:33:43 am »
In following version 1.3c which will be released soon there will be the functionality added. Note than following scripts will not work in actual version 1.3b.

1) The simplest example of getting basic station data (especially frequencies) from the bandscan. It takes about 2 minutes (depending on how many stations are on air in the location).

Code: [Select]
bandscan.acquire

set(stationindex,1)
set(filename,Bandscan %date %time.csv)
savetext(%filename,"Frequency";"Level [dBuV]";"Noise";"RDS PI";"RDS PS"%cr)

rpt:
if (%stationindex>%stationcount)
  stop
  endif
appendtext(%filename,"%station.frequency";"%station.level";"%station.noise";"%station.rdspi";"%station.rdsps"%cr)
inc(stationindex)
goto(rpt)

2) Some more functionality (pilot, RDS, frequency deviation parameters, bandscan bitmap). This requires to monitor each station for a few tens of seconds.

Code: [Select]
bandscan.acquire
set(filename,Bandscan %date %time)
extendedbandscan.savebitmap(%filename.jpg)
set(stationindex,1)
savetext(%filename.csv,"Frequency";"Level [dBuV]";"Quality";"RDS PI";"RDS PS";"Pilot [kHz]";"RDS [kHz]";"Max hold [kHz]";"Max at [kHz]";"Above limit [%]"%cr)
setmode(0)

rpt:
if (%stationindex>%stationcount)
  statusbartext(Done.)
  stop
  endif
statusbartext(Monitoring %station.frequency %station.rdsps ... [Station %stationindex of %stationcount])
tune(%station.frequency)
sleep(3)
getquality
if (%quality<3)
  goto(skip)
  endif
sleep(20)
send(?X)
frequencydeviation.acquire
if (%totalsamples<10)
  goto(skip)
  endif
getpilot
getrds
appendtext(%filename.csv,"%station.frequency";"%station.level";"%quality";"%station.rdspi";"%station.rdsps";"%pilot_";"%rds_";"%tsmaxhold_";"%maxat";"%abovelimit"%cr)
skip:
inc(stationindex)
goto(rpt)

Sample outputs are attached. The files may be opened in Excel.

bramy

  • Newbie
  • *
  • Posts: 2
Re: Some questions.
« Reply #3 on: March 27, 2012, 01:06:30 pm »
Woooowww thats amazingg!!! Thank you so much Jan!