Starting to implement acceptance of floating-point data from Linrad.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/map65@2446 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2011-09-28 16:56:18 +00:00
parent 9ddd654be6
commit 6829a081a9
2 changed files with 9 additions and 1 deletions

View File

@ -19,6 +19,7 @@ integer mcall3 !CALL3.TXT has been modified GUI,Decoder
integer mousebutton !Which button was clicked? GUI
integer multicast !1 for multicast data, 0 for unicast GUI
integer ndecdone !Is decoder finished? GUI,Decoder
integer nfloat !Floating-point data from Linrad? GUI
integer ierr !Error opening *.tf2 file GUI
integer lauto !Are we in Auto mode? GUI
integer mantx !Manual transmission requested? GUI,SoundIn
@ -107,7 +108,7 @@ character*8 utcdata !HHMM UTC for the processed data Decoder
common/gcom2/fcenter,ps0(431),psavg(450),s2(64,3100),ccf(-5:540), &
green(500),fselect,pctlost,pctblank,rxnoise,dphi,ngreen,dgain, &
ndecoding,ndecoding0,mcall3,mousebutton,multicast,nsetftx,ierr, &
ndecdone,lauto,mantx,nrestart,ntr,nmsg,nsave,nadd5, &
ndecdone,nfloat,lauto,mantx,nrestart,ntr,nmsg,nsave,nadd5, &
dftolerance,LDecoded,rxdone,monitoring,nzap,minsigdb, &
nclearave,nfreeze,nafc,ncsmin,newspec,nfa,nfb,nfcal,idphi,nkeep, &
nmode,mode65,nbpp,ndebug,ndphi,nhispol,nt1,nxant, &

View File

@ -59,6 +59,8 @@ bm_geom=""
bm2_geom=""
cmap0="Linrad"
fileopened=""
floatpt=IntVar()
floatpt.set(0)
font1='Helvetica'
fqso0=125
hiscall=""
@ -1307,6 +1309,7 @@ def update():
Audio.gcom2.neme=neme.get()
Audio.gcom2.ndepth=ndepth.get()
Audio.gcom2.multicast=multicast.get()
Audio.gcom2.nfloat=floatpt.get()
Audio.gcom2.nxant=options.xant.get()
try:
Audio.gcom2.idinterval=options.IDinterval.get()
@ -1405,6 +1408,8 @@ setupmenu.add_radiobutton(label = 'Input data multicast', variable=multicast, \
setupmenu.add_radiobutton(label = 'Input data unicast', variable=multicast, \
value=0)
setupmenu.add_separator()
setupmenu.add_checkbutton(label = 'Floating point data', variable=floatpt)
setupmenu.add_separator()
setupmenu.add_checkbutton(label = 'Enable diagnostics',variable=ndebug)
setupmenu.add_checkbutton(label = 'Verbose diagnostics',variable=ndebug2)
@ -1879,6 +1884,7 @@ try:
elif key == 'Multicast': multicast.set(value)
elif key == 'Debug': ndebug.set(value)
elif key == 'Debug2': ndebug2.set(value)
elif key == 'FloatPt': floatpt.set(value)
elif key == 'HisCall':
Audio.gcom2.hiscall=(value+' ')[:12]
ToRadio.delete(0,99)
@ -1976,6 +1982,7 @@ f.write("NDepth " + str(ndepth.get()) + "\n")
f.write("Multicast " + str(multicast.get()) + "\n")
f.write("Debug " + str(ndebug.get()) + "\n")
f.write("Debug2 " + str(ndebug2.get()) + "\n")
f.write("FloatPt " + str(floatpt.get()) + "\n")
mrudir2=mrudir.replace(" ","#")
f.write("MRUDir " + mrudir2 + "\n")
if g.astro_geom[:7]=="200x200": g.astro_geom="316x373" + g.astro_geom[7:]