mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-19 18:42:06 -05:00
Display Tx pol advice with quick decode, rather than waiting until
after the wideband decode. If fQSO changes, set Tol=500. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/map65@565 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
9d9242b4c6
commit
b637dc9198
39
map65.py
39
map65.py
@ -57,6 +57,7 @@ bm2_geom=""
|
|||||||
cmap0="Linrad"
|
cmap0="Linrad"
|
||||||
fileopened=""
|
fileopened=""
|
||||||
font1='Helvetica'
|
font1='Helvetica'
|
||||||
|
fqso0=125
|
||||||
hiscall=""
|
hiscall=""
|
||||||
hisgrid=""
|
hisgrid=""
|
||||||
hisgrid0=""
|
hisgrid0=""
|
||||||
@ -952,7 +953,7 @@ def GenAltMsgs(event=NONE):
|
|||||||
def update():
|
def update():
|
||||||
global root_geom,isec0,naz,nel,ndmiles,ndkm,nopen,kxp0, \
|
global root_geom,isec0,naz,nel,ndmiles,ndkm,nopen,kxp0, \
|
||||||
im,pim,cmap0,isync,isync_save,idsec,first,itol,txsnrdb,tx6alt,\
|
im,pim,cmap0,isync,isync_save,idsec,first,itol,txsnrdb,tx6alt,\
|
||||||
bm_geom,bm2_geom,hisgrid0
|
bm_geom,bm2_geom,hisgrid0,fqso0
|
||||||
|
|
||||||
utc=time.gmtime(time.time()+0.1*idsec)
|
utc=time.gmtime(time.time()+0.1*idsec)
|
||||||
isec=utc[5]
|
isec=utc[5]
|
||||||
@ -999,20 +1000,11 @@ def update():
|
|||||||
if len(HisGrid.get().strip())<4:
|
if len(HisGrid.get().strip())<4:
|
||||||
g.ndop=g.ndop00
|
g.ndop=g.ndop00
|
||||||
g.dfdt=g.dfdt0
|
g.dfdt=g.dfdt0
|
||||||
if hisgrid != hisgrid0:
|
|
||||||
msg6.configure(text=" ",bg='gray85')
|
if (len(HisGrid.get().strip())<4) or (hisgrid != hisgrid0):
|
||||||
hisgrid0=hisgrid
|
msg6.configure(text=" ",bg='gray85')
|
||||||
Audio.gcom2.nhispol=-999
|
hisgrid0=hisgrid
|
||||||
if Audio.gcom2.nhispol != -999:
|
Audio.gcom2.nhispol=-999
|
||||||
txpol=(int(Audio.gcom2.nhispol) - 2*g.poloffset + 360) % 180
|
|
||||||
t="Tx pol: %d " % txpol
|
|
||||||
if txpol < 45 or txpol > 135:
|
|
||||||
t=t + 'H'
|
|
||||||
color='pink'
|
|
||||||
else:
|
|
||||||
t=t + 'V'
|
|
||||||
color='yellow'
|
|
||||||
msg6.configure(text=t,bg=color)
|
|
||||||
|
|
||||||
astrotext.delete(1.0,END)
|
astrotext.delete(1.0,END)
|
||||||
astrotext.insert(END,' Moon\n')
|
astrotext.insert(END,' Moon\n')
|
||||||
@ -1065,6 +1057,11 @@ def update():
|
|||||||
msg2.configure(text=t)
|
msg2.configure(text=t)
|
||||||
t="QSO DF:%4d" % (int(Audio.gcom2.mousedf),)
|
t="QSO DF:%4d" % (int(Audio.gcom2.mousedf),)
|
||||||
msg3.configure(text=t)
|
msg3.configure(text=t)
|
||||||
|
if int(Audio.gcom2.mousefqso) != fqso0:
|
||||||
|
itol=5
|
||||||
|
ltol.configure(text='Tol '+str(500))
|
||||||
|
Audio.gcom2.dftolerance=500
|
||||||
|
fqso0=int(Audio.gcom2.mousefqso)
|
||||||
|
|
||||||
if mode.get()[:4]=='JT65' and (Audio.gcom2.ndecoding>0 or \
|
if mode.get()[:4]=='JT65' and (Audio.gcom2.ndecoding>0 or \
|
||||||
(isec>45 and txminute==0 and Audio.gcom2.monitoring==1 and \
|
(isec>45 and txminute==0 and Audio.gcom2.monitoring==1 and \
|
||||||
@ -1133,6 +1130,18 @@ def update():
|
|||||||
text.insert(END,lines[i])
|
text.insert(END,lines[i])
|
||||||
text.see(END)
|
text.see(END)
|
||||||
g.ndecphase=1
|
g.ndecphase=1
|
||||||
|
|
||||||
|
if Audio.gcom2.nhispol != -999:
|
||||||
|
txpol=(int(Audio.gcom2.nhispol) - 2*g.poloffset + 360) % 180
|
||||||
|
t="Tx pol: %d " % txpol
|
||||||
|
if txpol < 45 or txpol > 135:
|
||||||
|
t=t + 'H'
|
||||||
|
color='pink'
|
||||||
|
else:
|
||||||
|
t=t + 'V'
|
||||||
|
color='yellow'
|
||||||
|
msg6.configure(text=t,bg=color)
|
||||||
|
|
||||||
# text.configure(state=DISABLED)
|
# text.configure(state=DISABLED)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user