mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-08-27 01:42:41 -04:00
Report the total number of map65 decodes, and display in status bar.
This commit is contained in:
parent
23ca8f76c8
commit
bb756db817
@ -14,6 +14,7 @@ subroutine decode0(dd,ss,savg,nstandalone)
|
|||||||
mcall3,nkeep,ntol,nxant,nrxlog,nfsample,nxpol,nmode, &
|
mcall3,nkeep,ntol,nxant,nrxlog,nfsample,nxpol,nmode, &
|
||||||
nfast,nsave,max_drift,nhsym,mycall,mygrid,hiscall,hisgrid,datetime
|
nfast,nsave,max_drift,nhsym,mycall,mygrid,hiscall,hisgrid,datetime
|
||||||
common/early/nhsym1,nhsym2,ldecoded(32768)
|
common/early/nhsym1,nhsym2,ldecoded(32768)
|
||||||
|
common/decodes/ndecodes
|
||||||
data neme0/-99/,mcall3b/1/
|
data neme0/-99/,mcall3b/1/
|
||||||
save
|
save
|
||||||
|
|
||||||
@ -62,8 +63,8 @@ subroutine decode0(dd,ss,savg,nstandalone)
|
|||||||
call sec0(1,tdec)
|
call sec0(1,tdec)
|
||||||
if(nhsym.eq.nhsym1) write(*,1010) nsum,nsave,nstandalone,nhsym,tdec
|
if(nhsym.eq.nhsym1) write(*,1010) nsum,nsave,nstandalone,nhsym,tdec
|
||||||
1010 format('<EarlyFinished>',3i4,i6,f6.2)
|
1010 format('<EarlyFinished>',3i4,i6,f6.2)
|
||||||
if(nhsym.eq.nhsym2) write(*,1012) nsum,nsave,nstandalone,nhsym,tdec
|
if(nhsym.eq.nhsym2) write(*,1012) nsum,nsave,nstandalone,nhsym,tdec,ndecodes
|
||||||
1012 format('<DecodeFinished>',3i4,i6,f6.2)
|
1012 format('<DecodeFinished>',3i4,i6,f6.2,i5)
|
||||||
flush(6)
|
flush(6)
|
||||||
|
|
||||||
return
|
return
|
||||||
|
@ -34,12 +34,15 @@ subroutine map65a(dd,ss,savg,newdat,nutc,fcenter,ntol,idphi,nfa,nfb, &
|
|||||||
common/c3com/ mcall3a
|
common/c3com/ mcall3a
|
||||||
common/testcom/ifreq
|
common/testcom/ifreq
|
||||||
common/early/nhsym1,nhsym2,ldecoded(32768)
|
common/early/nhsym1,nhsym2,ldecoded(32768)
|
||||||
|
common/decodes/ndecodes
|
||||||
|
|
||||||
data blank/' '/,cm/'#'/
|
data blank/' '/,cm/'#'/
|
||||||
data shmsg0/'ATT','RO ','RRR','73 '/
|
data shmsg0/'ATT','RO ','RRR','73 '/
|
||||||
data nfile/0/,nutc0/-999/,nid/0/,ip000/1/,ip001/1/,mousefqso0/-999/
|
data nfile/0/,nutc0/-999/,nid/0/,ip000/1/,ip001/1/,mousefqso0/-999/
|
||||||
save
|
save
|
||||||
|
|
||||||
|
ndecodes=0
|
||||||
|
|
||||||
! Clean start for Q65 at early decode
|
! Clean start for Q65 at early decode
|
||||||
if(nhsym.eq.nhsym1 .or. nagain.ne.0) ldecoded=.false.
|
if(nhsym.eq.nhsym1 .or. nagain.ne.0) ldecoded=.false.
|
||||||
if(ndiskdat.eq.1) ldecoded=.false.
|
if(ndiskdat.eq.1) ldecoded=.false.
|
||||||
@ -499,6 +502,7 @@ subroutine map65a(dd,ss,savg,newdat,nutc,fcenter,ntol,idphi,nfa,nfb, &
|
|||||||
write(26,1014) f0,ndf,ndf0,ndf1,ndf2,dt,npol,nsync1, &
|
write(26,1014) f0,ndf,ndf0,ndf1,ndf2,dt,npol,nsync1, &
|
||||||
nsync2,nutc,decoded,cp,cmode
|
nsync2,nutc,decoded,cp,cmode
|
||||||
1014 format(f8.3,i5,3i3,f5.1,i4,i3,i4,i5.4,4x,a22,2x,a1,3x,a2)
|
1014 format(f8.3,i5,3i3,f5.1,i4,i3,i4,i5.4,4x,a22,2x,a1,3x,a2)
|
||||||
|
ndecodes=ndecodes+1
|
||||||
write(21,1100) f0,ndf,dt,npol,nsync2,nutc,decoded,cp, &
|
write(21,1100) f0,ndf,dt,npol,nsync2,nutc,decoded,cp, &
|
||||||
cmode(1:1),cmode(2:2)
|
cmode(1:1),cmode(2:2)
|
||||||
1100 format(f8.3,i5,f5.1,2i4,i5.4,2x,a22,2x,a1,3x,a1,1x,a1)
|
1100 format(f8.3,i5,f5.1,2i4,i5.4,2x,a22,2x,a1,3x,a1,1x,a1)
|
||||||
|
@ -35,6 +35,7 @@ subroutine q65b(nutc,nqd,nxant,fcenter,nfcal,nfsample,ikhz,mousedf,ntol,xpol, &
|
|||||||
character*1 cp,cmode*2
|
character*1 cp,cmode*2
|
||||||
common/cacb/ca,cb
|
common/cacb/ca,cb
|
||||||
common/early/nhsym1,nhsym2,ldecoded(32768)
|
common/early/nhsym1,nhsym2,ldecoded(32768)
|
||||||
|
common/decodes/ndecodes
|
||||||
data nutc00/-1/,msg00/' '/
|
data nutc00/-1/,msg00/' '/
|
||||||
save
|
save
|
||||||
|
|
||||||
@ -179,6 +180,7 @@ subroutine q65b(nutc,nqd,nxant,fcenter,nfcal,nfsample,ikhz,mousedf,ntol,xpol, &
|
|||||||
! to map65_rx.log
|
! to map65_rx.log
|
||||||
if(nutc.ne.nutc00 .or. msg0(1:28).ne.msg00 .or. freq1.ne.freq1_00) then
|
if(nutc.ne.nutc00 .or. msg0(1:28).ne.msg00 .or. freq1.ne.freq1_00) then
|
||||||
! Write to file map65_rx.log:
|
! Write to file map65_rx.log:
|
||||||
|
ndecodes=ndecodes+1
|
||||||
write(21,1110) freq1,ndf,xdt0,npol,nsnr0,nutc,msg0(1:28),cq0
|
write(21,1110) freq1,ndf,xdt0,npol,nsnr0,nutc,msg0(1:28),cq0
|
||||||
1110 format(f8.3,i5,f5.1,2i4,i5.4,2x,a28,': A',2x,a3)
|
1110 format(f8.3,i5,f5.1,2i4,i5.4,2x,a28,': A',2x,a3)
|
||||||
nutc00=nutc
|
nutc00=nutc
|
||||||
|
@ -1416,6 +1416,8 @@ void MainWindow::readFromStdout() //readFromStdout
|
|||||||
QFile lockFile(m_appDir + "/.lock");
|
QFile lockFile(m_appDir + "/.lock");
|
||||||
lockFile.open(QIODevice::ReadWrite);
|
lockFile.open(QIODevice::ReadWrite);
|
||||||
if(t.indexOf("<DecodeFinished>") >= 0) {
|
if(t.indexOf("<DecodeFinished>") >= 0) {
|
||||||
|
int ndecodes=t.mid(40,5).toInt();
|
||||||
|
lab5->setText(QString::number(ndecodes));
|
||||||
m_map65RxLog=0;
|
m_map65RxLog=0;
|
||||||
m_startAnother=m_loopall;
|
m_startAnother=m_loopall;
|
||||||
}
|
}
|
||||||
|
@ -194,7 +194,6 @@ private:
|
|||||||
qint32 m_RxState;
|
qint32 m_RxState;
|
||||||
qint32 m_dB;
|
qint32 m_dB;
|
||||||
|
|
||||||
|
|
||||||
double m_fAdd;
|
double m_fAdd;
|
||||||
// double m_IQamp;
|
// double m_IQamp;
|
||||||
// double m_IQphase;
|
// double m_IQphase;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user