Problem with comparison.
/Designs/Measuring_instruments/RMDS01A/SW/timemark/main.c |
---|
0,0 → 1,86 |
#include "main.h" |
#define LED1 PIN_E0 // RMC |
#define LED2 PIN_E1 // 10s |
#define LED3 PIN_E2 // PPS |
#define LED4 PIN_A5 // Fix |
#define SYNC_OUTPUT PIN_A0 |
int1 sync; |
int8 sec; |
// Interrupt from B0 |
#int_EXT |
void EXT_isr(void) |
{ |
if (sync==1) |
{ |
output_high(SYNC_OUTPUT); |
output_toggle(LED2); |
delay_us(5); |
output_low(SYNC_OUTPUT); |
sync=0; |
} |
output_toggle(LED3); |
} |
void main() |
{ |
setup_adc_ports(NO_ANALOGS|VSS_VDD); |
setup_adc(ADC_CLOCK_DIV_2); |
setup_spi(SPI_SS_DISABLED); |
setup_timer_0(RTCC_INTERNAL|RTCC_DIV_1); |
setup_wdt(WDT_2304MS|WDT_DIV_16); |
setup_timer_1(T1_DISABLED); |
setup_timer_2(T2_DISABLED,0,1); |
setup_ccp1(CCP_OFF); |
setup_comparator(NC_NC_NC_NC);// This device COMP currently not supported by the PICWizard |
output_low(SYNC_OUTPUT); |
output_high(LED1); |
output_high(LED2); |
output_high(LED3); |
sync=0; |
enable_interrupts(INT_EXT); |
enable_interrupts(GLOBAL); |
while(true) |
{ |
while (getch()!='$'); |
if (getch()!='G') continue; |
if (getch()!='P') continue; |
if (getch()!='R') continue; |
if (getch()!='M') continue; |
if (getch()!='C') continue; |
if (getch()!=',') continue; |
getch(); |
getch(); |
getch(); |
getch(); |
getch(); |
output_toggle(LED1); |
sec=getch(); |
if ((sec=='9')) {sync=1; continue;} |
getch(); |
getch(); |
getch(); |
getch(); |
// getch(); GPS01A ma A na 18. znaku, ne na 19. |
if ('A'!=getch()) |
{ |
output_high(LED4); // Neni FIX |
if (sec=='0') {sync=1;} // Extra click hlasi chybu |
} |
else |
{ |
output_low(LED4); |
} |
} |
} |
/Designs/Measuring_instruments/RMDS01A/SW/timemark/main.hex |
---|
0,0 → 1,48 |
:1000000000308A004E280000FF00030E8301A1008B |
:100010000A08A0008A010408A2007708A300780853 |
:10002000A4007908A5007A08A600831383120B1E8A |
:100030001B288B182C28220884002308F70024088A |
:10004000F8002508F9002608FA0020088A00210E89 |
:100050008300FF0E7F0E09008A110A122F28271C29 |
:100060004528831605108312051483168910023063 |
:100070008312890664000230F700F70B3D28402800 |
:1000800083160510831205102710831609110430FA |
:10009000831289068B108A110A121B28840183138C |
:1000A0001F3083058316031787110C300313990043 |
:1000B000A230980090308312980083160317090825 |
:1000C000C039890003131F129F12003003178800E4 |
:1000D0008312870188018901FF300313A900831669 |
:1000E00003170908C039890003131F129F1200303B |
:1000F00003178800831203131F139F1383169F1384 |
:1001000083121F149412A9122908831687008312E0 |
:1001100029162908831687008312A9112908831636 |
:100120008700013083129400003083169400010888 |
:10013000C7390838810001308312031785000F305A |
:10014000F700031381018130840083130008F03924 |
:100150000738800064000008F739F719F039770490 |
:10016000800090010030F800920000308316920069 |
:100170008312291529088316870083129701831695 |
:100180009B019C0101309D008312031787018801A8 |
:1001900089018316031305108312051083160910B5 |
:1001A0008312091483168910831289148316091186 |
:1001B0008312091527100B16C0308B0464008C1EA7 |
:1001C000DE281A08243C031DDE2864008C1EE52866 |
:1001D0001A08473C031DDE2864008C1EEC281A0810 |
:1001E000503C031DDE2864008C1EF3281A08523C84 |
:1001F000031DDE2864008C1EFA281A084D3C031DDE |
:10020000DE2864008C1E01291A08433C031DDE28E9 |
:1002100064008C1E08291A082C3C031DDE2864008B |
:100220008C1E0F291A0864008C1E13291A086400FA |
:100230008C1E17291A0864008C1E1B291A086400DA |
:100240008C1E1F291A088316091001308312890693 |
:1002500064008C1E28291A08A8002808393C031DB0 |
:1002600033292714DE2864008C1E33291A08640001 |
:100270008C1E37291A0864008C1E3B291A0864005A |
:100280008C1E3F291A0864008C1E43291A08413C21 |
:100290000319532983168512831285162808303CCA |
:1002A0000319271457298316851283128512DE2815 |
:0202B0006300E9 |
:04400E00EA2CFF3F5A |
:00000001FF |
;PIC16F887 |
;CRC=3FA8 CREATED="12-VI-13 23:09" |
/Designs/Measuring_instruments/RMDS01A/SW/timemark/main.pjt |
---|
0,0 → 1,28 |
[PROJECT] |
Target=main.hex |
Development_Mode= |
Processor_Text=PIC16F887 |
ToolSuite=CCS |
Processor=0x887F |
[main] |
Type=4 |
Path= |
FileList= |
BuildTool= |
OptionString= |
AdditionalOptionString= |
[mru-list] |
1=main.c |
[Windows] |
0=0000 %S 0 0 796 451 3 0 |
[Opened Files] |
1=main.c |
2= |
3=16F887.h |
4= |
[Target Data] |
OptionString=-p +FM |
FileList=Z:\home\kaklik\svnMLAB\Designs\HAM Constructions\SDRX01B\SW\timemark\main.c |
[Units] |
Count=1 |
1=main (main) |
/Designs/Measuring_instruments/RMDS01A/SW/timemark/main.h |
---|
0,0 → 1,20 |
#include <16F887.h> |
#device adc=8 |
#FUSES WDT //Watch Dog Timer |
#FUSES HS //High speed Osc (> 4mhz for PCM/PCH) (>10mhz for PCD) |
#FUSES PUT //Power Up Timer |
#FUSES MCLR //Master Clear pin enabled |
#FUSES NOPROTECT //Code not protected from reading |
#FUSES NOCPD //No EE protection |
#FUSES NOBROWNOUT //No brownout reset |
#FUSES IESO //Internal External Switch Over mode enabled |
#FUSES FCMEN //Fail-safe clock monitor enabled |
#FUSES NOLVP //No low voltage prgming, B3(PIC16) or B5(PIC18) used for I/O |
#FUSES NODEBUG //No Debug mode for ICD |
#FUSES NOWRT //Program memory not write protected |
#FUSES BORV40 //Brownout reset at 4.0V |
#use delay(clock=8000000,RESTART_WDT) |
#use rs232(baud=9600,parity=N,xmit=PIN_C6,rcv=PIN_C7,bits=8,restart_wdt) |
/Designs/Measuring_instruments/RMDS01A/SW/timemark/readme.txt |
---|
0,0 → 1,0 |
Program pro PIC18F4550 pro nacitani PPS impulsu z GPS. |
/Designs/Measuring_instruments/RMDS01A/SW/SpectrumLab/Meteor_detection_skript/Conditions.txt |
---|
0,0 → 1,179 |
;Josef Szylar ver 1.4 - 8.2.2013 |
;8.2.2013 oprava t0_1 na t0_2 => moc rychlé děje |
;oprava dur_count1 na dur_count_1 |
;nově záznam o generování screenshotu bez meteoru |
;oprava timer3.expired na timer3.expired(1) |
;PODMÍNKA JEN 80 ZNAKŮ |
;PŘÍKAZY JEN 255 ZNAKŮ |
;Časovače |
;timer0 - časovač maximální mezery mezi 2 meteory K_max_time_btw_met |
;timer3 - časovač pro odpočet screenshotu bez meteoru K_max_time_to_scr |
;timer4 - časovač pro odečet screenshotu s meteorem po odvalení několika málo sekund aby nebyl meteor moc nahoře |
;Proměnné: |
;n=0 noise background šum pozadí |
;n_1=0 šum v okamžiku detekce meteoru |
;f=0 frequency of maximum amplitude frekvence na které se nachází maximum |
;aver_amp=0 average amplitude +- 100 Hz průměrná aplituda v rozsahu +- 100Hz od maxima |
;aver_amp_1=-999 je average amplitude aktualizovaná v průběhu měření meteoru |
;aver_amp_max=-999 je maximální hodnota z hodnot v průběhu měření meteoru |
;mag=0 magnitude |
;hour_count=0 count of meteors in hour |
;strenght_count=0 strenght (souborné hodinové počítadlo délky aktivity meteorů počítadlo 50ms) do RMOB_Dur |
;dur_count=0 maximální délka meteoru (count po dobu existence meteoru) |
;dur_count_1=0 pomocný k uchování hodnoty dur_count |
;dur_count_strenght=0 cout trvání meteoru po celou dobu |
;t0=0 průběžný čas a datum (aktualizace každých 50ms) v textové formě "YYYYMMDDhh" |
;t0_1 uložený čas pro jméno datového souboru k odeslaní ftp po uplynulé hodině |
;t1=0 čas start aktuální meteor v UNIX timestamp formě |
;t1_1=0 uložený čas pro zápis do RMOB_dur souboru value:event |
;t1_2=0 uložený čas pro odesílání "no meteor" screenshotu |
;t2=0 průběžný čas hour (hodnota průběžné hodiny) v textové formě "hh" |
;t3=0 průběžný čas hodiny minuty a vteřiny v textové formě "mmss" |
;t4=0 čas meteoru s nejdelší dobou aktivity (násobek K_int_cond * dur_count) |
;id_met=0 identifikátor meteoru do screenshotu |
;Konstanty: |
;K_station_name="JOSY_A" station name (devices code - 7 characters maximum, only "A-Z" and "_" - get your unique station code on http://home.robozor.cz) |
;K_path_scr="/media/sd/capture/" vložit lokální adresář pro screenshoty |
;K_path_audio="/media/sd/capture_audio/" vložit lokální adresář pro audio soubory |
;K_path_RMOB="/media/sd/RMOB/" vložit lokální adresář textové soubory RMOB |
;K_path_SDR="/media/sd/SDR_data/" vložit lokální adresář textové soubory RMOB |
;K_max_time_btw_met=1 maximální doba mezi 2 meteory jsou 1 vteřina (nižší se počítá jako 1 meteor) |
;K_max_time_to_scr=100 maximální doba bez meteoru, která pokud vyprší, udělá screenshot (max doba za kterou odroluje waterfall) |
;K_init_cond=50 interval pro nastavení vyhodnocení scriptu 50ms Evaluate SpectrumLab condition interval (50ms) |
;K_time_to_start_up_waterf=4 vteřiny od okraje screenshot Kolik sekund se má počkat do screenshotu po detekci metreoru (jak daleko od okraje) |
;K=7 - citlivost detekce meteoru (odstup od šumu v db) |
;K_min_dur_count_bolid=50 detekce bolidu pro audio (2,5 vteřiny) |
;Události |
;A_init (inicializace) |
;A_measurement (kdykoliv po 50 ms) |
;A_still_detect (událost trvání meteoru nebo bolidu) - průběžně |
;A_start_detect (událost detekce začátku meteoru nebo bolidu) |
;A_start_detect_bolid (událost 2,5 vteřiny od detekce meteoru) |
;A_end_detect (událost detekce konce meteoru nebo bolidu) |
;A_end_detect_end (konec cyklu události detekce konce meteoru nebo bolidu) |
;A_write_waterf (událost záznamu popisu detekce do waterfallu) |
;A_update_SDR_data_file (událost generování souboru SDR screenshot při záznamu meteoru) |
;A_update_RMOB_Dur_file (událost generování souborů RBOB) |
;A_met_screenshot (událost generování screenshotu waterfallu pokud je zaznamenán meteor) |
;A_no_met_screenshot (událost generování screenshotu waterfallu pokud není dlouho zaznamenán meteor) |
;A_once_hour_20s_before (událost 1x za hodinu před ukončením hodiny 20 vteřin) |
;A_once_hour |
;A_once_hour_10s_before (událost 1x za hodinu před ukončením hodiny 10 vteřin) |
;A_once_hour_30s_after (událost 1x za hodinu po ukončení hodiny 30 vteřin) |
;-----------------A_init - Inicializace proměnných------------------------------- |
if( initialising ) then A_init=1:A_still_detect=0:n=0:n_1=0:f=0:f_1=0:aver_amp=0:a=0:mag=0:mag_max=0:hour_count=0:strenght_count=0:strenght_count_1=0:dur_count=0:dur_count_1=0:aver_amp_1=-999:aver_amp_max=-999:t0=0:t0_1=0:t1=0:t1_1=0:t1_2=0:t2=0:t3=0:t4=0 |
if( A_init = 1 ) then A_init=2:id_met="no":id_met2="no":K_station_name="JOSY_A":K_path_scr="capture\\":K_path_audio="capture_audio\\":K_path_RMOB="C:\\Spectrum\\":K_path_SDR="C:\\Spectrum\\":K_path="Z:\\sd\\" |
if( A_init = 2 ) then A_init=3:K_max_time_btw_met=2:K_max_time_to_scr=100:K_init_cond=50:K_time_to_start_up_waterf=2:K=7:K_min_dur_count_bolid=50 |
if( A_init = 3 ) then A_init=4:A_measurement=0:A_start_detect=0:A_end_detect=0:A_end_detect_end=0:A_write_waterf=0:A_update_SDR_data_file=0:A_update_RMOB_Dur_file=0:A_met_screenshot=0 |
if( A_init = 4 ) then A_init=5:A_no_met_screenshot=0:A_once_hour_20s_before=0:A_once_hour=0:A_once_hour_10s_before=0:A_once_hour_30s_after=0:A_once_hour_40s_after=0:timer3.restart(K_max_time_to_scr) |
if( A_init = 5 ) then A_init=0: |
;----------------A_measurement - (po 50 ms)------------------------------------- |
;n=noise(9800,10200) aktualizace a výpočet hodnoty šumu (záleží na nastavení FFT) |
;f=peak_f(10300,10900) max intenzita signálu v daném intervalu frekvencí |
;aver_amp=avrg(f-100,f+100) vrací prům. intenzitu signálu 100 Hz kolem maxima |
;t0=str("YYYYMMDDhh",now) uloží aktuální datum |
;t1=now uloží UNIX time stamp na microsekundy (tečka oddělovač) |
;t2=str("hh",now) uloží aktuální hodinu |
;t3=str("mmss",now) uloží aktuální minutu a vteřinu |
;------------------------------------------------------------------------------- |
if( always ) then A_measurement=1:n=noise(9800,10200):f=peak_f(10300,10900):aver_amp=avrg(f-100,f+100):a=(n+K) |
if( A_measurement=1 ) then A_measurement=0:t0=str("YYYYMMDDhh",now):t1=round(now*1000):t2=str("hh",now):t3=str("mmss",now) |
;-----------------A_still_detect (událost trvání meteoru nebo bolidu)----------- |
if( aver_amp>a ) then A_still_detect=A_still_detect+1:timer0.restart(K_max_time_btw_met):timer3.restart(K_max_time_to_scr):dur_count=dur_count+1:strenght_count=strenght_count+1:aver_amp_1=aver_amp |
;-----------------A_aver_amp (událost aktualizace maximální hodnoty aver_amp)--- |
if( aver_amp_1>aver_amp_max ) then aver_amp_max=aver_amp_1 |
;-------A_aver_amp (událost aktualizace maximální hodnoty strenght_count_1)----- |
if( strenght_count>strenght_count_1 ) then strenght_count_1=strenght_count |
;-----------------A_start_detect (událost začátku meteoru)---------------------- |
if( A_still_detect=1 ) then A_start_detect=1:t1_1=t1:id_met=(K_station_name+str(t1_1)):sp.print("_ __t+"+str("ss",time)) |
if( A_start_detect=1 ) then A_start_detect=2:n_1=n:f_1=f |
if( A_start_detect=3 ) then A_start_detect=0: |
;------------A_end_detect (událost detekce konce meteoru nebo bolidu)----------- |
if( timer0.expired(1) ) then A_end_detect=1:id_met2=id_met:hour_count=hour_count+1:timer4.restart(K_time_to_start_up_waterf):dur_count_1=dur_count: |
if( A_end_detect=1 ) then A_end_detect=2:sp.print("_ __"+id_met2+" HCount"+str(hour_count)+" nb"+str(round(n_1))+" f"+str(f_1)+" mag"+str(round(n_1-aver_amp_max+10))) |
if( A_end_detect=2 ) then A_end_detect=3:A_update_SDR_data_file=1 |
if( A_end_detect=3 ) then A_end_detect=0 |
;-----------------A_update_SDR_data_file---------------------------------------- |
;SDR datový soubor záznamu radiometeorů (projekt astrozor.cz) |
;Název souboru:JOSY_A20130123.dat |
if( A_update_SDR_data_file=1 ) then A_update_SDR_data_file=2:fopen1(K_path_SDR+K_station_name+t0+".dat",a) |
if( A_update_SDR_data_file=2 ) then A_update_SDR_data_file=3:fp1(id_met2+" ; "+str(round(n_1))+" ; "+str(f_1)+" ; "+str(aver_amp_max)+" ; "+str(round(n_1-aver_amp_max+10))+" ; "+str(dur_count_1)+" ; "+str(K_init_cond)+" ; "+str(K_min_dur_count_bolid)) |
if( A_update_SDR_data_file=3 ) then A_update_SDR_data_file=4:fclose1 |
if( A_update_SDR_data_file=4 ) then A_update_SDR_data_file=5:A_update_RMOB_Dur_file=1 |
if( A_update_SDR_data_file=5 ) then A_update_SDR_data_file=0 |
;-----A_update_RMOB_Dur_file (událost generování souborů RMOB-Dur)-------------- |
;RMOB_Dur - soubor pro záznam jednotlivých radiometeorů (projekt www.rmob.org) |
;Název souboru:RMOB_Dur-201301.dat,kde 2013 je rok a 01 je měsíc |
if( A_update_RMOB_Dur_file=1 ) then A_update_RMOB_Dur_file=2:fopen2(K_path_RMOB+"RMOB_Dur-"+str("YYYYMM",now)+".dat",a) |
if( A_update_RMOB_Dur_file=2 ) then A_update_RMOB_Dur_file=3:fp2(t0,", count=",hour_count,", strenght=",strenght_count,", maxdur=",dur_count_1,", noise=",n_1,", event=",str("mm",t1)):fclose2 |
if( A_update_RMOB_Dur_file=3 ) then A_update_RMOB_Dur_file=4:A_end_detect_end=1 |
if( A_update_RMOB_Dur_file=4 ) then A_update_RMOB_Dur_file=0: |
;--------------A_end_detect_end------------------------------------------------- |
;zametení |
if( A_end_detect_end=1 ) then A_end_detect_end=2:dur_count=0:dur_count_1=0:aver_amp_1=-999:aver_amp_max=-999:rec.trigger=0:A_still_detect=0 |
if( A_end_detect_end=2 ) then A_end_detect_end=3:REM exec(K_path+K_path_audio+"ftp_up.bat "+id_met2+".wav") |
if( A_end_detect_end=3 ) then A_end_detect_end=4:REM exec(K_path+K_path_audio+"ftp_up.bat "+id_met2+".aux") |
if( A_end_detect_end=4 ) then A_end_detect_end=0 |
;-----------------A_start_detect_bolid (událost start bolidu)------------------- |
if( dur_count=K_min_dur_count_bolid ) then rec.filename=K_path+K_path_audio+id_met2+".wav":rec.trigger=1 |
;---A_met_screenshot (událost generování screenshotu waterfallu pokud je zaznamenán meteor)--- |
if( timer4.expired(1) ) then A_met_screenshot=1:capture (K_path+K_path_scr+id_met2+".jpg") |
if( A_met_screenshot=1 ) then A_met_screenshot=2:REM exec(K_path+K_path_scr+"ftp_up.bat "+id_met2+".jpg") |
if( A_met_screenshot=2 ) then A_met_screenshot=0: |
;---A_no_met_screenshot (událost generování screenshotu waterfallu pokud není dlouho zaznamenán meteor)--- |
if( timer3.expired(1) ) then A_no_met_screenshot=1:t1_2=t1:capture (K_path+K_path_scr+K_station_name+str(t1_2)+"no_met.jpg") |
if( A_no_met_screenshot=1 ) then A_no_met_screenshot=2:REM exec(K_path+K_path_scr+"ftp_up.bat "+K_station_name+str(t1_2)+"no_met.jpg") |
if( A_no_met_screenshot=2 ) then A_no_met_screenshot=3:fopen1(K_path_SDR+K_station_name+t0+".dat",a) |
if( A_no_met_screenshot=3 ) then A_no_met_screenshot=4:fp1(K_station_name+str(t1_2)+"no_met ; ; ; ; ; ; ; ") |
if( A_no_met_screenshot=4 ) then A_no_met_screenshot=5:fclose1 |
if( A_no_met_screenshot=5 ) then A_no_met_screenshot=6:t1_2=0 |
if( A_no_met_screenshot=6 ) then A_no_met_screenshot=0:timer3.restart(K_max_time_to_scr) |
;-A_once_hour_20s_before (událost 1x za hodinu před ukončením hodiny 20 vteřin)- |
;RMOB - soubor pro měření hodinových četností radiometeorů (projekt www.rmob.org) |
;Název souboru:RMOB-201301.dat, kde RMOB je zkratka pro Radio Meteor Observing Bulletin, 2013 je rok a 01 je měsíc |
if( val(t3,"####")=5940 ) then A_once_hour_20s_before=A_once_hour_20s_before+1 |
if( A_once_hour_20s_before=1 ) then A_once_hour=1:fopen4(K_path_RMOB+"RMOB-"+str("YYYYMM",now)+".dat",a):fp4(t0,",",t2,",",hour_count):fclose4:t0_1=t0 |
if( A_once_hour=1 ) then A_once_hour=2:sp.print("Last hour=",hour_count):hour_count=0:strenght_count=0:strenght_count_1=0 |
if( A_once_hour=2 ) then A_once_hour=3: |
if( A_once_hour=3 ) then A_once_hour=0: |
;-A_once_hour_10s_before (událost 1x za hodinu před ukončením hodiny 10 vteřin)- |
if( val(t3,"####")=5950 ) then A_once_hour_10s_before=1:A_once_hour_20s_before=0: |
if( A_once_hour_10s_before=1 ) then A_once_hour_10s_before=0 |
;-A_once_hour_30s_after (událost 1x za hodinu po ukončení hodiny 30 vteřin)- |
if( val(t3,"####")=0030 ) then A_once_hour_30s_after=A_once_hour_30s_after+1 |
if( A_once_hour_30s_after=1 ) then A_once_hour=1:exec(K_path_SDR+"ftp_up.bat "+K_station_name+t0_1+".dat") |
if( A_once_hour=1 ) then A_once_hour=0 |
;-A_once_hour_40s_after (událost 1x za hodinu po ukončení hodiny 40 vteřin)- |
if( val(t3,"####")=0040 ) then A_once_hour_40s_after=1:A_once_hour_30s_after=0 |
if( A_once_hour_40s_after=1 ) then A_once_hour_40s_after=2:t0_1=0 |
if( A_once_hour_40s_after=2 ) then A_once_hour_40s_after=0 |
;Nahrada casoveho intervalu timery |
;timer5 |
;timer6 |
;timer7 |
/Designs/Measuring_instruments/RMDS01A/SW/SpectrumLab/Meteor_detection_skript/ftp_up.bak |
---|
0,0 → 1,38 |
:: Batchfile to upload a screenshot to a website via FTP. |
:: Called from some 'Spectrum Lab Grabber' applications. |
:: FTP screenshots |
:: Uses the command line driven FTP client in MS windows. |
:: Only works when located in c:\Spectrum\media\sd\capture\ftp_upxxx.bat . |
:: Doesn't require any 3rd-party software ! |
:: You will need to modify your provider's ftp host name, |
:: your user name, and (unfortunately non-encrypted) |
:: the FTP password in the 'ftpcmd' lines further below . |
:: The name of the file to be sent is specified as argument %1 |
:: when this batchfile is invoked (from SL's periodic actions, etc) |
:: |
:: Make sure we are where we should be (current directory) : |
cd c:\Spectrum\ |
:: |
:: Create the input (command file) for the ftp client program . |
:: The line after the USER command is the password . |
> ftpcmd.txt ECHO USER robozor_data |
>> ftpcmd.txt ECHO robozor_data |
>> ftpcmd.txt ECHO cd robozor_data |
>> ftpcmd.txt ECHO binary |
>> ftpcmd.txt ECHO put %1 |
>> ftpcmd.txt ECHO disconnect |
>> ftpcmd.txt ECHO bye |
:: |
:: At this point, we have created a temporary command file |
:: for the FTP client. This comman file replaces the input |
:: which would be entered via keyboard in an INTERACTIVE ftp session . |
:: Now start the ftp client program, output redirected to a file |
:: which is EXTREMELY helpful for troubleshooting . |
:: Replace the dummy address with your provider's ftp address: |
FTP -n -s:ftpcmd.txt home.robozor.cz > ftplog.txt |
:: The -n option suppresses the auto-login upon initial connection . |
:: The -s option specifies a text file with FTP commands . |
:: If the FTP client (above) fails, TEST EACH STEP IN INTERACTIVE MODE ! |
:: (each step is now in ftpcmd.txt) |
:End |
/Designs/Measuring_instruments/RMDS01A/SW/SpectrumLab/README.txt |
---|
0,0 → 1,2 |
Nastaveni spectruhorizontal_record_analysis.USR |
mlabu pro analyzu audiozaznamu meteoru. |
/Designs/Measuring_instruments/RMDS01A/SW/SpectrumLab/horizontal_record_analysis.USR |
---|
0,0 → 1,2382 |
[ABOUT] |
Info1=Configuration file for Spectrum Lab |
Info2=Compilation date Aug 12 2011 |
MenuText=DC Receiver 48k |
InfoText= |
[GENERAL] |
UseRelativePaths=1 |
LockWindows=0 |
EnableDDE=0 |
DebugFlags=0 |
PrefRxAudioCenterFreq=-1 |
PrefTxAudioCenterFreq=-1 |
FrequencyListFile=frequencies\default.txt |
[SOUNDCARD] |
SampleRate=48000 |
UseDifferentOutputSR=0 |
ResampleToNominalOutputSR=0 |
NominalOutputSampleRate=11025 |
BitsPerSample=16 |
SampleRateDivisor=1 |
ResampleQuality1=1 |
ExternalAudioOptions=0 |
AudioInputStreamID= |
AudioOutputStreamID= |
[AUDIO_VIA_IP] |
Options=0 |
RcvFromPort=1024 |
SendToPort=1024 |
RcvFromIp=192.168.0.200 |
SendToIp=192.168.0.200 |
[AUDIO_FILE_IO] |
ConsADCactive=0 |
ConsADCfile=audio.dat |
CmdToStartADCfile=SndInput.exe /sr=11025 /ch=1 /chunk=512 /minsize=512 |
CmdToStopADCfile=SndInput.exe /quit |
ProdDACactive=0 |
MaxServerFileSizeKb=0 |
ProdDACfile= |
CmdToStartDACfile= |
CmdToStopDACfile= |
DuplicateAudioForOutput=0 |
RcvAudioViaCopydata=0 |
SendAudioViaCopydata=0 |
SendCopydataTo= |
AdcFullScaleInputVoltage=1 |
AdcInputImpedance=600 |
[SDR] |
NcoFreqHz=10700000 |
Options=0 |
TestToneFreq=0 |
Left=232 |
Top=181 |
Width=334 |
Height=127 |
Visible=0 |
FormStyle=0 |
[SDR_IQ] |
Enabled=0 |
RadioType=0 |
FilterNr=3 |
RFgain_dB=0 |
IFgain_dB=24 |
RefFrequency=198000 |
FftCompensationFile= |
[PERSEUS] |
BitstreamNr=0 |
RFgain_dB=-10 |
PreselectorNr=11 |
RefFrequency=198000 |
FftCompensationFile= |
[SR_CALIBRATOR] |
Enabled=0 |
MeasureOnly=0 |
Algorithm=1 |
PhasesLockedToGPS=0 |
ConnectTo=1 |
MinRefAmpl=-80 |
RefFrequency=15625 |
RefPeriodicity=0 |
UpdateCycle=10 |
CalibBandwidth=1 |
MaxOffset_ppm=5 |
Averages=200 |
ScopeOpt=0 |
[FO_CALIBRATOR] |
Enabled=0 |
ConnectTo=1 |
MinRefAmpl=-60 |
RefFrequency=2000 |
CalibBandwidth=10 |
MaxFreqOffset=10 |
Averages=200 |
[WAVE_ANALYSIS] |
PlayInLoops=1 |
StopAnalyzerOnEOF=1 |
ReconnectBrokenStreams=0 |
PlayUpsampled=1 |
WaveAnalysisSp=2 |
WaveAnalysisScMode=0 |
WaveAnalysisOptions=0 |
WaveAnalysisNumThreads=1 |
WaveAnalysisRawDataType=2 |
WaveAnalysisRawTypeFlags=0 |
WaveAnalysisRawNChannels=0 |
WaveAnalysisRawFileSampleRate=48000 |
[WAVE_SAVE] |
Downsampled=0 |
SampleRate=4000 |
BitsPerSample=16 |
AsComplexPairs=0 |
CenterFrequency=0 |
WaveFileFormat=2 |
WaveSaveFileMode=2 |
InfoInHeader=1 |
MaxFileSize=1400 |
Flags=4 |
FileIndex=0 |
TrigRecorderFile=bolid_svakov_30129_011026.wav |
TrigRecorderFileMode=0 |
PreTrigSeconds=5 |
PostTrigSeconds=240 |
[SpectrumPlayer] |
Options=0 |
LoopMode=0 |
Gain_dB=0 |
FinMin=0 |
FinMax=3000 |
FoutMin=0 |
[SOUND_THREAD] |
StartSoundThread=1 |
StartSoundInput=1 |
StartSoundOutput=1 |
StartSignalGenerator=0 |
SignalGeneratorUnits=0 |
StartDigitalFilter=1 |
DigitalFilterBypass=0 |
FreeRunningSpeedPcnt=100 |
StereoProcessing=1 |
MinimizeLatency=0 |
ChainBothChannels=0 |
IQInputSwapChannels=0 |
IQInputAdjustEnable=0 |
IQAdjustBalance=0 |
IQAdjustPhase=0 |
PrimaryTimeSource=0 |
ManualAnalysisStartTime=0 |
[DIGIMODE] |
Active=0 |
DemodSource1=1 |
ComplexInput=0 |
ModulatorDest1=3 |
ModulatorDest2=0 |
DecoderLogfile=Term1.txt |
[MODES] |
OperMode=1 |
Modulation=8 |
CodesetNr=5 |
BitEncoding=2 |
UseDecoderNr=0 |
BitSyncAlgo=1 |
DisableFilters=0 |
SpecialFlags=0 |
ScopeMode=3 |
ScopeTrigger=0 |
ScopeUpdateTime=500 |
ScopeHorzSecPerDiv=0.1 |
ScopeHorzPixelPerDiv=20 |
ScopeHorzOpt=4 |
ScopeVertOpt=0 |
AutoSwitch2Rx=0 |
AutoSwitch2Tx=0 |
HalfDuplex=1 |
FlipMainAnalyser=1 |
BeaconMode=0 |
[AUDIO_FREQUENCIES] |
fc_rx=2200 |
fc_tx=2200 |
f_shift=170 |
fc_stepwidth=1 |
[MODULATION] |
symbol_rate=50 |
rev_keying=0 |
tx_freq_multiplier=1 |
pulse_shaping=1 |
shape_percent=100 |
output_level=100 |
special_options=0 |
[DETECTOR] |
use_afc=1 |
narrow_afc=0 |
afc_tune_range=100 |
squelch_thrsh=25 |
[SERIAL_DECODER] |
AsyncStartBit=1 |
AsyncDataBits=8 |
AsyncParityBit=0 |
AsyncStopBit=1 |
AsyncMsbFirst=0 |
[RX_CHAR_DISPLAY] |
ChrDisplayMode=0 |
LinefeedAfterPause=0 |
UseSlashZero=1 |
PrintDateOrTime=0 |
RejectedMessages= |
[MODE_DLL] |
name=DemoDll.dll |
use_it=0 |
[HELL_FONT] |
name=MS Sans Serif |
height=-11 |
style=0 |
cut_top=0 |
[DIGIMODE2] |
Active=0 |
DemodSource1=1 |
ComplexInput=0 |
ModulatorDest1=3 |
ModulatorDest2=0 |
DecoderLogfile=Term1.txt |
[MODES2] |
OperMode=1 |
Modulation=8 |
CodesetNr=5 |
BitEncoding=2 |
UseDecoderNr=0 |
BitSyncAlgo=1 |
DisableFilters=0 |
SpecialFlags=0 |
ScopeMode=3 |
ScopeTrigger=0 |
ScopeUpdateTime=500 |
ScopeHorzSecPerDiv=0.1 |
ScopeHorzPixelPerDiv=20 |
ScopeHorzOpt=4 |
ScopeVertOpt=0 |
AutoSwitch2Rx=0 |
AutoSwitch2Tx=0 |
HalfDuplex=1 |
FlipMainAnalyser=1 |
BeaconMode=0 |
[AUDIO_FREQUENCIES2] |
fc_rx=2200 |
fc_tx=2200 |
f_shift=170 |
fc_stepwidth=1 |
[MODULATION2] |
symbol_rate=50 |
rev_keying=0 |
tx_freq_multiplier=1 |
pulse_shaping=1 |
shape_percent=100 |
output_level=100 |
special_options=0 |
[DETECTOR2] |
use_afc=1 |
narrow_afc=0 |
afc_tune_range=100 |
squelch_thrsh=25 |
[SERIAL_DECODER2] |
AsyncStartBit=1 |
AsyncDataBits=8 |
AsyncParityBit=0 |
AsyncStopBit=1 |
AsyncMsbFirst=0 |
[RX_CHAR_DISPLAY2] |
ChrDisplayMode=0 |
LinefeedAfterPause=0 |
UseSlashZero=1 |
PrintDateOrTime=0 |
RejectedMessages= |
[MODE_DLL2] |
name=DemoDll.dll |
use_it=0 |
[HELL_FONT2] |
name=MS Sans Serif |
height=-11 |
style=0 |
cut_top=0 |
[DIGIMODE3] |
Active=0 |
DemodSource1=1 |
ComplexInput=0 |
ModulatorDest1=3 |
ModulatorDest2=0 |
DecoderLogfile=Term1.txt |
[MODES3] |
OperMode=1 |
Modulation=8 |
CodesetNr=5 |
BitEncoding=2 |
UseDecoderNr=0 |
BitSyncAlgo=1 |
DisableFilters=0 |
SpecialFlags=0 |
ScopeMode=3 |
ScopeTrigger=0 |
ScopeUpdateTime=500 |
ScopeHorzSecPerDiv=0.1 |
ScopeHorzPixelPerDiv=20 |
ScopeHorzOpt=4 |
ScopeVertOpt=0 |
AutoSwitch2Rx=0 |
AutoSwitch2Tx=0 |
HalfDuplex=1 |
FlipMainAnalyser=1 |
BeaconMode=0 |
[AUDIO_FREQUENCIES3] |
fc_rx=2200 |
fc_tx=2200 |
f_shift=170 |
fc_stepwidth=1 |
[MODULATION3] |
symbol_rate=50 |
rev_keying=0 |
tx_freq_multiplier=1 |
pulse_shaping=1 |
shape_percent=100 |
output_level=100 |
special_options=0 |
[DETECTOR3] |
use_afc=1 |
narrow_afc=0 |
afc_tune_range=100 |
squelch_thrsh=25 |
[SERIAL_DECODER3] |
AsyncStartBit=1 |
AsyncDataBits=8 |
AsyncParityBit=0 |
AsyncStopBit=1 |
AsyncMsbFirst=0 |
[RX_CHAR_DISPLAY3] |
ChrDisplayMode=0 |
LinefeedAfterPause=0 |
UseSlashZero=1 |
PrintDateOrTime=0 |
RejectedMessages= |
[MODE_DLL3] |
name=DemoDll.dll |
use_it=0 |
[HELL_FONT3] |
name=MS Sans Serif |
height=-11 |
style=0 |
cut_top=0 |
[DIGIMODE4] |
Active=0 |
DemodSource1=1 |
ComplexInput=0 |
ModulatorDest1=3 |
ModulatorDest2=0 |
DecoderLogfile=Term1.txt |
[MODES4] |
OperMode=1 |
Modulation=8 |
CodesetNr=5 |
BitEncoding=2 |
UseDecoderNr=0 |
BitSyncAlgo=1 |
DisableFilters=0 |
SpecialFlags=0 |
ScopeMode=3 |
ScopeTrigger=0 |
ScopeUpdateTime=500 |
ScopeHorzSecPerDiv=0.1 |
ScopeHorzPixelPerDiv=20 |
ScopeHorzOpt=4 |
ScopeVertOpt=0 |
AutoSwitch2Rx=0 |
AutoSwitch2Tx=0 |
HalfDuplex=1 |
FlipMainAnalyser=1 |
BeaconMode=0 |
[AUDIO_FREQUENCIES4] |
fc_rx=2200 |
fc_tx=2200 |
f_shift=170 |
fc_stepwidth=1 |
[MODULATION4] |
symbol_rate=50 |
rev_keying=0 |
tx_freq_multiplier=1 |
pulse_shaping=1 |
shape_percent=100 |
output_level=100 |
special_options=0 |
[DETECTOR4] |
use_afc=1 |
narrow_afc=0 |
afc_tune_range=100 |
squelch_thrsh=25 |
[SERIAL_DECODER4] |
AsyncStartBit=1 |
AsyncDataBits=8 |
AsyncParityBit=0 |
AsyncStopBit=1 |
AsyncMsbFirst=0 |
[RX_CHAR_DISPLAY4] |
ChrDisplayMode=0 |
LinefeedAfterPause=0 |
UseSlashZero=1 |
PrintDateOrTime=0 |
RejectedMessages= |
[MODE_DLL4] |
name=DemoDll.dll |
use_it=0 |
[HELL_FONT4] |
name=MS Sans Serif |
height=-11 |
style=0 |
cut_top=0 |
[PTT_VOX] |
VoxSource=0 |
RelayLeadTime=50 |
FollowUpTime=500 |
VoxTrigLevel=1024 |
AudioLatencyComp=0 |
[DCF77] |
Active=0 |
F_center=650 |
[SPECTRUM_BUFFER] |
MaxSpectrumBufferFftBins=16000 |
PeriodicUpdateOvw=0 |
[FFT_INPUT] |
ConnectSpectrumTo=1 |
ConnectSpectrumTo_Q=2 |
ConnectSpectrumCh2To=0 |
ConnectSpectrumCh2To_Q=0 |
Same4AllChnls=1 |
RateDivisor=1 |
AntiAlias=1 |
ZeroPadInput=0 |
ApplyFOCalib=0 |
TrigOptions=0 |
TriggeredAverages=0 |
NrOfSamples=2048 |
Average=0 |
BinSmoothing=0 |
WindowFunc=1 |
ComplexFFT=2 |
CenterFrequency=0 |
LoSweepRate=100 |
LoSweepMode=0 |
[FFT_OUTPUT] |
PhysicalUnit=dBfs |
NeedPhaseInfo=2 |
UserDbOffset=0.0 |
[FFT_INPUT2] |
ConnectSpectrumTo=2 |
ConnectSpectrumTo_Q=0 |
ConnectSpectrumCh2To=0 |
ConnectSpectrumCh2To_Q=0 |
Same4AllChnls=1 |
RateDivisor=1 |
AntiAlias=1 |
ZeroPadInput=0 |
ApplyFOCalib=0 |
TrigOptions=0 |
TriggeredAverages=0 |
NrOfSamples=8192 |
Average=0 |
BinSmoothing=0 |
WindowFunc=2 |
ComplexFFT=0 |
CenterFrequency=0 |
LoSweepRate=0 |
LoSweepMode=0 |
[FFT_OUTPUT2] |
PhysicalUnit=dB |
NeedPhaseInfo=0 |
UserDbOffset=0.0 |
[DISPLAY] |
ReadCursorMode=1 |
ReadCursorOpts=40 |
PeakDetCursor=0 |
UserCursorExpr1=str("hh:mm:ss.s",cursor.spectrum.time) |
FreqMin=-709.53707633 |
FreqMax=21427.8121906 |
FreqMin2=600 |
FreqMax2=800 |
FreqOffset=0 |
FreqOffset2=0 |
EditFWithoutOffset=0 |
AmplMin=-110.96 |
AmplMax=-34.798 |
AmplMin2=-110.96 |
AmplMax2=-34.798 |
CorrelAmplMin=-1 |
CorrelAmplMax=10 |
SpectrumActive=1 |
SpectrumOrient=1 |
SpecGraphArea=100 |
DrawingOptions=0 |
LongTermAvrgOptions=0 |
OnePixelPerBin1=0 |
OnePixelPerBin2=0 |
LogFreqScale=0 |
WaterStripPixels=100 |
SplitFreqScale=0 |
SplitFreqPercent=50 |
CorrelogramVisible=0 |
CorrelogramOptions=0 |
CorrelFmin=0 |
CorrelFmax=0 |
CorrelogramWidthPercent=33 |
CorrelatorLagMin=-0.000333333333333 |
CorrelatorLagMax=0.000333333333333 |
CorrelatorAmplMin=-1 |
CorrelatorAmplMax=10 |
AmplitudeBar=0 |
AmplitudeBarOpts=2 |
AmplitudeBarSize=200 |
AmplitudeBarRange=1 |
AmplBarShowChannelsFromWatchWindow=1 |
SpectrumMirror=0 |
ScaleFontName=Courier New |
ScaleFontSize=8 |
FreqScaleOptions=33 |
FreqScaleFixedSize=0 |
SpectrumStyleNPos=0 |
SpectrumMathOptions=0 |
SpecialDisplayMode=0 |
ReassignmentFlags=0 |
WaterLineWidth=2 |
WaterScrollEnabled=1 |
AutoScrollSpeed=0 |
AutoScrollOverlap=1 |
SmoothScroll=0 |
AmplitudeGrid=1 |
FrequencyGrid=1 |
FreqGridStyle=1 |
TDDisplayOptions=1 |
TDFontName=Arial |
TDFontSize=9 |
SpectrumBgColor=0 |
SpectrumGridColor=8421504 |
SpectrumPenColor0=65535 |
SpectrumPenColor1=16744319 |
SpectrumPenColor2=65280 |
SpectrumPenColor3=8388608 |
SpectrumPenColor4=255 |
SpectrumPenColor5=4227327 |
SpectrumPenColor6=8388863 |
SpectrumPenColor7=16744703 |
FreqscaleBgColor=16777215 |
FreqscaleFgColor=0 |
StationFreqColor=16776960 |
AmplBarBgColor=16711680 |
WaterBadColor=4144959 |
WaterGridColor=16777215 |
WaterLabelTextColor=16777215 |
WaterLabelBkgndColor=0 |
WaterLabelTransparent=1 |
CursorTextColor=8355839 |
CursorBkgndColor=0 |
WaterFreqGrid=0 |
WaterTimeGrid=0 |
WaterTimeLabel=3 |
TDTimeLabel=1 |
UserTimeLabel=YYYY-MM-DD hh:mm:ss |
TimeGridSeconds=10 |
TimeGridSource= |
TimeGridStyle=2 |
ChnIndividualContrast=0 |
WaterColorPalette=palettes\sunrise.pal |
VisualAGCMode=0 |
VisualAGCRef=-100 |
ColorPalContrast=67 |
ColorPalBrightness=138 |
ColorPalSaturation=128 |
WaterColorPalette2=palettes\sunrise.pal |
VisualAGCMode2=0 |
VisualAGCRef2=-100 |
ColorPalContrast2=100 |
ColorPalBrightness2=128 |
ColorPalSaturation2=128 |
WaterColorPalette3=palettes\sunrise.pal |
VisualAGCMode3=0 |
VisualAGCRef3=-100 |
ColorPalContrast3=100 |
ColorPalBrightness3=128 |
ColorPalSaturation3=128 |
WaterScrollInterval=0.006 |
WaterfallAveraging=0 |
PeakInterval=5 |
[DISPLAY2] |
ReadCursorMode=1 |
ReadCursorOpts=40 |
PeakDetCursor=0 |
UserCursorExpr1=str("hh:mm:ss.s",cursor.spectrum.time) |
FreqMin=0 |
FreqMax=5000 |
FreqMin2=600 |
FreqMax2=800 |
FreqOffset=0 |
FreqOffset2=0 |
EditFWithoutOffset=0 |
AmplMin=-120 |
AmplMax=0 |
AmplMin2=-120 |
AmplMax2=0 |
CorrelAmplMin=-1 |
CorrelAmplMax=10 |
SpectrumActive=0 |
SpectrumOrient=0 |
SpecGraphArea=100 |
DrawingOptions=0 |
LongTermAvrgOptions=0 |
OnePixelPerBin1=0 |
OnePixelPerBin2=0 |
LogFreqScale=0 |
WaterStripPixels=100 |
SplitFreqScale=0 |
SplitFreqPercent=50 |
CorrelogramVisible=0 |
CorrelogramOptions=0 |
CorrelFmin=0 |
CorrelFmax=0 |
CorrelogramWidthPercent=33 |
CorrelatorLagMin=-0.1 |
CorrelatorLagMax=0.1 |
CorrelatorAmplMin=-1 |
CorrelatorAmplMax=10 |
AmplitudeBar=0 |
AmplitudeBarOpts=2 |
AmplitudeBarSize=75 |
AmplitudeBarRange=100 |
AmplBarShowChannelsFromWatchWindow=0 |
SpectrumMirror=0 |
ScaleFontName=Courier New |
ScaleFontSize=8 |
FreqScaleOptions=1 |
FreqScaleFixedSize=0 |
SpectrumStyleNPos=4 |
SpectrumMathOptions=0 |
SpecialDisplayMode=0 |
ReassignmentFlags=0 |
WaterLineWidth=1 |
WaterScrollEnabled=1 |
AutoScrollSpeed=1 |
AutoScrollOverlap=2 |
SmoothScroll=0 |
AmplitudeGrid=1 |
FrequencyGrid=1 |
FreqGridStyle=1 |
TDDisplayOptions=1 |
TDFontName=Arial |
TDFontSize=9 |
SpectrumBgColor=0 |
SpectrumGridColor=8421504 |
SpectrumPenColor0=65535 |
SpectrumPenColor1=16744319 |
SpectrumPenColor2=65280 |
SpectrumPenColor3=8388608 |
SpectrumPenColor4=255 |
SpectrumPenColor5=4227327 |
SpectrumPenColor6=8388863 |
SpectrumPenColor7=16744703 |
FreqscaleBgColor=16777215 |
FreqscaleFgColor=0 |
StationFreqColor=16776960 |
AmplBarBgColor=16711680 |
WaterBadColor=4144959 |
WaterGridColor=16777215 |
WaterLabelTextColor=16777215 |
WaterLabelBkgndColor=0 |
WaterLabelTransparent=1 |
CursorTextColor=8355839 |
CursorBkgndColor=0 |
WaterFreqGrid=0 |
WaterTimeGrid=3 |
WaterTimeLabel=3 |
TDTimeLabel=1 |
UserTimeLabel=YYYY-MM-DD hh:mm:ss |
TimeGridSeconds=60 |
TimeGridSource= |
TimeGridStyle=1 |
ChnIndividualContrast=0 |
WaterColorPalette=palettes\sunrise.pal |
VisualAGCMode=0 |
VisualAGCRef=-100 |
ColorPalContrast=100 |
ColorPalBrightness=128 |
ColorPalSaturation=128 |
WaterColorPalette2=palettes\sunrise.pal |
VisualAGCMode2=0 |
VisualAGCRef2=-100 |
ColorPalContrast2=100 |
ColorPalBrightness2=128 |
ColorPalSaturation2=128 |
WaterColorPalette3=palettes\sunrise.pal |
VisualAGCMode3=0 |
VisualAGCRef3=-100 |
ColorPalContrast3=100 |
ColorPalBrightness3=128 |
ColorPalSaturation3=128 |
WaterScrollInterval=0.042 |
WaterfallAveraging=1 |
PeakInterval=5 |
[ColorDF] |
AntennaSetup=1 |
IntensityScaling=0 |
IntensitySource=2 |
ColourSchemeNr=0 |
RotationalDir=0 |
AngleOffset=90 |
ExtraColourSat=0 |
CalibFile= |
UseCalib=0 |
NullingCardioid=0 |
NullDirection=154 |
NullDirection2=23 |
NullDirection3=327.100006104 |
Null_H_E_Weight=1 |
NullPowerCorr=0.5 |
[TDScope] |
Left=142 |
Top=112 |
Width=548 |
Height=431 |
Visible=0 |
FormStyle=0 |
Active=0 |
NrOfChannels=1 |
Mode=0 |
DebugMode=0 |
AutoRanging=0 |
Decimation=1 |
Averages=0 |
UseMovingAverage=1 |
PeakDetect=0 |
Persistance=0 |
SlowFadeImage=0 |
HorzScalePercent=100 |
DispBufSamples=0 |
DispZoomedStart=0 |
TriggerMode=0 |
TriggerSlope=0 |
TriggerSource=0 |
TriggerCoupling=0 |
PretriggerPercent=50 |
TriggerLevel=0 |
TriggerSyncTime=0.07499 |
DispPhaseRange=360 |
BkgndColor=0 |
GridColor=13619151 |
LabelColor=13619151 |
[TDScope_Chn0] |
ShowWhat=4 |
DisplayStyle=2 |
ConnectTo=1 |
RefFrequency=650 |
AmplMin=-32768 |
AmplMax=32767 |
LogScale=0 |
ZeroDecibelValue=32767 |
UseFOCalib=1 |
PenColor=255 |
PhzColor=65280 |
[TDScope_Chn1] |
ShowWhat=4 |
DisplayStyle=2 |
ConnectTo=2 |
RefFrequency=800 |
AmplMin=-32768 |
AmplMax=32767 |
LogScale=0 |
ZeroDecibelValue=32767 |
UseFOCalib=1 |
PenColor=16744319 |
PhzColor=16711935 |
SameLoForPhaseMeters=0 |
[FREQ_MARKERS] |
Hidden=0 |
ShowInScreenshot=1 |
Name0=VFO |
Type0= |
Color0=255 |
FreqIncludesVFO0=0 |
SetProc0=filter[0].fft.fs=x-filter[0].fft.fc |
GetFunc0=filter[0].fft.fs+filter[0].fft.fc |
Name1=Zero Beat |
Type1= |
Color1=65280 |
FreqIncludesVFO1=0 |
SetProc1=filter[0].fft.fc=filter[0].fft.fc+filter[0].fft.fs-x : filter[0].fft.fs=x |
GetFunc1=filter[0].fft.fs |
Name2=AudioBW |
Type2= |
Color2=16711680 |
FreqIncludesVFO2=0 |
SetProc2=filter[0].fft.bw=2*(x-filter[0].fft.fs-filter[0].fft.fc) |
GetFunc2=filter[0].fft.fs+filter[0].fft.fc+0.5*filter[0].fft.bw |
[SPECTRUM_REF] |
FileName=spectrum.ref |
Color=16744319 |
Visible=0 |
Subtract=0 |
[CAPTURE] |
Time_From=0 |
Time_To=86399 |
TimeInterval=90 |
TimerActive=1 |
PeriodicAction=capture ("C:\\capture\\meteor_svakov_"+str("YYMMDD_hhmm",now)+".jpg") |
PeriodicAction2= |
PeriodicAction3= |
PeriodicAction4= |
PeriodicAction5= |
PeriodicAction6= |
PeriodicAction7= |
PeriodicAction8= |
PeriodicAction9= |
PeriodicAction10= |
PeriodicAction11= |
PeriodicAction12= |
PeriodicAction13= |
PeriodicAction14= |
PeriodicAction15= |
PeriodicAction16= |
PeriodicAction17= |
PeriodicAction18= |
PeriodicAction19= |
PeriodicAction20= |
ScheduleActive=0 |
Options=2 |
InfoOvl=1 |
InfoPos=3 |
InfoStk=1 |
InfoDef0= |
InfoDef1= |
InfoDef2= |
InfoDef3= |
InfoDef4= |
InfoDef5= |
InfoDef6= |
InfoDef7= |
InfoDef8= |
InfoDef9= |
SequenceNr=16824 |
SequenceName=..\capture\capture |
UseJpegFormat=1 |
JpegQuality=90 |
Macro0= |
Macro1= |
Macro2= |
Macro3= |
Macro4= |
Macro5= |
Macro6= |
Macro7= |
Macro8= |
Macro9= |
Macro10= |
Macro11= |
Macro12= |
Macro13= |
Macro14= |
Macro15= |
Macro16= |
Macro17= |
Macro18= |
Macro19= |
Macro20= |
Macro21= |
Macro22= |
Macro23= |
Macro24= |
Macro25= |
Macro26= |
Macro27= |
Macro28= |
Macro29= |
Macro30= |
Macro31= |
Macro32= |
Macro33= |
Macro34= |
Macro35= |
Macro36= |
Macro37= |
Macro38= |
Macro39= |
[SCHEDULE] |
NumEvents=12 |
[SCHEDULE0] |
Time=79200 |
ActionCmd=capture |
[SCHEDULE1] |
Time=0 |
ActionCmd=capture |
[SCHEDULE2] |
Time=14400 |
ActionCmd=capture |
[SCHEDULE3] |
Time=21600 |
ActionCmd=capture |
[SCHEDULE4] |
Time=-1 |
ActionCmd= |
[SCHEDULE5] |
Time=-1 |
ActionCmd= |
[SCHEDULE6] |
Time=-1 |
ActionCmd= |
[SCHEDULE7] |
Time=-1 |
ActionCmd= |
[SCHEDULE8] |
Time=-1 |
ActionCmd= |
[SCHEDULE9] |
Time=-1 |
ActionCmd= |
[SCHEDULE10] |
Time=-1 |
ActionCmd= |
[SCHEDULE11] |
Time=-1 |
ActionCmd= |
[CONDITIONAL_ACTIONS] |
Active=1 |
EvalIntv=50 |
IF0=initialising |
THEN0=F=1:G=1:H=0:A=0:B=0:C=0:D=0:E=0:L=0:K=0:t1=0:t2=0:Z=0:M=-999:P=-999:N=0:rec.trigger=0 |
IF1=always |
THEN1=A=noise(9800,10200):Q=peak_f(10300,10900):B=avrg(Q-100,Q+100):q2=str("YYYYMMDDhh",now):L=str("hh",now):h1=str("mmss",now) |
IF2=B>(A+7) |
THEN2=C=C+1:D=D+1:timer0.restart(3.4):H=H+1:P=B |
IF3=C>Z |
THEN3=Z=C:N=now |
IF4=timer0.expired(1) |
THEN4=H=0:C=0:E=E+1:sp.print(" "+str(E)+" nb"+str(round(X))+" f"+str(Y)+" mag"+str(round(X-M+10))):M=-999:P=-999:rec.trigger=0:REM poznamenej konec meteoru |
IF5=val(h1,"####")=5930 |
THEN5=t2=t2+1 |
IF6=t2=1 |
THEN6=fopen3("RMOB_Dur-"+str("YYYYMM",now)+".dat",a):fp3(q2,", count=",E,", strenght=",D,", maxdur=",Z,", noise=",A,", event=",str("mm",N)):fclose3:fopen4("RMOB-"+str("YYYYMM",now)+".dat",a):fp4(q2,",",L,",",E):fclose4:sp.print("Last hour=",E):C=0:E=0:Z=0:REM z |
IF7=val(h1,"####")=5940 |
THEN7=t2=0 |
IF8=P>M |
THEN8=M=P |
IF9=H=1 |
THEN9=H=2:X=A:Y=Q:sp.print("_ t+"+str("ss",time)):REM poznamenej zacatek meteoru |
IF10=C=50 |
THEN10=rec.filename="bolid_svakov_"+str("YMMDD_hhmmss",now)+".wav"):rec.trigger=1:REM audiozaznam, pokud je echo dele jak 2,5s |
IF11= |
THEN11= |
IF12= |
THEN12= |
IF13= |
THEN13= |
IF14= |
THEN14= |
IF15= |
THEN15= |
IF16= |
THEN16= |
IF17= |
THEN17= |
IF18= |
THEN18= |
IF19= |
THEN19= |
IF20= |
THEN20= |
IF21= |
THEN21= |
IF22= |
THEN22= |
IF23= |
THEN23= |
IF24= |
THEN24= |
IF25= |
THEN25= |
IF26= |
THEN26= |
IF27= |
THEN27= |
IF28= |
THEN28= |
IF29= |
THEN29= |
IF30= |
THEN30= |
IF31= |
THEN31= |
IF32= |
THEN32= |
IF33= |
THEN33= |
IF34= |
THEN34= |
IF35= |
THEN35= |
IF36= |
THEN36= |
IF37= |
THEN37= |
IF38= |
THEN38= |
IF39= |
THEN39= |
IF40= |
THEN40= |
IF41= |
THEN41= |
IF42= |
THEN42= |
IF43= |
THEN43= |
IF44= |
THEN44= |
IF45= |
THEN45= |
IF46= |
THEN46= |
IF47= |
THEN47= |
IF48= |
THEN48= |
IF49= |
THEN49= |
IF50= |
THEN50= |
IF51= |
THEN51= |
IF52= |
THEN52= |
IF53= |
THEN53= |
IF54= |
THEN54= |
IF55= |
THEN55= |
IF56= |
THEN56= |
IF57= |
THEN57= |
IF58= |
THEN58= |
IF59= |
THEN59= |
IF60= |
THEN60= |
IF61= |
THEN61= |
IF62= |
THEN62= |
IF63= |
THEN63= |
IF64= |
THEN64= |
IF65= |
THEN65= |
IF66= |
THEN66= |
IF67= |
THEN67= |
IF68= |
THEN68= |
IF69= |
THEN69= |
IF70= |
THEN70= |
IF71= |
THEN71= |
IF72= |
THEN72= |
IF73= |
THEN73= |
IF74= |
THEN74= |
IF75= |
THEN75= |
IF76= |
THEN76= |
IF77= |
THEN77= |
IF78= |
THEN78= |
IF79= |
THEN79= |
IF80= |
THEN80= |
IF81= |
THEN81= |
IF82= |
THEN82= |
IF83= |
THEN83= |
IF84= |
THEN84= |
IF85= |
THEN85= |
IF86= |
THEN86= |
IF87= |
THEN87= |
IF88= |
THEN88= |
IF89= |
THEN89= |
IF90= |
THEN90= |
IF91= |
THEN91= |
IF92= |
THEN92= |
IF93= |
THEN93= |
IF94= |
THEN94= |
IF95= |
THEN95= |
IF96= |
THEN96= |
IF97= |
THEN97= |
IF98= |
THEN98= |
IF99= |
THEN99= |
WatchExpression= |
[CIRCUIT] |
ConnectGeneratorToInput=3 |
ConnectGeneratorToOutput=0 |
InputMonitorSource=1 |
OutputMonitorSource=3 |
TrigMode=0 |
TrigSource=0 |
TrigPolarity=1 |
TrigLevel=0 |
TrigHysteresis=20 |
PretriggerTime=0 |
TrigTimerIntvl=1 |
MixerHilbertLength=37 |
FreqCvtSameLO=0 |
FreqCvtQuadLO=0 |
ConnectSlider1=1 |
Gain0=1 |
Gain1=1 |
Gain2=1 |
Gain3=1 |
Gain4=1 |
Gain5=1 |
Gain6=0 |
Gain7=0 |
FreqMixerEnabled=0 |
MixerDcReject=0 |
MixerFrequency=700 |
MixerSideband=0 |
[CIRCUIT2] |
FreqMixerEnabled=0 |
MixerDcReject=0 |
MixerFrequency=0 |
MixerSideband=0 |
[COUNTER_TIMER] |
Mode=0 |
Options=0 |
Source0=0 |
Source1=0 |
Source2=0 |
Source3=0 |
TriggerLevel=50 |
Hysteresis=1 |
GateTime=1 |
HoldoffTime=0 |
[FILTER] |
DisplayOptions=3 |
[FILTER0] |
CoeffFile= |
IIR2DesignFile= |
FIR2DesignFile= |
FilterFftSize=16384 |
FftSame4All=1 |
FftShowInGraph=1 |
FftANotchSpeed=0.05 |
FftANotchWidth=5 |
FftANRegionWidth=20 |
FftANotchTransitionWidth=0 |
FftANotchThrsh=4 |
FftANotchBurstReject=3 |
FftANotchRangeFlags1=0 |
FftANotchFreqRangeStart=0 |
FftANotchFreqRangeEnd=0 |
FftANotchRangeFlags2=0 |
FftANotchFreqRangeStart2=2000 |
FftANotchFreqRangeEnd2=2500 |
FftANotchRangeFlags3=0 |
FftANotchFreqRangeStart3=3000 |
FftANotchFreqRangeEnd3=3500 |
FftANotchRangeFlags4=0 |
FftANotchFreqRangeStart4=4000 |
FftANotchFreqRangeEnd4=4500 |
FftANotchRangeFlags5=0 |
FftANotchFreqRangeStart5=5000 |
FftANotchFreqRangeEnd5=5500 |
FftDenoiserLvl=-80 |
ChirpRate=0 |
DecimateOutputSRateBy=1 |
GraphMinLevel=-130 |
GraphMaxLevel=0 |
FftFilterType=3 |
FftFilterOptions=256 |
FftFilterFC=398.866608547 |
FftFilterBW=551.815679401 |
FftFilterSW=20 |
FftFreqShift=9791.38272059 |
FftInvertFrom=0 |
FftInvertTo=0 |
FftFilterResponse= |
FftFilterPlugin= |
When2CallPlugin=0 |
PluginWinX=0 |
PluginWinY=0 |
PluginWinWidth=128 |
PluginWinHeight=128 |
SpecialRangeF10=0 |
SpecialRangeF20=0 |
SpecialRangeP0_01=0 |
SpecialRangeP1_01=0 |
SpecialRangeP2_01=0 |
SpecialRangeP3_01=0 |
SpecialRangeType0=0 |
SpecialRangeF11=0 |
SpecialRangeF21=0 |
SpecialRangeP0_11=0 |
SpecialRangeP1_11=0 |
SpecialRangeP2_11=0 |
SpecialRangeP3_11=0 |
SpecialRangeType1=0 |
SpecialRangeF12=0 |
SpecialRangeF22=0 |
SpecialRangeP0_21=0 |
SpecialRangeP1_21=0 |
SpecialRangeP2_21=0 |
SpecialRangeP3_21=0 |
SpecialRangeType2=0 |
SpecialRangeF13=0 |
SpecialRangeF23=0 |
SpecialRangeP0_31=0 |
SpecialRangeP1_31=0 |
SpecialRangeP2_31=0 |
SpecialRangeP3_31=0 |
SpecialRangeType3=0 |
SpecialRangeF14=0 |
SpecialRangeF24=0 |
SpecialRangeP0_41=0 |
SpecialRangeP1_41=0 |
SpecialRangeP2_41=0 |
SpecialRangeP3_41=0 |
SpecialRangeType4=0 |
SpecialRangeF15=0 |
SpecialRangeF25=0 |
SpecialRangeP0_51=0 |
SpecialRangeP1_51=0 |
SpecialRangeP2_51=0 |
SpecialRangeP3_51=0 |
SpecialRangeType5=0 |
SpecialRangeF16=0 |
SpecialRangeF26=0 |
SpecialRangeP0_61=0 |
SpecialRangeP1_61=0 |
SpecialRangeP2_61=0 |
SpecialRangeP3_61=0 |
SpecialRangeType6=0 |
SpecialRangeF17=0 |
SpecialRangeF27=0 |
SpecialRangeP0_71=0 |
SpecialRangeP1_71=0 |
SpecialRangeP2_71=0 |
SpecialRangeP3_71=0 |
SpecialRangeType7=0 |
[FILTER1] |
CoeffFile= |
IIR2DesignFile= |
FIR2DesignFile= |
FilterFftSize=16384 |
FftSame4All=1 |
FftShowInGraph=1 |
FftANotchSpeed=0.05 |
FftANotchWidth=5 |
FftANRegionWidth=20 |
FftANotchTransitionWidth=0 |
FftANotchThrsh=4 |
FftANotchBurstReject=3 |
FftANotchRangeFlags1=0 |
FftANotchFreqRangeStart=0 |
FftANotchFreqRangeEnd=0 |
FftANotchRangeFlags2=0 |
FftANotchFreqRangeStart2=2000 |
FftANotchFreqRangeEnd2=2500 |
FftANotchRangeFlags3=0 |
FftANotchFreqRangeStart3=3000 |
FftANotchFreqRangeEnd3=3500 |
FftANotchRangeFlags4=0 |
FftANotchFreqRangeStart4=4000 |
FftANotchFreqRangeEnd4=4500 |
FftANotchRangeFlags5=0 |
FftANotchFreqRangeStart5=5000 |
FftANotchFreqRangeEnd5=5500 |
FftDenoiserLvl=-80 |
ChirpRate=0 |
DecimateOutputSRateBy=1 |
GraphMinLevel=-130 |
GraphMaxLevel=0 |
FftFilterType=3 |
FftFilterOptions=256 |
FftFilterFC=398.866608547 |
FftFilterBW=551.815679401 |
FftFilterSW=20 |
FftFreqShift=9791.38272059 |
FftInvertFrom=0 |
FftInvertTo=0 |
FftFilterResponse= |
FftFilterPlugin= |
When2CallPlugin=0 |
PluginWinX=0 |
PluginWinY=0 |
PluginWinWidth=128 |
PluginWinHeight=128 |
SpecialRangeF10=0 |
SpecialRangeF20=0 |
SpecialRangeP0_01=0 |
SpecialRangeP1_01=0 |
SpecialRangeP2_01=0 |
SpecialRangeP3_01=0 |
SpecialRangeType0=0 |
SpecialRangeF11=0 |
SpecialRangeF21=0 |
SpecialRangeP0_11=0 |
SpecialRangeP1_11=0 |
SpecialRangeP2_11=0 |
SpecialRangeP3_11=0 |
SpecialRangeType1=0 |
SpecialRangeF12=0 |
SpecialRangeF22=0 |
SpecialRangeP0_21=0 |
SpecialRangeP1_21=0 |
SpecialRangeP2_21=0 |
SpecialRangeP3_21=0 |
SpecialRangeType2=0 |
SpecialRangeF13=0 |
SpecialRangeF23=0 |
SpecialRangeP0_31=0 |
SpecialRangeP1_31=0 |
SpecialRangeP2_31=0 |
SpecialRangeP3_31=0 |
SpecialRangeType3=0 |
SpecialRangeF14=0 |
SpecialRangeF24=0 |
SpecialRangeP0_41=0 |
SpecialRangeP1_41=0 |
SpecialRangeP2_41=0 |
SpecialRangeP3_41=0 |
SpecialRangeType4=0 |
SpecialRangeF15=0 |
SpecialRangeF25=0 |
SpecialRangeP0_51=0 |
SpecialRangeP1_51=0 |
SpecialRangeP2_51=0 |
SpecialRangeP3_51=0 |
SpecialRangeType5=0 |
SpecialRangeF16=0 |
SpecialRangeF26=0 |
SpecialRangeP0_61=0 |
SpecialRangeP1_61=0 |
SpecialRangeP2_61=0 |
SpecialRangeP3_61=0 |
SpecialRangeType6=0 |
SpecialRangeF17=0 |
SpecialRangeF27=0 |
SpecialRangeP0_71=0 |
SpecialRangeP1_71=0 |
SpecialRangeP2_71=0 |
SpecialRangeP3_71=0 |
SpecialRangeType7=0 |
[SIGNAL_GENERATOR] |
UseSineTable=0 |
NoiseLevel=-50 |
NoiseOn=0 |
AmModFreq=1 |
AmModFactor=1 |
AmModCarrier=1 |
AmModWave=0 |
AmDutyCyclePcnt=50 |
FmModWave=0 |
FmModFreq=100 |
FmModDeviation=240.5 |
FmDutyCyclePcnt=50 |
ArbitraryWaveformFile= |
ArbitraryWaveformFormula=sin(2*pi*x) |
LoadAWFromFile=0 |
Enabled0=1 |
AmMod0=0 |
FmMod0=0 |
Wave0=0 |
SinFreq0=900 |
SinAmpl0=0.1 |
Enabled1=1 |
AmMod1=0 |
FmMod1=0 |
Wave1=0 |
SinFreq1=1000 |
SinAmpl1=0.1 |
Enabled2=1 |
AmMod2=0 |
FmMod2=0 |
Wave2=0 |
SinFreq2=1100 |
SinAmpl2=0.1 |
[CIRCUIT_BLACKBOX0] |
CompType=0 |
BandpassFC=1400 |
BandpassBW=1400 |
BandpassRespType=0 |
DelaySeconds=0.5 |
AdderGain=0 |
InputGain=1 |
FeedbackGain=0.9 |
BypassGain=0 |
SignalSource=0 |
DeModType=0 |
DeModOptions=0 |
DeModFC=2500 |
DeModBW=1000 |
DeModFact=1 |
DeModCarr=1 |
DeemphTimeConst=5e-05 |
ChirpRate=0 |
ChirpStartFreq=0 |
ChirpLength=0 |
ChirpFilterOpt=0 |
Limiter_dB_above_FS=-6 |
Limiter_dB_above_AVRG=10 |
NbRampTime=0.002 |
NbTrigLevel=10 |
NbAvrgDetTimeConst=5 |
NbAvrgDetFallTimeConst=0 |
NbPreTriggerTime=0.0005 |
NbPostTriggerTime=0.0005 |
EVE_NB_TrigLevel=1500 |
HumFiltFC=50 |
HumFiltEndStop=0.5 |
HumFiltTrkCycle=0.5 |
HumFiltSlewRate=0.01 |
HumFiltStages=4 |
HumFiltTrackAlgo=11 |
HumFiltFlags=0 |
HumFreqExpr=peak_f(#1,49.8,50.2) |
AGCMode=0 |
AGCFlags=0 |
AGCTargetLevel=-3 |
AGCMinGain=-20 |
AGCMaxGain=80 |
AGCCustomAttack=1 |
AGCCustomDecay=0.1 |
[CIRCUIT_BLACKBOX1] |
CompType=0 |
BandpassFC=1400 |
BandpassBW=1400 |
BandpassRespType=0 |
DelaySeconds=0.5 |
AdderGain=0 |
InputGain=1 |
FeedbackGain=0.9 |
BypassGain=0 |
SignalSource=0 |
DeModType=0 |
DeModOptions=0 |
DeModFC=2500 |
DeModBW=1000 |
DeModFact=1 |
DeModCarr=1 |
DeemphTimeConst=5e-05 |
ChirpRate=0 |
ChirpStartFreq=0 |
ChirpLength=0 |
ChirpFilterOpt=0 |
Limiter_dB_above_FS=-6 |
Limiter_dB_above_AVRG=10 |
NbRampTime=0.002 |
NbTrigLevel=10 |
NbAvrgDetTimeConst=5 |
NbAvrgDetFallTimeConst=0 |
NbPreTriggerTime=0.0005 |
NbPostTriggerTime=0.0005 |
EVE_NB_TrigLevel=1500 |
HumFiltFC=50 |
HumFiltEndStop=0.5 |
HumFiltTrkCycle=0.5 |
HumFiltSlewRate=0.01 |
HumFiltStages=4 |
HumFiltTrackAlgo=11 |
HumFiltFlags=0 |
HumFreqExpr=peak_f(#1,49.8,50.2) |
AGCMode=0 |
AGCFlags=0 |
AGCTargetLevel=-3 |
AGCMinGain=-20 |
AGCMaxGain=80 |
AGCCustomAttack=1 |
AGCCustomDecay=0.1 |
[CIRCUIT_BLACKBOX2] |
CompType=0 |
BandpassFC=1400 |
BandpassBW=1400 |
BandpassRespType=0 |
DelaySeconds=1 |
AdderGain=0 |
InputGain=1 |
FeedbackGain=0 |
BypassGain=1 |
SignalSource=0 |
DeModType=0 |
DeModOptions=0 |
DeModFC=0 |
DeModBW=0 |
DeModFact=1 |
DeModCarr=1 |
DeemphTimeConst=5e-05 |
ChirpRate=2000 |
ChirpStartFreq=500 |
ChirpLength=1 |
ChirpFilterOpt=0 |
Limiter_dB_above_FS=6 |
Limiter_dB_above_AVRG=10 |
NbRampTime=0.01 |
NbTrigLevel=20 |
NbAvrgDetTimeConst=5 |
NbAvrgDetFallTimeConst=0 |
NbPreTriggerTime=0.0005 |
NbPostTriggerTime=0.0005 |
EVE_NB_TrigLevel=1500 |
HumFiltFC=50 |
HumFiltEndStop=0.5 |
HumFiltTrkCycle=0.5 |
HumFiltSlewRate=0.01 |
HumFiltStages=4 |
HumFiltTrackAlgo=12 |
HumFiltFlags=0 |
HumFreqExpr=peak_f(#1,49.8,50.2) |
AGCMode=3 |
AGCFlags=1 |
AGCTargetLevel=-3 |
AGCMinGain=-20 |
AGCMaxGain=70 |
AGCCustomAttack=0.1 |
AGCCustomDecay=0.1 |
[CIRCUIT_BLACKBOX3] |
CompType=0 |
BandpassFC=1400 |
BandpassBW=1400 |
BandpassRespType=0 |
DelaySeconds=0.5 |
AdderGain=0 |
InputGain=1 |
FeedbackGain=0.9 |
BypassGain=0 |
SignalSource=0 |
DeModType=0 |
DeModOptions=0 |
DeModFC=2500 |
DeModBW=1000 |
DeModFact=1 |
DeModCarr=1 |
DeemphTimeConst=5e-05 |
ChirpRate=0 |
ChirpStartFreq=0 |
ChirpLength=0 |
ChirpFilterOpt=0 |
Limiter_dB_above_FS=-6 |
Limiter_dB_above_AVRG=10 |
NbRampTime=0.002 |
NbTrigLevel=10 |
NbAvrgDetTimeConst=5 |
NbAvrgDetFallTimeConst=0 |
NbPreTriggerTime=0.0005 |
NbPostTriggerTime=0.0005 |
EVE_NB_TrigLevel=1500 |
HumFiltFC=50 |
HumFiltEndStop=0.5 |
HumFiltTrkCycle=0.5 |
HumFiltSlewRate=0.01 |
HumFiltStages=4 |
HumFiltTrackAlgo=11 |
HumFiltFlags=0 |
HumFreqExpr=peak_f(#1,49.8,50.2) |
AGCMode=0 |
AGCFlags=0 |
AGCTargetLevel=-3 |
AGCMinGain=-20 |
AGCMaxGain=80 |
AGCCustomAttack=1 |
AGCCustomDecay=0.1 |
[GPS_RECEIVER] |
PosEmitInterval=60 |
Options=32 |
ExportColumnSeparator=32 |
[INTERPRETER] |
MsgDisplay=63 |
CommandFileName=command_files\testcmd.txt |
[EXPORT] |
NextWriteTime=0 |
FftExportOptions=0 |
FftExportFormat=0 |
FftExportHeaders=0 |
FftExportSeparator=9 |
FftExportMaxNrBins=1024 |
FftExportMaxFileSize=0 |
FftExportStartFreqHz=0 |
FftExportFileName=FftLog1.txt |
FftExportTimeFormat=YYYY-MM-DD hh:mm:ss.s |
[EXPORT_FORMAT] |
NrOfColumns=4 |
Active=0 |
SeparatorChr=9 |
FileName=exported.txt |
FileName2= |
Title0=Time |
Exprs0=time |
Format0=YYYY-MM-DD hh:mm:ss |
Flags0=0 |
Title1=Noise |
Exprs1=noise_n(500,2500) |
Format1=##0.0# |
Flags1=0 |
Title2=PeakAmpl |
Exprs2=peak_a(500,2500) |
Format2=##0.0# |
Flags2=0 |
Title3=PeakFreq |
Exprs3=peak_f(500,2500) |
Format3=###0.0# |
Flags3=0 |
[EXPORT_ACTIONS] |
CmdAfterSpectrum= |
CmdBeforeWrite= |
CmdAfterWrite= |
UsePreciseInterval=1 |
WriteIntervalSec=1 |
PwrFailSafe=0 |
[MACRO_BUTTONS] |
Exprs0=$"Capture now" |
Commands0=capture("capt"+str("YYMMDDhhmm",now)+".jpg") |
Options0=2 |
Hotkey0=0 |
Exprs1=$"Time: "+str("hh:mm:ss.s",now) |
Commands1= |
Options1=2 |
Hotkey1=0 |
Exprs2=$"peak at "+str("###0.00 Hz",peak_f(200,2500)) |
Commands2= |
Options2=2 |
Hotkey2=0 |
Exprs3=$"Pause" |
Commands3=sp.pause=1 // spectrum analyser pause |
Options3=2 |
Hotkey3=0 |
Exprs4=$"Continue" |
Commands4=sp.pause=0 // spectrum analyser resume |
Options4=2 |
Hotkey4=0 |
Exprs5=$"Button #6" |
Commands5= |
Options5=2 |
Hotkey5=0 |
Exprs6=$"Button #7" |
Commands6= |
Options6=2 |
Hotkey6=0 |
Exprs7=$"Button #8" |
Commands7= |
Options7=2 |
Hotkey7=0 |
[USER_MENU_ITEMS] |
Exprs0= |
Commands0= |
Options0=0 |
Hotkey0=0 |
Exprs1= |
Commands1= |
Options1=0 |
Hotkey1=0 |
Exprs2= |
Commands2= |
Options2=0 |
Hotkey2=0 |
Exprs3= |
Commands3= |
Options3=0 |
Hotkey3=0 |
Exprs4= |
Commands4= |
Options4=0 |
Hotkey4=0 |
Exprs5= |
Commands5= |
Options5=0 |
Hotkey5=0 |
[WatchWindow] |
Left=194 |
Top=127 |
Width=503 |
Height=392 |
Visible=0 |
FormStyle=0 |
[WatchListAndPlotter] |
Flags=0 |
TextExportFlags=0 |
[WatchList] |
Title1=Noise |
Expr1=noise_n(500,1000) |
Form1=##0.0 |
MinV1=-100 |
MaxV1=0 |
Title2=Peak1_Ampl |
Expr2=peak_a(500,1000) |
Form2=##0.0 |
MinV2=-100 |
MaxV2=0 |
Title3=Peak1_Freq |
Expr3=peak_f(500,1000) |
Form3=###0.0 |
MinV3=200 |
MaxV3=2700 |
Title4=Peak2_Ampl |
Expr4=peak_a(1000,1500) |
Form4=##0.0 |
MinV4=-100 |
MaxV4=0 |
Title5=Peak2_Freq |
Expr5=peak_f(1000,1500) |
Form5=###0.0 |
MinV5=200 |
MaxV5=2700 |
Title6=Peak3_Ampl |
Expr6=peak_a(1500,2000) |
Form6=##0.0 |
MinV6=-100 |
MaxV6=0 |
Title7=Peak2_Freq |
Expr7=peak_f(1500,2000) |
Form7=###0.0## |
MinV7=200 |
MaxV7=2700 |
Title8= |
Expr8= |
Form8= |
MinV8= |
MaxV8= |
Title9= |
Expr9= |
Form9= |
MinV9= |
MaxV9= |
Title10= |
Expr10= |
Form10= |
MinV10= |
MaxV10= |
Title11= |
Expr11= |
Form11= |
MinV11= |
MaxV11= |
Title12= |
Expr12= |
Form12= |
MinV12= |
MaxV12= |
Title13= |
Expr13= |
Form13= |
MinV13= |
MaxV13= |
Title14= |
Expr14= |
Form14= |
MinV14= |
MaxV14= |
Title15= |
Expr15= |
Form15= |
MinV15= |
MaxV15= |
Title16= |
Expr16= |
Form16= |
MinV16= |
MaxV16= |
Title17= |
Expr17= |
Form17= |
MinV17= |
MaxV17= |
Title18= |
Expr18= |
Form18= |
MinV18= |
MaxV18= |
Title19= |
Expr19= |
Form19= |
MinV19= |
MaxV19= |
Title20= |
Expr20= |
Form20= |
MinV20= |
MaxV20= |
Title21= |
Expr21= |
Form21= |
MinV21= |
MaxV21= |
Title22= |
Expr22= |
Form22= |
MinV22= |
MaxV22= |
Title23= |
Expr23= |
Form23= |
MinV23= |
MaxV23= |
Title24= |
Expr24= |
Form24= |
MinV24= |
MaxV24= |
Title25= |
Expr25= |
Form25= |
MinV25= |
MaxV25= |
Title26= |
Expr26= |
Form26= |
MinV26= |
MaxV26= |
Title27= |
Expr27= |
Form27= |
MinV27= |
MaxV27= |
Title28= |
Expr28= |
Form28= |
MinV28= |
MaxV28= |
Title29= |
Expr29= |
Form29= |
MinV29= |
MaxV29= |
Title30= |
Expr30= |
Form30= |
MinV30= |
MaxV30= |
Title31= |
Expr31= |
Form31= |
MinV31= |
MaxV31= |
Title32= |
Expr32= |
Form32= |
MinV32= |
MaxV32= |
Title33= |
Expr33= |
Form33= |
MinV33= |
MaxV33= |
Title34= |
Expr34= |
Form34= |
MinV34= |
MaxV34= |
Title35= |
Expr35= |
Form35= |
MinV35= |
MaxV35= |
Title36= |
Expr36= |
Form36= |
MinV36= |
MaxV36= |
Title37= |
Expr37= |
Form37= |
MinV37= |
MaxV37= |
Title38= |
Expr38= |
Form38= |
MinV38= |
MaxV38= |
Title39= |
Expr39= |
Form39= |
MinV39= |
MaxV39= |
Title40= |
Expr40= |
Form40= |
MinV40= |
MaxV40= |
Title41= |
Expr41= |
Form41= |
MinV41= |
MaxV41= |
Title42= |
Expr42= |
Form42= |
MinV42= |
MaxV42= |
Title43= |
Expr43= |
Form43= |
MinV43= |
MaxV43= |
Title44= |
Expr44= |
Form44= |
MinV44= |
MaxV44= |
Title45= |
Expr45= |
Form45= |
MinV45= |
MaxV45= |
Title46= |
Expr46= |
Form46= |
MinV46= |
MaxV46= |
Title47= |
Expr47= |
Form47= |
MinV47= |
MaxV47= |
Title48= |
Expr48= |
Form48= |
MinV48= |
MaxV48= |
Title49= |
Expr49= |
Form49= |
MinV49= |
MaxV49= |
Title50= |
Expr50= |
Form50= |
MinV50= |
MaxV50= |
Title51= |
Expr51= |
Form51= |
MinV51= |
MaxV51= |
Title52= |
Expr52= |
Form52= |
MinV52= |
MaxV52= |
Title53= |
Expr53= |
Form53= |
MinV53= |
MaxV53= |
Title54= |
Expr54= |
Form54= |
MinV54= |
MaxV54= |
Title55= |
Expr55= |
Form55= |
MinV55= |
MaxV55= |
Title56= |
Expr56= |
Form56= |
MinV56= |
MaxV56= |
Title57= |
Expr57= |
Form57= |
MinV57= |
MaxV57= |
Title58= |
Expr58= |
Form58= |
MinV58= |
MaxV58= |
Title59= |
Expr59= |
Form59= |
MinV59= |
MaxV59= |
Title60= |
Expr60= |
Form60= |
MinV60= |
MaxV60= |
Title61= |
Expr61= |
Form61= |
MinV61= |
MaxV61= |
Title62= |
Expr62= |
Form62= |
MinV62= |
MaxV62= |
Title63= |
Expr63= |
Form63= |
MinV63= |
MaxV63= |
Title64= |
Expr64= |
Form64= |
MinV64= |
MaxV64= |
Title65= |
Expr65= |
Form65= |
MinV65= |
MaxV65= |
Title66= |
Expr66= |
Form66= |
MinV66= |
MaxV66= |
Title67= |
Expr67= |
Form67= |
MinV67= |
MaxV67= |
Title68= |
Expr68= |
Form68= |
MinV68= |
MaxV68= |
Title69= |
Expr69= |
Form69= |
MinV69= |
MaxV69= |
Title70= |
Expr70= |
Form70= |
MinV70= |
MaxV70= |
Title71= |
Expr71= |
Form71= |
MinV71= |
MaxV71= |
Title72= |
Expr72= |
Form72= |
MinV72= |
MaxV72= |
Title73= |
Expr73= |
Form73= |
MinV73= |
MaxV73= |
Title74= |
Expr74= |
Form74= |
MinV74= |
MaxV74= |
Title75= |
Expr75= |
Form75= |
MinV75= |
MaxV75= |
Title76= |
Expr76= |
Form76= |
MinV76= |
MaxV76= |
Title77= |
Expr77= |
Form77= |
MinV77= |
MaxV77= |
Title78= |
Expr78= |
Form78= |
MinV78= |
MaxV78= |
Title79= |
Expr79= |
Form79= |
MinV79= |
MaxV79= |
Title80= |
Expr80= |
Form80= |
MinV80= |
MaxV80= |
Title81= |
Expr81= |
Form81= |
MinV81= |
MaxV81= |
Title82= |
Expr82= |
Form82= |
MinV82= |
MaxV82= |
Title83= |
Expr83= |
Form83= |
MinV83= |
MaxV83= |
Title84= |
Expr84= |
Form84= |
MinV84= |
MaxV84= |
Title85= |
Expr85= |
Form85= |
MinV85= |
MaxV85= |
Title86= |
Expr86= |
Form86= |
MinV86= |
MaxV86= |
Title87= |
Expr87= |
Form87= |
MinV87= |
MaxV87= |
Title88= |
Expr88= |
Form88= |
MinV88= |
MaxV88= |
Title89= |
Expr89= |
Form89= |
MinV89= |
MaxV89= |
Title90= |
Expr90= |
Form90= |
MinV90= |
MaxV90= |
Title91= |
Expr91= |
Form91= |
MinV91= |
MaxV91= |
Title92= |
Expr92= |
Form92= |
MinV92= |
MaxV92= |
Title93= |
Expr93= |
Form93= |
MinV93= |
MaxV93= |
Title94= |
Expr94= |
Form94= |
MinV94= |
MaxV94= |
Title95= |
Expr95= |
Form95= |
MinV95= |
MaxV95= |
Title96= |
Expr96= |
Form96= |
MinV96= |
MaxV96= |
Title97= |
Expr97= |
Form97= |
MinV97= |
MaxV97= |
Title98= |
Expr98= |
Form98= |
MinV98= |
MaxV98= |
Title99= |
Expr99= |
Form99= |
MinV99= |
MaxV99= |
Title100= |
Expr100= |
Form100= |
MinV100= |
MaxV100= |
ColWidth0=0 |
ColWidth1=0 |
ColWidth2=0 |
ColWidth3=0 |
ColWidth4=0 |
CmdsAfterScrollStep= |
[WatchHistoryMemory] |
PlotMaxSamples=2000 |
PlotMaxChannels=6 |
PlotFileName=plotter0.tmp |
PlotExportName=pltexpt0.txt |
PlotExportTimeColumn=0 |
PlotExportTimeFormat=YYYY-MM-DD hh:mm:ss |
ColumnSeparator=0 |
PlotExportPeriodic=0 |
[WatchHistoryPlotter] |
Running=0 |
CaptureFileName=plot.jpg |
SecPerStep=1 |
SmallMarker=3 |
SmallInterval=30 |
LargeMarker=1 |
LargeInterval=2*60 |
TimeLabelFormat=hh:mm |
DateLabelFormat=YY-MM-DD |
VertScalePenStyle=3 |
BkgndColor=0 |
GridColor=13619151 |
LabelColor=16777215 |
PenColor3=16744319 |
PenColor4=16711935 |
PenColor6=4145151 |
PenColor7=4194111 |
PenColor8=4161407 |
PenColor9=16728063 |
PenColor10=4194303 |
PenColor11=8355839 |
PenColor12=8388479 |
PenColor13=12550015 |
PenColor14=16744447 |
PenColor15=8388607 |
PenColor16=13619199 |
VerticalSplit=0 |
VSplitUpperChannels=10 |
LegendPos=4 |
LegendDetails=1 |
LegendFontName=Arial |
LegendFontSize=9 |
HorzAxisFontName=Arial |
HorzAxisFontSize=8 |
VertAxisFontName=Arial Narrow |
VertAxisFontSize=8 |
AxisAssign0=1 |
AxisLabel0=dB uV / m |
AxisAssign1=3 |
AxisLabel1=Frequency [Hz] |
AxisAssign2=-1 |
AxisLabel2= |
AxisAssign3=-1 |
AxisLabel3= |
AxisAssign4=1 |
AxisLabel4= |
AxisAssign5=1 |
AxisLabel5= |
AxisAssign6=1 |
AxisLabel6= |
AxisAssign7=1 |
AxisLabel7= |
/Designs/Measuring_instruments/RMDS01A/SW/Tools/meteory |
---|
0,0 → 1,12 |
-----BEGIN DSA PRIVATE KEY----- |
MIIBugIBAAKBgQCrMD6rcQhbx7SeuRo25lnHPhOmhT/8WsHxMx6sqyo+dGTGO8gT |
g361B7oqE33+1NBLTrcZHtzu1KZwTWorZIISNT8vQuAiCuNU5fsf64kfk/DRSvnQ |
hBJ6XSDf/vUbRErZxH83N3xAL3cYK6AZMTb7O/4ZMunAyQ+DUveu4730EQIVANpz |
9Vu7MrC/KnD0CIUUWN1aV20xAoGAGgHgyU+/BPlm4SR6ic7gfouw1ZKOaELx/AYN |
NT47KIGGJxXAQg35T/Nib95kZSOAeV1HheRw5UHvSZ6lm31NLfVGyr6OPdfKiBfu |
taz2NAdBvOinQ481pt0TvrRYQWEdg/qtrISg9sdHAim9VzBBIVrIsAYKAOg7Xwtz |
IxTU8SYCgYAqqHZ8r+y2Lq82ttt8ioBcswUwFsh4dlWsQ5IHqGfGE8FGo9IJBa2t |
dAhAFNtIgBw/4HaqprkuFmcsxvPvR61HSmgSoj9iJSuRzDV9u3J3l2HUsX3+D7px |
IFLY7ntdnu7NYN/nGjhypKzwjmcQXEXVZ96j/wgWucrQaW0fHJ1kkQIUX3aTdfZ3 |
XYCc+qYnSvw7UtG7Wg4= |
-----END DSA PRIVATE KEY----- |
/Designs/Measuring_instruments/RMDS01A/SW/Tools/test.sh |
---|
0,0 → 1,5 |
#!/usr/bin/env bash |
ssh -o StrictHostKeyChecking=no -o BatchMode=yes meteor@neptun.avc-cvut.cz "exit" |
[[ "$?" -eq 0 ]] && exit 0 || exit 1 |
Property changes: |
Added: svn:executable |
+* |
\ No newline at end of property |
/Designs/Measuring_instruments/RMDS01A/SW/Tools/tidyup.sh |
---|
0,0 → 1,138 |
#!/usr/bin/env bash |
# |
# tidyup.sh |
# |
# This script will sort create organized directory structure |
# from observation files in one directory. |
# |
# Takes one argument: path to the directory |
# |
# Returns 0 if sorting succeeds |
# Returns 1 if there are no files to sort |
# Returns >1 in case of error |
# |
# before: |
# |
# | |
# | meteor_uflu_130128_0010.jpg |
# | meteor_uflu_130128_0011.jpg |
# | meteor_uflu_130128_1310.jpg |
# | meteor_uflu_130129_1112.jpg |
# | meteor_uflu_130129_1113.jpg |
# | . |
# | . |
# | . |
# |
# after: |
# |
# | |
# |- uflu <- observatory |
# | |- 2013 <- year |
# | |- 01 <- month |
# | |- 28 <- day |
# | | |- 00 <- hour |
# | | | |- meteor_uflu_130128_0010.jpg |
# | | | |- meteor_uflu_130128_0011.jpg |
# | | | |
# | | |- 13 |
# | | |- meteor_uflu_130128_1310.jpg |
# | | |
# | |- 29 |
# | | |- 11 |
# | |- meteor_uflu_130129_0012.jpg |
# | |- meteor_uflu_130129_0012.jpg |
# . |
# . |
# . |
# |
# |
# filename format must be as meteor_uflu_130128_0010.jpg |
EXT=jpg |
DELIM="_" |
SLASH="/" |
LAST="" |
# turn on debug |
set -x |
# none or 1 argument allowed |
[[ "$#" -ne 1 ]] && echo "Wrong number of arguments ($#)" && exit 1 |
# directory in which to sort must exists |
[[ ! -d "$1" ]] && echo "Directory doesn't exist" && exit 1 |
cd $1 |
# if there are no files with $EXT extension in the directory then quit |
ls -f *.$EXT > /dev/null 2>&1 |
if [ "$?" -eq 0 ]; then |
for i in *.$EXT; do |
echo "processing " $i |
PREFIX=`echo $i | cut -d $DELIM -f1,2` |
OBSERVATORY=`echo $PREFIX | cut -d $DELIM -f2` |
POSTFIX=`echo $i | cut -d $DELIM -f4` |
TIMESTAMP=`echo "$i" | cut -d $DELIM -f3` |
YEAR=20`echo "$TIMESTAMP" | cut -c 1-2` |
MONTH=`echo "$TIMESTAMP" | cut -c 3-4` |
DAY=`echo "$TIMESTAMP" | cut -c 5-6` |
HOUR=`echo "$POSTFIX" | cut -c 1-2` |
# observatory / year / month / day / hour |
DAYDIR="$OBSERVATORY$SLASH$YEAR$SLASH$MONTH$SLASH$DAY$SLASH$HOUR" |
# create directory with observatory name, year, month and day if hasn't existed before |
[[ -d "$DAYDIR" ]] || mkdir -p "$DAYDIR" |
# check if directory really exists (if fs is full it might not be created) |
[[ -d "$DAYDIR" ]] && mv "$i" "$DAYDIR" |
done |
echo -n "$OBSERVATORY$SLASH$YEAR$SLASH$MONTH$SLASH$DAY" > LAST |
else |
echo "No image files to sort" |
fi |
DIR="bolids" |
ls -f *.wav > /dev/null 2>&1 |
if [ "$?" -eq 0 ]; then |
for i in bolid_*.wav; do |
echo "processing bolid " $i |
PREFIX=`echo $i | cut -d $DELIM -f1,2` |
OBSERVATORY=`echo $PREFIX | cut -d $DELIM -f2` |
TIMESTAMP=`echo "$i" | cut -d $DELIM -f3` |
YEAR=20`echo "$TIMESTAMP" | cut -c 1-2` |
OUTDIR="$OBSERVATORY$SLASH$DIR$SLASH$YEAR" |
[[ -d "$OUTDIR" ]] || mkdir -p "$OUTDIR" |
mv $i "$OUTDIR" |
done |
else |
echo "No wav files to sort" |
fi |
ls -f *.aux > /dev/null 2>&1 |
if [ "$?" -eq 0 ]; then |
for i in bolid_*.aux; do |
echo "processing bolid metadata " $i |
PREFIX=`echo $i | cut -d $DELIM -f1,2` |
OBSERVATORY=`echo $PREFIX | cut -d $DELIM -f2` |
TIMESTAMP=`echo "$i" | cut -d $DELIM -f3` |
YEAR=20`echo "$TIMESTAMP" | cut -c 1-2` |
OUTDIR="$OBSERVATORY$SLASH$DIR$SLASH$YEAR" |
[[ -d "$OUTDIR" ]] || mkdir -p "$OUTDIR" |
mv $i "$OUTDIR" |
done |
else |
echo "No aux files to sort" |
fi |
exit 0 |
/Designs/Measuring_instruments/RMDS01A/SW/Tools/sync.sh |
---|
0,0 → 1,115 |
#!/usr/bin/env bash |
[[ $# -ne 1 ]] && echo "Usage: ./sync.sh /path/to/folder" && exit 1 |
# Redirect stdout ( > ) into a named pipe ( >() ) running "tee" |
exec > >(tee logfile.txt) |
# Also redirect stderr |
exec 2>&1 |
FREQUENCY=60 |
TIDYUP="./tidyup.sh" |
RSYNC="./upload.sh" |
DEFAULT="\033[00m" |
RED="\033[01;31m" |
BLUE="\033[01;36m" |
function info() { |
echo -en "$BLUE"; echo -n $1; echo -e "$DEFAULT" |
} |
function error() { |
echo -en "$RED"; echo -n $1; echo -e "$DEFAULT" |
} |
function syncdir() { |
EXIT=1 |
i=1 |
while [ $EXIT -ne 0 ]; do |
info "Trying to sync $1, try number $i" |
"$RSYNC" "$1" |
EXIT=$? |
[ $EXIT -ne 0 ] && error "sync failed" |
let i++ |
done |
return $EXIT |
} |
# Sort files |
# Mask |
function tidyup() { |
info "sorting $1" |
"$TIDYUP" $1 |
if [ "$?" -ne 0 ]; then |
error "sorting failed, please send logfile.txt to toxygen1@gmail.com" |
return 1 |
fi |
return 0 |
} |
# Test public key authentication |
function sshtest() { |
./test.sh |
if [ "$?" -eq 0 ]; then |
info "Authentication works" |
return 0 |
else |
error "Authentication does not work" |
return 1 |
fi |
} |
# Check if we can connect, otherwise terminate |
sshtest || exit 1 |
# Change working directory |
cd $1 |
# reset counter |
HOURCOUNT=24 |
# Periodically tidy up and do incremental sync |
while : |
do |
# start timer |
start_time=`date +%s` |
# sort |
tidyup . || error "Sort failed, please send logfile.txt to toxygen1@gmail.com" |
# increase counter every hour |
# if 24 hour mark is hit, do daily sync |
if [[ "$HOURCOUNT" -eq 24 ]] |
then |
info "Doing complete sync" |
syncdir . |
HOURCOUNT=0 |
# next line is important for the first run of the loop |
read LAST < LAST |
fi |
let HOURCOUNT++ |
# read last processed day |
OLD="$LAST" |
read LAST < LAST |
# sync last updated folder |
syncdir "$LAST" |
# days changed, sync yesterday too |
[[ "$LAST" != "$OLD" ]] && info "syncing yesterday" && syncdir "$OLD" |
tail -n 1000 logfile.txt > tmp.txt |
mv tmp.txt logfile.txt |
# end timer |
end_time=`date +%s` |
ELAPSED=`expr $end_time - $start_time` |
info "execution time was $ELAPSED s" |
# if last sync took less than TIME, sleep to make up 1 hour |
[[ $ELAPSED -lt $FREQUENCY ]] && sleep `expr $FREQUENCY - $ELAPSED` |
done |
/Designs/Measuring_instruments/RMDS01A/SW/Tools/README.txt |
---|
0,0 → 1,14 |
=== RMDS Synchronization Tools === |
= INFO |
o First, nice directory structure is created from jpg files, see tidyup.sh for description |
o Then complete sync of directory is done, this is repeated every 24 hours |
o The script then runs infinite loop watching for new files and syncing them to server every hour |
= USAGE |
o You must have working ssh public key based authentication to server |
o It is recommended to run the script in detachable screen |
o Run ./sync.sh /path/to/folder where path is the directory to which jpg's from Spectrum Lab are saved |
/Designs/Measuring_instruments/RMDS01A/SW/Tools/upload.sh |
---|
0,0 → 1,23 |
#!/usr/bin/env bash |
# |
# sync directory to server |
# |
# this script should not be called manually |
[[ "$#" -ne 1 ]] && echo "Please provide directory to upload" && exit 1 |
# debug |
set -x |
#cd `dirname $1` |
#UPDIR=`basename $1` |
UPDIR="$1" |
# if exclude-list.txt is present, use it |
# could as well be changed for rsync -q, but this is more clear |
if [[ -f exclude-list.txt ]] |
then |
rsync -avtz "$UPDIR"/ --exclude-from='exclude-list.txt' meteor@neptun.avc-cvut.cz:data/"$UPDIR" |
else |
rsync -avtz "$UPDIR"/ meteor@neptun.avc-cvut.cz:data/"$UPDIR" |
fi |
/Designs/Measuring_instruments/RMDS01A/pdf/UCA202_M_EN.pdf |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/Designs/Measuring_instruments/RMDS01A/pdf/UCA222_WebBrochure.pdf |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/Designs/Measuring_instruments/RMDS01A/tests/vliv_teploty/data.txt |
---|
0,0 → 1,3 |
20.0 143.0392 |
-3.0 143.0387 |
/Designs/Measuring_instruments/RMDS01A/tests/vliv_teploty/plot.gp |
---|
0,0 → 1,16 |
set terminal png |
set ylabel "LO Freq [MHz]" |
set xlabel "Temp [deg C]" |
set xrange [-20:40] |
set autoscale y |
set format y "%.5f" |
set key off |
set grid xtics mxtics ytics mytics back ls 12 ls 13 |
show grid |
f(x)= a*x + q |
fit f(x) "data.txt" using 1:2 via a,q |
set output "temp_calib.png" |
plot "data.txt" using 1:2 with points, f(x) |
/Designs/Measuring_instruments/RMDS01A/tests/vliv_teploty/temp_calib.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/Designs/Measuring_instruments/RMDS01A/PrjInfo.txt |
---|
0,0 → 1,16 |
[InfoShortDescription.en] |
Radio Meteor Detection Station |
[InfoShortDescription.cs] |
Stanice pro radiovou detekci meteorů |
[InfoLongDescription.en] |
MLAB set of modules which are used for radio detection of meteor trails. It can be upgraded by GPS time synchronization to determining meteoroids orbit from trails echo. |
[InfoLongDescription.cs] |
Set pro radiovou detekci meteorů. Může být použit pro základní měření četností, nebo rozšířen o časovou synchronizaci přes GPS k určení dráhy meteoru detekovaného na několika stanicích |
[End] |
/Designs/Measuring_instruments/RMDS01A/DOC/SRC/RMDS.en.pdf |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/Designs/Measuring_instruments/RMDS01A/DOC/SRC/RMDS.en.tex |
---|
0,0 → 1,131 |
\documentclass[12pt,a4paper,oneside]{article} |
\usepackage[colorlinks=true]{hyperref} |
\usepackage[utf8]{inputenc} |
\usepackage[english]{babel} |
\usepackage{graphicx} |
\usepackage{pdfpages} |
\textwidth 16cm \textheight 25cm |
\topmargin -1.3cm |
\oddsidemargin 0cm |
\pagestyle{empty} |
\begin{document} |
\title{SDR meteor detector} |
\author{Jakub Kákona, kaklik@mlab.cz } |
\maketitle |
\begin{abstract} |
Construction of software defined radio meteor detector with possibility of advanced signal processing. |
\end{abstract} |
\begin{figure} [htbp] |
\begin{center} |
\includegraphics [width=80mm] {./img/meteor_detector_station} |
\end{center} |
\end{figure} |
\begin{figure} [b] |
\includegraphics [width=25mm] {SDRX01B_QRcode.png} |
\end{figure} |
\newpage |
\tableofcontents |
\section{Technical parameters} |
\begin{table}[htbp] |
\begin{center} |
\begin{tabular}{|c|c|p{5cm}|} |
\hline |
\multicolumn{1}{|c|}{Parameter} & \multicolumn{1}{|c|}{Value} & \multicolumn{1}{|c|}{Note} \\ \hline |
Powering voltage for analogue part & $\pm$12V & 50mA \\ \hline |
Powering voltage for digital part & +5V & 300mA \\ \hline |
Bias of optional LNA & 9V & max 500mA (Fused by 750mA on board) \\ \hline |
Frequency range & 0,5 - 200 MHz & Usually working at GRAVES 143.05 MHz \\ \hline |
Gain & 90dB & Selectable by jumper and LNA configuration \\ \hline |
Self noise number & $<$ 30dB & \\ \hline |
\end{tabular} |
\end{center} |
\end{table} |
\newpage |
\section{Introduction} |
The detection of meteors by radio is most readily accomplished by a method known as "forward scatter". This technique usually exploits the existence of a VHF radio transmitter intended for some other purpose (such as historically analogue radio or TV broadcasting) and which is preferably situated some way beyond the optical horizon so that the direct signal does not desensitise the receiving equipment. The radio signal reflects mainly from the ionised meteor trail as it forms and dissipates, causing a brief signal to be heard on or close to the transmitter frequency. The trails form in the ionosphere (i.e., the upper atmosphere) at a height of about 100 $\pm$ 20 km. |
Direct reflection from the meteoroid itself is not so readily detected. Meteoroids are not necessarily reflective at radio frequencies, they are usually small (0.05 - 200mm) and they generally enter the ionosphere at supersonic velocities. Thus the direct signal is usually weak; and the initial Doppler shift is large, making it difficult to associate the signal with the transmitter. Sometimes however, a Doppler shifted signal is observed to slew onto or across the transmitter frequency at the beginning of the detection event. This is the reflection from the ball of plasma surrounding the meteoroid (as opposed to the trail left behind), and is known as the "head echo". |
The term "radar" is sometimes used to describe the forward scatter detection method. Note however, that 'radar' is an acronym for 'radio direction and ranging' and so, although distance and direction information can be extracted from data aggregated from an array of receivers, a single receiver installation does not constitute a radar system. A single receiver can only strictly report an estimate of the number of meteoroids which enter the ionosphere in the region illuminated by the chosen radio transmitter. Other interesting aspects of the meteor strike can be inferred from the recorded signals, but apparently obvious information, such as the relationship between signal strength and meteoroid mass is complicated by issues such as signal polarisation, trajectory and transmitter coverage. |
One advantage of radio detection is that it works when the sky is light or when the sky is dark but overcast. By choosing a sufficiently powerful host transmitter, it also possible to record meteors which are too faint for the human eye even in the darkest and clearest conditions. A figure of between 2 and 10 times as many meteors as can be seen by visual observation under ideal conditions is sometimes quoted; but this must depend on the transmitter power and radiation pattern. |
\section{Description of construction} |
This construction of radio meteor detector uses France GRAVES space-surveillance radar. The radar has transmitting power of several megawatts at frequency 143.05 MHz. |
\subsection{Antenna} |
The detector station usually uses modified ground plane antenna. Adjusted in angle of 30$^\circ$ to East this configuration seems to be optimal to detecting stations in the Czech Republic. |
\begin{figure} [htbp] |
\begin{center} |
\includegraphics [width=80mm] {./img/GP143MHz.JPG} |
\end{center} |
\caption{Antenna used at detection station} |
\end{figure} |
The received signal from antenna is amplified by specially constructed LNA. This step is needed for feeding the signal trough relative long (several metres) coax RG58. Construction of LNA01A is described on MLAB project site. |
\subsection{SDR receiver} |
The SDR receiver used is MLAB system SDRX01B direct sampling receiver. This receiver has ideal performance for UHF and lower band radioastronomy. So this receiver can be used even for radio meteor detection. |
\begin{figure} [htbp] |
\begin{center} |
\includegraphics [width=80mm] {./img/meteor-detector_receiver.JPG} |
\end{center} |
\caption{Example of meteor detector receiver setup} |
\end{figure} |
\begin{figure} [htbp] |
\begin{center} |
\includegraphics [width=150mm] {./img/zakladni_schema.png} |
\end{center} |
\caption{Schematic drawing of complete meteor detector} |
\end{figure} |
\subsection{Time synchronisation} |
Time synchronisation has crucial importance in any modern science measurement. There is possibility of using many synchronisation techniques. Such as NTP or GPS (see for our article at for our experiences) |
Suggested method for time synchronisation of a measuring station depends on level of desired information which would be obtained from meteor reflection event. |
For example: If we need hour count data only. We can use PC system time without any synchronisation. But if we have one more station and we would like to compare data with another stations then NTP syncing would be good choice. Highest level is trail parameters determination which need true radar signal processing and most precise time synchronisation which could be achieved by GPS receiver. |
\begin{figure}[htbp] |
\begin{center} |
\includegraphics [width=150mm] {./img/colorgram.png} |
\end{center} |
\caption{Example of measured hourly count of meteor showers} |
\end{figure} |
\section{Software setup} |
For simple PC based monitor station we are using SpectrumLab software with our configuration and detection script. |
Local oscillator of SDRX01B - usually CLKGEN01B with tuning controller PIC18F455001A can be set up from PC or can be programmed for fixed start up frequency. If fixed start up frequency is correctly saved the only step for tuning the LO is provide power trough USB cable from PC and then press the RESET button of tuning microcomputer module. After that the LO shout be tuned on saved start up frequency. This frequency can be changed by |
\begin{thebibliography}{99} |
\bibitem{DR2G}{Spectrum Lab} |
\href{http://www.qsl.net/dl4yhf/spectra1.html}{http://www.qsl.net/dl4yhf/spectra1.html} |
\bibitem{DR2G}{Radio Meteor Detection} |
\href{http://www.gb2nlo.org/index.php/articles/meteordet}{http://www.gb2nlo.org/index.php/articles/meteordet} |
\bibitem{DR2G}{Meteor distance parameters} |
\href{http://www.amsmeteors.org/richardson/distance.html}{http://www.amsmeteors.org/richardson/distance.html} |
\end{thebibliography} |
\end{document} |
/Designs/Measuring_instruments/RMDS01A/DOC/SRC/img/P1120671.JPG |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/Designs/Measuring_instruments/RMDS01A/DOC/SRC/img/meteor-detector_receiver.JPG |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/Designs/Measuring_instruments/RMDS01A/DOC/SRC/img/meteor_detector_station.JPG |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/Designs/Measuring_instruments/RMDS01A/DOC/SRC/img/GP143MHz.JPG |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/Designs/Measuring_instruments/RMDS01A/DOC/SRC/img/colorgram.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/Designs/Measuring_instruments/RMDS01A/DOC/SRC/img/meteor_shover.jpg |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/Designs/Measuring_instruments/RMDS01A/DOC/SRC/img/zakladni_schema.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/Designs/Measuring_instruments/RMDS01A/DOC/SRC/SDRX01B_QRcode.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/Designs/Measuring_instruments/RMDS01A/DOC/RMDS.en.pdf |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/Designs/Measuring_instruments/RMDS01A/meteor_detector_Small.JPG |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |