Decode command ignored (with yellow warning) after t=45s when monitoring.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/map65@2451 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2011-09-29 15:45:33 +00:00
parent 10a621ee06
commit 4f7255aafa

View File

@ -95,6 +95,7 @@ nosh441=IntVar()
noshjt65=IntVar() noshjt65=IntVar()
setseq=IntVar() setseq=IntVar()
tx6alt="" tx6alt=""
txminute=0
txsnrdb=99. txsnrdb=99.
TxFirst=IntVar() TxFirst=IntVar()
worked={} worked={}
@ -348,11 +349,16 @@ def textkey(event=NONE):
#------------------------------------------------------ decode #------------------------------------------------------ decode
def decode(event=NONE): def decode(event=NONE):
if Audio.gcom2.ndecoding==0: #If already busy, ignore request if Audio.gcom2.ndecoding==0: #If already busy, ignore request
Audio.gcom2.nagain=1 if isec0>=45 and txminute==0 and Audio.gcom2.monitoring==1 and \
n=1 Audio.datcom.kkdone!=-99 and Audio.gcom2.ndiskdat!=1:
Audio.gcom2.mousebutton=0 bc='yellow'
if Audio.gcom2.ndecoding0==4: n=4 bdecode.configure(bg=bc,activebackground=bc,state=DISABLED)
Audio.gcom2.ndecoding=n #Standard decode, full file (d2a) else:
Audio.gcom2.nagain=1
n=1
Audio.gcom2.mousebutton=0
if Audio.gcom2.ndecoding0==4: n=4
Audio.gcom2.ndecoding=n #Standard decode, full file (d2a)
#------------------------------------------------------ decode_include #------------------------------------------------------ decode_include
def decode_include(event=NONE): def decode_include(event=NONE):
@ -982,7 +988,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,fqso0,isec00,worked bm_geom,bm2_geom,hisgrid0,fqso0,isec00,worked,txminute
utc=time.gmtime(time.time()+0.1*idsec) utc=time.gmtime(time.time()+0.1*idsec)
isec=utc[5] isec=utc[5]